
From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May  1 08:51:04 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F3DFA129409 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  1 May 2017 08:51:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level:
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dvB2T9YhUOVP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  1 May 2017 08:51:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CB4CF1294AC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  1 May 2017 08:49:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d5DW4-0005jc-J4 for ietf-http-wg-dist@listhub.w3.org; Mon, 01 May 2017 15:45:36 +0000
Resent-Date: Mon, 01 May 2017 15:45:36 +0000
Resent-Message-Id: <E1d5DW4-0005jc-J4@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <rousskov@measurement-factory.com>) id 1d5DVz-00055r-97 for ietf-http-wg@listhub.w3.org; Mon, 01 May 2017 15:45:31 +0000
Received: from mail.measurement-factory.com ([104.237.131.42]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <rousskov@measurement-factory.com>) id 1d5DVr-0007hA-M2 for ietf-http-wg@w3.org; Mon, 01 May 2017 15:45:25 +0000
Received: from [65.102.233.169] (unknown [65.102.233.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.measurement-factory.com (Postfix) with ESMTPSA id E2214E02F for <ietf-http-wg@w3.org>; Mon,  1 May 2017 15:45:00 +0000 (UTC)
To: HTTP working group mailing list <ietf-http-wg@w3.org>
References: <f641382a-f48a-3c48-df90-a385e78de949@measurement-factory.com> <4220.1493487942@critter.freebsd.dk> <22726a23-fa30-8c36-833e-8c75a474a18f@measurement-factory.com> <6849.1493538499@critter.freebsd.dk> <45136a00-8550-a6f8-640d-7d5d2a6a12b1@measurement-factory.com> <8399.1493578212@critter.freebsd.dk>
From: Alex Rousskov <rousskov@measurement-factory.com>
Message-ID: <59f3d7c9-ecbc-6f32-0bad-985095f80bba@measurement-factory.com>
Date: Mon, 1 May 2017 09:44:59 -0600
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <8399.1493578212@critter.freebsd.dk>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=104.237.131.42; envelope-from=rousskov@measurement-factory.com; helo=mail.measurement-factory.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: AWL=-0.249, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d5DVr-0007hA-M2 5100262d89e3ced1e12a198dcb152ba6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: identifier in draft-ietf-httpbis-header-structure-01.txt
Archived-At: <http://www.w3.org/mid/59f3d7c9-ecbc-6f32-0bad-985095f80bba@measurement-factory.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33851
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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/30/2017 12:50 PM, Poul-Henning Kamp wrote:
>>> Header Structure is not a syntactical specification, 

>> You have fooled several people into thinking that the draft specifies
>> syntax rules (among other things). 
>> [...]
>> IMHO, you have to decide where to stop:

> Exactly!

We may be talking past each other: You are discussing whether defining a
sequence of named dictionaries (in addition to the sequence building
blocks) is a good idea. I am discussing ambiguous grammar used to define
those building blocks. Both problems/questions are important and
answering one does not answer the other.


> The only syntax ("parser level") rule is "The data model of Common
> Structure is an ordered sequence of named dictionaries."

Perhaps our "parser" and "syntax" definitions differ, but the draft has
many other syntax ("parser level") rules IMO. The rule you cite as the
only one, is a parser-level rule only if it is based on syntax rules
that allow the parser (including the lexer/tokenizer, if any) to extract
the building blocks like "identifiers", "numbers", and "integers". I was
talking about needless ambiguity in that extraction.


> Maybe it should stop instead at the "lexical" level, and only define
> a family of "tokens", and leave it to the individual header-specifying
> documents to define their precise order?

A. If the goal is defining as many existing fields using as few rules as
possible, then forcing all fields into h1-common-structure is probably
the right approach. I do not think this should be the goal though (more
on that below), and having One Rule For All is irrelevant when it comes
to writing efficient HTTP parsers: If I want efficiency, I am not going
to define Date NG as a list of ambiguous elements!

B. If the goal is limiting needless token inventions while allowing
efficient parser designs, then h1-common-structure (as defined now) is
irrelevant and we should focus on a small set of unambiguous elements
(i.e., defining and optimizing syntactical vocabulary).

IMHO, goal A is invalid as stated. We should not pursue it! Instead, we
should turn it inside out and use h1-common-structure not as a rigid
structure for all future fields, but as an "understanding tool" of past
ones. Yes, we can describe many old fields (and many future ones!), as
h1-common-structure, and that insight _is_ important, but it is not that
useful for building efficient production parsers and defining new fields
(that can be efficiently parsed and correctly interpreted).

After we define a small set of unambiguous elements (goal B) for
building field grammars and define popular fields using our elements, we
can still limit needless structure inventions by adopting something like
the following (unpolished!) rules for any future field grammar:

* MUST be unambiguous
* MUST use flat comma-separated lists for any repetition
* SHOULD be derived from the grammar elements defined in the draft
* SHOULD avoid repetition
* SHOULD reuse one of the existing field grammars

As an HTTP agent developer, I do not really care much if a new field I
need to interpret uses one of the N supported field grammars or adds an
N+1st one: It is easy for me to add efficient support for another
(draft-compliant!) field grammar to my software because all the building
blocks are there, and I naturally have to add code to store that field
parsed/interpreted value anyway.

In summary: Keep something like h1-common-structure as an insight but
remove it from the syntax-level rules. The syntax level rules in the
draft should not attempt to unify everything under One Rule but provide
excellent building blocks for handling past and future fields. N good
rules is much better than one unusable rule! For future fields, focus on
unambiguous/efficient/correct parsing/interpretation, using new
constructs (like the inverted ">...<" bracketing you invented) as needed.


Cheers,

Alex.



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May  1 09:23:25 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 59C05129C31 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  1 May 2017 09:23:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xw4T3KTPkg_9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  1 May 2017 09:23:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 063CD129AAA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  1 May 2017 09:20:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d5E1p-0001Qp-91 for ietf-http-wg-dist@listhub.w3.org; Mon, 01 May 2017 16:18:25 +0000
Resent-Date: Mon, 01 May 2017 16:18:25 +0000
Resent-Message-Id: <E1d5E1p-0001Qp-91@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <phk@phk.freebsd.dk>) id 1d5E1l-0001Py-7m for ietf-http-wg@listhub.w3.org; Mon, 01 May 2017 16:18:21 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <phk@phk.freebsd.dk>) id 1d5E1e-0000Lo-Tr for ietf-http-wg@w3.org; Mon, 01 May 2017 16:18:16 +0000
Received: from critter.freebsd.dk (unknown [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id 4AC19273EA; Mon,  1 May 2017 16:17:52 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTP id v41GHotk012182; Mon, 1 May 2017 16:17:51 GMT (envelope-from phk@phk.freebsd.dk)
To: Alex Rousskov <rousskov@measurement-factory.com>
cc: HTTP working group mailing list <ietf-http-wg@w3.org>
In-reply-to: <59f3d7c9-ecbc-6f32-0bad-985095f80bba@measurement-factory.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
References: <f641382a-f48a-3c48-df90-a385e78de949@measurement-factory.com> <4220.1493487942@critter.freebsd.dk> <22726a23-fa30-8c36-833e-8c75a474a18f@measurement-factory.com> <6849.1493538499@critter.freebsd.dk> <45136a00-8550-a6f8-640d-7d5d2a6a12b1@measurement-factory.com> <8399.1493578212@critter.freebsd.dk> <59f3d7c9-ecbc-6f32-0bad-985095f80bba@measurement-factory.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <12180.1493655470.1@critter.freebsd.dk>
Content-Transfer-Encoding: quoted-printable
Date: Mon, 01 May 2017 16:17:50 +0000
Message-ID: <12181.1493655470@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=-5.3
X-W3C-Hub-Spam-Report: AWL=-1.371, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d5E1e-0000Lo-Tr 1fd00b59ff0bd7ceeccf6a6fe522294f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: identifier in draft-ietf-httpbis-header-structure-01.txt
Archived-At: <http://www.w3.org/mid/12181.1493655470@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33852
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 <59f3d7c9-ecbc-6f32-0bad-985095f80bba@measurement-factory.com>,=
 Alex Rousskov writes:

>We may be talking past each other

I think we are.

>A. If the goal is [...]

To be brutally honest, it has never been entirely clear what the goal
of this document is :-)

It came into existence after attempts to fit almost-but-not-quite-JSON
into HTTP headers, because I had a trainride from Stockholm to
Copenhagen and Mark had given me the idea to find out what kind of
structure our existing headers actually fit into.

Because of the JSON heritage, I approached it as "can we synthesize
a format which will allow us to move the same data as JSON could have
moved, and the draft as currently written (still) reflects this, despite
active lack of enthusiasm for this aspect in the WG.

As a beneficial side-effect, a HPACK2 which could semantically compress
headers more efficiently than HPACK might be possible.

> [...] and we should focus on a small set of unambiguous elements [...]

That is simply not possible for existing headers.

Current header definitions make 3.14159265 a valid "token":

   tchar =3D "!" / "#" / "$" / "%" / "&" / "'" / "*" / "+" / "-" / "." /
    "^" / "_" / "`" / "|" / "~" / DIGIT / ALPHA

   token =3D 1*tchar

So there is no way to tell what you have when you encounter that,
unless you know which header you are in and where in that header
you are.

What we can do is make it easier to get from the definition of
the header to code which can parse it, or at least check its
validity.

And those (machine-readable!) definitions could still be used to
produce a semantic compressor (HPACK2 or whatever).

-- =

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+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May  1 10:11:36 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E42C212944C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  1 May 2017 10:11:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.003
X-Spam-Level:
X-Spam-Status: No, score=-5.003 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hu2G8Qg4C5ZG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  1 May 2017 10:11:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AA691129ADE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  1 May 2017 10:08:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d5Ejj-0004HI-Sh for ietf-http-wg-dist@listhub.w3.org; Mon, 01 May 2017 17:03:47 +0000
Resent-Date: Mon, 01 May 2017 17:03:47 +0000
Resent-Message-Id: <E1d5Ejj-0004HI-Sh@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <rousskov@measurement-factory.com>) id 1d5Ejh-0004GX-Ct for ietf-http-wg@listhub.w3.org; Mon, 01 May 2017 17:03:45 +0000
Received: from mail.measurement-factory.com ([104.237.131.42]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <rousskov@measurement-factory.com>) id 1d5Ejb-0001c7-5Z for ietf-http-wg@w3.org; Mon, 01 May 2017 17:03:40 +0000
Received: from [65.102.233.169] (unknown [65.102.233.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.measurement-factory.com (Postfix) with ESMTPSA id 08369E02F for <ietf-http-wg@w3.org>; Mon,  1 May 2017 17:03:15 +0000 (UTC)
References: <f641382a-f48a-3c48-df90-a385e78de949@measurement-factory.com> <4220.1493487942@critter.freebsd.dk> <22726a23-fa30-8c36-833e-8c75a474a18f@measurement-factory.com> <6849.1493538499@critter.freebsd.dk> <45136a00-8550-a6f8-640d-7d5d2a6a12b1@measurement-factory.com> <8399.1493578212@critter.freebsd.dk> <59f3d7c9-ecbc-6f32-0bad-985095f80bba@measurement-factory.com> <12181.1493655470@critter.freebsd.dk>
From: Alex Rousskov <rousskov@measurement-factory.com>
To: HTTP working group mailing list <ietf-http-wg@w3.org>
Message-ID: <a72ec50c-a19d-37ae-be82-a37d6977cbf6@measurement-factory.com>
Date: Mon, 1 May 2017 11:03:15 -0600
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <12181.1493655470@critter.freebsd.dk>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=104.237.131.42; envelope-from=rousskov@measurement-factory.com; helo=mail.measurement-factory.com
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-0.234, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d5Ejb-0001c7-5Z 1e46a9b691bae47d3451b26d942f683f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: identifier in draft-ietf-httpbis-header-structure-01.txt
Archived-At: <http://www.w3.org/mid/a72ec50c-a19d-37ae-be82-a37d6977cbf6@measurement-factory.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33853
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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/01/2017 10:17 AM, Poul-Henning Kamp wrote:

> To be brutally honest, it has never been entirely clear what the goal
> of this document is :-)

I applaud your honesty, but since this is a WG draft now, the lack of a
clear goal is no longer your personal fault :-). I hope we can fix that
flaw before it becomes fatal.



>> [...] and we should focus on a small set of unambiguous elements [...]

> That is simply not possible for existing headers.

Can we define all existing headers using a small set of unambiguous
elements? Probably not, but that should not be our goal. We only need to
cover common usage of common fields plus (nearly) all future ones.


> Current header definitions make 3.14159265 a valid "token":

Yes, but _we_ do not have to define 3.14159265 as both "number" and
"identifier". AFAICT, we can define it as "number" only, excluding
tokens that start with [-]DIGIT from our "identifier" definition.
Ambiguity problem solved! This works for both parsers and generators.


> So there is no way to tell what you have when you encounter that,
> unless you know which header you are in and where in that header
> you are.

There is a way to tell for all the important use cases AFAICT.

Yes, if I am building a generic parser that wants to understand senders
intent in _all_ legacy cases, then my parse tree cannot use some of the
draft elements "as is", but since understanding senders intent in all
cases is an unsolvable problem in legacy HTTP, we should not focus on
that esoteric use case too much!

A generic parser that might confuse a number with identifier is possible
to build for legacy HTTP while perfect parsers are possible for new
>fields<, and that is good enough. Same for generators.


HTH,

Alex.



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May  1 10:48:41 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 113191296CD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  1 May 2017 10:48:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wdGc04lGeRTM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  1 May 2017 10:48:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E8C5D12EAD5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  1 May 2017 10:45:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d5FLD-0001wf-IW for ietf-http-wg-dist@listhub.w3.org; Mon, 01 May 2017 17:42:31 +0000
Resent-Date: Mon, 01 May 2017 17:42:31 +0000
Resent-Message-Id: <E1d5FLD-0001wf-IW@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <phk@phk.freebsd.dk>) id 1d5FLA-0001vp-5I for ietf-http-wg@listhub.w3.org; Mon, 01 May 2017 17:42:28 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <phk@phk.freebsd.dk>) id 1d5FL3-00032q-Sh for ietf-http-wg@w3.org; Mon, 01 May 2017 17:42:22 +0000
Received: from critter.freebsd.dk (unknown [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id 78510273DA; Mon,  1 May 2017 17:41:59 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTP id v41HfwZL012559; Mon, 1 May 2017 17:41:59 GMT (envelope-from phk@phk.freebsd.dk)
To: Alex Rousskov <rousskov@measurement-factory.com>
cc: HTTP working group mailing list <ietf-http-wg@w3.org>
In-reply-to: <a72ec50c-a19d-37ae-be82-a37d6977cbf6@measurement-factory.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
References: <f641382a-f48a-3c48-df90-a385e78de949@measurement-factory.com> <4220.1493487942@critter.freebsd.dk> <22726a23-fa30-8c36-833e-8c75a474a18f@measurement-factory.com> <6849.1493538499@critter.freebsd.dk> <45136a00-8550-a6f8-640d-7d5d2a6a12b1@measurement-factory.com> <8399.1493578212@critter.freebsd.dk> <59f3d7c9-ecbc-6f32-0bad-985095f80bba@measurement-factory.com> <12181.1493655470@critter.freebsd.dk> <a72ec50c-a19d-37ae-be82-a37d6977cbf6@measurement-factory.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <12557.1493660518.1@critter.freebsd.dk>
Content-Transfer-Encoding: quoted-printable
Date: Mon, 01 May 2017 17:41:58 +0000
Message-ID: <12558.1493660518@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=-5.3
X-W3C-Hub-Spam-Report: AWL=-1.368, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d5FL3-00032q-Sh 1e2888ef522cc2f6f61a2ea86f742ae3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: identifier in draft-ietf-httpbis-header-structure-01.txt
Archived-At: <http://www.w3.org/mid/12558.1493660518@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33854
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 <a72ec50c-a19d-37ae-be82-a37d6977cbf6@measurement-factory.com>,=
 Alex Rousskov writes:

>>> [...] and we should focus on a small set of unambiguous elements [...]
>
>> That is simply not possible for existing headers.
>
>Can we define all existing headers using a small set of unambiguous
>elements? Probably not, but that should not be our goal. We only need to
>cover common usage of common fields plus (nearly) all future ones.

We can come very close, but you will always need to know what
header you are parsing to know how to parse it.

This is the "bespoke parsers" the draft talks about.

It would be a giant leap forward, if we could respecify the
existing headers in a format which would allow those parsers
to be machine generated directly from the spec.  (See strawman
in my first reply to you)

>> Current header definitions make 3.14159265 a valid "token":
>
>Yes, but _we_ do not have to define 3.14159265 as both "number" and
>"identifier".

For future headers:  Absolutely.

For existing headers: No, we don't get to narrow their definition
that way.

>Yes, if I am building a generic parser that wants to understand senders
>intent in _all_ legacy cases, then my parse tree cannot use some of the
>draft elements "as is", but since understanding senders intent in all
>cases is an unsolvable problem in legacy HTTP, we should not focus on
>that esoteric use case too much!

I don't think it is unsolveable, after all, the current headers have
ABNF definitions and they may be flawed, but they are not random.

And if we want decent compression from a semantic(ally informed)
HPACK2/QUIC/whatever serializerers, they, ipso facto, has to start
with a generic parser for the most common headers to be worth
the effort.

>A generic parser that might confuse a number with identifier is possible
>to build for legacy HTTP while perfect parsers are possible for new
>>fields<, and that is good enough. Same for generators.

Well, that really depends on what the goal is, doesn't it ?  :-)

And yes, I'm open for input on 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+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May  1 12:07:18 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7360012EAE7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  1 May 2017 12:07:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qGGIUAEHatUk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  1 May 2017 12:07:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E51A512EB1A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  1 May 2017 12:02:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d5GY1-0006dD-5B for ietf-http-wg-dist@listhub.w3.org; Mon, 01 May 2017 18:59:49 +0000
Resent-Date: Mon, 01 May 2017 18:59:49 +0000
Resent-Message-Id: <E1d5GY1-0006dD-5B@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <internet-drafts@ietf.org>) id 1d5GXy-0006aa-3I for ietf-http-wg@listhub.w3.org; Mon, 01 May 2017 18:59:46 +0000
Received: from mail.ietf.org ([4.31.198.44]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <internet-drafts@ietf.org>) id 1d5GXr-0005VO-Jz for ietf-http-wg@w3.org; Mon, 01 May 2017 18:59:40 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id ED83412EA5A; Mon,  1 May 2017 11:59:12 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.50.0
Auto-Submitted: auto-generated
Message-ID: <149366515291.9868.8356194851730092390@ietfa.amsl.com>
Date: Mon, 01 May 2017 11:59:12 -0700
Received-SPF: pass client-ip=4.31.198.44; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-6.2
X-W3C-Hub-Spam-Report: AWL=0.050, BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d5GXr-0005VO-Jz 34b58510598d3a5d4f6c9467fc5f3810
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-immutable-02.txt
Archived-At: <http://www.w3.org/mid/149366515291.9868.8356194851730092390@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33855
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 directories.
This draft is a work item of the Hypertext Transfer Protocol of the IETF.

        Title           : HTTP Immutable Responses
        Author          : Patrick McManus
	Filename        : draft-ietf-httpbis-immutable-02.txt
	Pages           : 5
	Date            : 2017-05-01

Abstract:
   The immutable HTTP response Cache-Control extension allows servers to
   identify resources that will not be updated during their freshness
   lifetime.  This assures that a client never needs to revalidate a
   cached fresh resource to be certain it has not been modified.


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

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-httpbis-immutable-02
https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-immutable-02

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-httpbis-immutable-02


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

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



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May  1 13:56:04 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D8BDC12943D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  1 May 2017 13:56:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZaF0HRGqA-W0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  1 May 2017 13:56:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 58C321292F5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  1 May 2017 13:53:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d5IGu-0002nW-0F for ietf-http-wg-dist@listhub.w3.org; Mon, 01 May 2017 20:50:16 +0000
Resent-Date: Mon, 01 May 2017 20:50:16 +0000
Resent-Message-Id: <E1d5IGu-0002nW-0F@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <rousskov@measurement-factory.com>) id 1d5IGq-0002l0-9a for ietf-http-wg@listhub.w3.org; Mon, 01 May 2017 20:50:12 +0000
Received: from mail.measurement-factory.com ([104.237.131.42]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <rousskov@measurement-factory.com>) id 1d5IGj-0000s5-Dl for ietf-http-wg@w3.org; Mon, 01 May 2017 20:50:07 +0000
Received: from [65.102.233.169] (unknown [65.102.233.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.measurement-factory.com (Postfix) with ESMTPSA id 8F49DE02F for <ietf-http-wg@w3.org>; Mon,  1 May 2017 20:49:42 +0000 (UTC)
References: <f641382a-f48a-3c48-df90-a385e78de949@measurement-factory.com> <4220.1493487942@critter.freebsd.dk> <22726a23-fa30-8c36-833e-8c75a474a18f@measurement-factory.com> <6849.1493538499@critter.freebsd.dk> <45136a00-8550-a6f8-640d-7d5d2a6a12b1@measurement-factory.com> <8399.1493578212@critter.freebsd.dk> <59f3d7c9-ecbc-6f32-0bad-985095f80bba@measurement-factory.com> <12181.1493655470@critter.freebsd.dk> <a72ec50c-a19d-37ae-be82-a37d6977cbf6@measurement-factory.com> <12558.1493660518@critter.freebsd.dk>
From: Alex Rousskov <rousskov@measurement-factory.com>
To: HTTP working group mailing list <ietf-http-wg@w3.org>
Message-ID: <80607bb9-4e60-b4a3-c709-7c876556fff6@measurement-factory.com>
Date: Mon, 1 May 2017 14:49:42 -0600
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <12558.1493660518@critter.freebsd.dk>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=104.237.131.42; envelope-from=rousskov@measurement-factory.com; helo=mail.measurement-factory.com
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-0.221, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d5IGj-0000s5-Dl debc786feda38674f3ca52446d58a5b6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: identifier in draft-ietf-httpbis-header-structure-01.txt
Archived-At: <http://www.w3.org/mid/80607bb9-4e60-b4a3-c709-7c876556fff6@measurement-factory.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33856
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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/01/2017 11:41 AM, Poul-Henning Kamp wrote:
> Alex Rousskov writes:
>>>> [...] and we should focus on a small set of unambiguous elements [...]

>>> That is simply not possible for existing headers.

>> Can we define all existing headers using a small set of unambiguous
>> elements? Probably not, but that should not be our goal. We only need to
>> cover common usage of common fields plus (nearly) all future ones.

> We can come very close, but you will always need to know what
> header you are parsing to know how to parse it.
> 
> This is the "bespoke parsers" the draft talks about.

It is not an all-or-nothing choice. For example, if the draft grammar is
good enough, I can write an efficient generic key=value parser that
handles arbitrary key=value pairs and then reuse that general parser in
20 bespoke field parsers "as is", without letting it know which field is
being parsed. Will that approach cover all legacy headers? No. However,
it may cover the vast majority of the headers my agent needs.

On the other hand, if the draft grammar is not good enough, then I will
not be able to create and reuse an efficient generic key=value parser
(without redefining the grammar so that it becomes usable for that
purpose) and may end up with either a slow "everything is a token"
generic parser or end up with 20 bespoke field parsers, each parsing its
own key=value flavor. Neither is terrible, but we should be able to do
better.

Also, if the grammar says that everything that looks like a number is a
number and nothing else is, then I _can_ correctly (and efficiently!)
parse a number field without knowing that it is a number field. Will I
occasionally parse an extension field as a number while the sender was
sending what is an identifier to her? Yes! Should the draft care about
such rare cases that hurt nobody? No, it should not (as long as those
cases are indeed rare and hurt nobody).


> It would be a giant leap forward, if we could respecify the
> existing headers in a format which would allow those parsers
> to be machine generated directly from the spec.

I still think it is possible to define a grammar like that. Side note: I
do not think we should limit ourselves to grammars that some existing
parser generator tool(s) can grok without any human involvement. That
100% automation goal is likely to limit a human-friendly grammar too
much, making it less useful in practice.


>>> Current header definitions make 3.14159265 a valid "token":
>>
>> Yes, but _we_ do not have to define 3.14159265 as both "number" and
>> "identifier".

> For existing headers: No, we don't get to narrow their definition
> that way.

Why not?! For example, I do not understand why you insist that the draft
cannot write

  "q=" number

when defining an Accept field _and_ exclude "number" from "identifier".
I do not see why doing something like that will break or prohibit
something _important_. Please give an example of such breakage.


>> Yes, if I am building a generic parser that wants to understand senders
>> intent in _all_ legacy cases, then my parse tree cannot use some of the
>> draft elements "as is", but since understanding senders intent in all
>> cases is an unsolvable problem in legacy HTTP, we should not focus on
>> that esoteric use case too much!

> I don't think it is unsolveable, after all, the current headers have
> ABNF definitions and they may be flawed, but they are not random.

It is unsolvable because an extension header does not have a (known to a
generic parser) ABNF.

Sure, I can find the right ABNF if I want to support that extension in
my agent and add a custom parser for it (perhaps even generating one
from that ABNF!), but a generic parser can say nothing about senders
intent in this case. The extension field is just an opaque blob (or a
list of blobs, but even that is a risky step!) to such a parser. The
legacy grammar does not allow a generic parser to discover the extension
field structure. We can use a more strict grammar elements to provide
building blocks for the interesting/important cases.


Alex.



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Tue May  2 19:09:25 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2AB60128961 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  2 May 2017 19:09:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level:
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tRObXXAck8av for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  2 May 2017 19:09:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BFA0312EB14 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  2 May 2017 19:06:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d5jcz-00067Q-UJ for ietf-http-wg-dist@listhub.w3.org; Wed, 03 May 2017 02:02:53 +0000
Resent-Date: Wed, 03 May 2017 02:02:53 +0000
Resent-Message-Id: <E1d5jcz-00067Q-UJ@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <mnot@mnot.net>) id 1d5jcv-00065r-2b for ietf-http-wg@listhub.w3.org; Wed, 03 May 2017 02:02:49 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <mnot@mnot.net>) id 1d5jco-0008IQ-BW for ietf-http-wg@w3.org; Wed, 03 May 2017 02:02:43 +0000
Received: from [192.168.3.104] (unknown [124.189.96.14]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 6641722E253 for <ietf-http-wg@w3.org>; Tue,  2 May 2017 22:02:19 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Message-Id: <0CD14C63-72A0-4428-8500-1443D969B8C7@mnot.net>
Date: Wed, 3 May 2017 12:02:18 +1000
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.3273)
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=-7.1
X-W3C-Hub-Spam-Report: AWL=2.527, BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d5jco-0008IQ-BW 7cb1299a0e2d0902663b9795cfc6f12b
X-Original-To: ietf-http-wg@w3.org
Subject: Working Group Last Call -- draft-ietf-httpbis-immutable-02
Archived-At: <http://www.w3.org/mid/0CD14C63-72A0-4428-8500-1443D969B8C7@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33857
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Everyone,

Patrick (as editor) feels that we're ready for WGLC on this draft, and =
there are no open issues.

Please have a look at:
 https://tools.ietf.org/html/draft-ietf-httpbis-immutable-02

and raise any issues that you see (here or on the issues list). =
Statements of support or planned implementation would also be helpful in =
judging consensus, so don't be shy.

WGLC will end in two weeks, on 17 May.

Regards,

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



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 08:19:41 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1DF5A1294D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 08:19:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.002
X-Spam-Level:
X-Spam-Status: No, score=-7.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N1jLVwDOlELn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 08:19:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E860012948D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 08:17:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d5vyd-0005A1-C7 for ietf-http-wg-dist@listhub.w3.org; Wed, 03 May 2017 15:14:03 +0000
Resent-Date: Wed, 03 May 2017 15:14:03 +0000
Resent-Message-Id: <E1d5vyd-0005A1-C7@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <Michael.Bishop@microsoft.com>) id 1d5vyY-00058v-LW for ietf-http-wg@listhub.w3.org; Wed, 03 May 2017 15:13:58 +0000
Received: from mail-sn1nam01on0104.outbound.protection.outlook.com ([104.47.32.104] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from <Michael.Bishop@microsoft.com>) id 1d5vyS-0001QU-3m for ietf-http-wg@w3.org; Wed, 03 May 2017 15:13:53 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=FmOW/oTGsJFl52gquYgYqv2/iPMgK4cmLwDCND1nyeU=; b=jldqcuPqdGAvCDfDGWGMPlLJq+0wZ/5dtInhExXs34mGzVDhwHGSEtM+nJWEXJGAUmGGoCGhZGvKLoxtaXEueC8dSA1QvOWbxBHPumpfLeXmBcjSKgFt2S/opondnKrQlmNsSNBql0OvHVZoYpfAcO0T6iVsCNDvTODUx+8ucTg=
Received: from BN6PR03MB2708.namprd03.prod.outlook.com (10.173.144.15) by BN6PR03MB2705.namprd03.prod.outlook.com (10.173.144.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12; Wed, 3 May 2017 15:13:24 +0000
Received: from BN6PR03MB2708.namprd03.prod.outlook.com ([10.173.144.15]) by BN6PR03MB2708.namprd03.prod.outlook.com ([10.173.144.15]) with mapi id 15.01.1061.021; Wed, 3 May 2017 15:13:24 +0000
From: Mike Bishop <Michael.Bishop@microsoft.com>
To: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Thread-Topic: Working Group Last Call -- draft-ietf-httpbis-immutable-02
Thread-Index: AQHSw7HzQw0Pz84yz0u11ZS9egOoY6Hitkkg
Date: Wed, 3 May 2017 15:13:24 +0000
Message-ID: <BN6PR03MB2708D2C2C549AE92C9DF540F87160@BN6PR03MB2708.namprd03.prod.outlook.com>
References: <0CD14C63-72A0-4428-8500-1443D969B8C7@mnot.net>
In-Reply-To: <0CD14C63-72A0-4428-8500-1443D969B8C7@mnot.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: mnot.net; dkim=none (message not signed) header.d=none;mnot.net; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [2601:600:8080:63a8:4dd8:eba1:329b:9cc7]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1;BN6PR03MB2705;7:YNo7fMsC5w1BP9/Ut2UekukcdrC+9cZlMe9XcOdPhhXCgPxt9sY1LVjZjglIrGo2KdW3szZeqYp1dCUrBdU7pDdH977TJheTDJ8BszgvYL9C8w2xkYmFCcUOn4e8EtmlFMIUvQNRWW/B9ygTjGjoEJUKaQ25i1KDamwgbzFvdMmJXjQs/mjN2kgFYyxxkH3a9/WLHoASeiq2DToxNUgYyfpg+u2APh3Z2guoSC27ITlDIHp7LtWYwWh5PAy6d53hdMBjxPnvZ/Fpi2RMAfCX/pO0sMgonjzouqm/6mUjJ9IFIOZcY38kFCdjcYuQunou/c8tIPIvrbL9HuHDuuwK7vJuV7/Au/hhM+hU2/QWCU4=
x-ms-office365-filtering-correlation-id: f267a405-4863-4592-f680-08d49236f195
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081);SRVR:BN6PR03MB2705;
x-microsoft-antispam-prvs: <BN6PR03MB270583D82135F6D7FC5F6CA187160@BN6PR03MB2705.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(189930954265078)(100405760836317)(219752817060721);
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(6055026)(61426038)(61427038)(6041248)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(20161123555025)(6072148);SRVR:BN6PR03MB2705;BCL:0;PCL:0;RULEID:;SRVR:BN6PR03MB2705;
x-forefront-prvs: 029651C7A1
x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(39400400002)(39860400002)(39450400003)(39840400002)(39850400002)(377454003)(13464003)(6116002)(76176999)(74316002)(3660700001)(77096006)(54356999)(50986999)(102836003)(305945005)(7736002)(3280700002)(8676002)(189998001)(10090500001)(81166006)(6436002)(8936002)(229853002)(6506006)(7696004)(8990500004)(230783001)(5005710100001)(5660300001)(122556002)(2950100002)(86362001)(53936002)(6246003)(9686003)(99286003)(33656002)(38730400002)(6306002)(2906002)(10290500003)(478600001)(575784001)(86612001)(25786009)(55016002);DIR:OUT;SFP:1102;SCL:1;SRVR:BN6PR03MB2705;H:BN6PR03MB2708.namprd03.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 May 2017 15:13:24.2566 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2705
Received-SPF: pass client-ip=104.47.32.104; envelope-from=Michael.Bishop@microsoft.com; helo=NAM01-SN1-obe.outbound.protection.outlook.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, W3C_NW=0.5
X-W3C-Scan-Sig: mimas.w3.org 1d5vyS-0001QU-3m 0e235caabdd589271b0cde9bcc7f4e8c
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Working Group Last Call -- draft-ietf-httpbis-immutable-02
Archived-At: <http://www.w3.org/mid/BN6PR03MB2708D2C2C549AE92C9DF540F87160@BN6PR03MB2708.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33858
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Supported in WinInet as of current builds of Windows 10.

-----Original Message-----
From: Mark Nottingham [mailto:mnot@mnot.net]=20
Sent: Tuesday, May 2, 2017 7:02 PM
To: HTTP Working Group <ietf-http-wg@w3.org>
Subject: Working Group Last Call -- draft-ietf-httpbis-immutable-02

Everyone,

Patrick (as editor) feels that we're ready for WGLC on this draft, and ther=
e are no open issues.

Please have a look at:
 https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Ftools.i=
etf.org%2Fhtml%2Fdraft-ietf-httpbis-immutable-02&data=3D02%7C01%7CMichael.B=
ishop%40microsoft.com%7Cb8a3387fe1e0465fcbc508d491c913da%7C72f988bf86f141af=
91ab2d7cd011db47%7C1%7C0%7C636293740188402585&sdata=3De5Ui21E0whFQXLIrwp7Ax=
evXaTOnBVVNTDWhtu72GaE%3D&reserved=3D0

and raise any issues that you see (here or on the issues list). Statements =
of support or planned implementation would also be helpful in judging conse=
nsus, so don't be shy.

WGLC will end in two weeks, on 17 May.

Regards,

--
Mark Nottingham   https://na01.safelinks.protection.outlook.com/?url=3Dhttp=
s%3A%2F%2Fwww.mnot.net%2F&data=3D02%7C01%7CMichael.Bishop%40microsoft.com%7=
Cb8a3387fe1e0465fcbc508d491c913da%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C=
0%7C636293740188412593&sdata=3DHgb4bQ%2FCEOjQXnbwec%2FKbEge87C1BHnB7x1yGuY4=
zV0%3D&reserved=3D0




From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 11:21:49 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7BE53129AEA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 11:21:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0WsZkRtVzga4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 11:21:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7DE931270A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 11:19:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d5yoY-0002xP-DO for ietf-http-wg-dist@listhub.w3.org; Wed, 03 May 2017 18:15:50 +0000
Resent-Date: Wed, 03 May 2017 18:15:50 +0000
Resent-Message-Id: <E1d5yoY-0002xP-DO@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <dkg@fifthhorseman.net>) id 1d5yoT-0002vu-TZ for ietf-http-wg@listhub.w3.org; Wed, 03 May 2017 18:15:45 +0000
Received: from che.mayfirst.org ([162.247.75.118]) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <dkg@fifthhorseman.net>) id 1d5yoN-0000bp-8y for ietf-http-wg@w3.org; Wed, 03 May 2017 18:15:40 +0000
Received: from fifthhorseman.net (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id E0FABF98C; Wed,  3 May 2017 14:15:18 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id CD6242061B; Wed,  3 May 2017 14:15:13 -0400 (EDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Cc: DNS Privacy Working Group <dns-privacy@ietf.org>
Date: Wed, 03 May 2017 14:15:10 -0400
Message-ID: <87tw51remp.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: none client-ip=162.247.75.118; envelope-from=dkg@fifthhorseman.net; helo=che.mayfirst.org
X-W3C-Hub-Spam-Status: No, score=-5.4
X-W3C-Hub-Spam-Report: AWL=-0.537, BAYES_00=-1.9, URIBL_BLOCKED=0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d5yoN-0000bp-8y 77bd74084ed5ded3361a999031a78eed
X-Original-To: ietf-http-wg@w3.org
Subject: Demultiplexing HTTP and DNS on the same listener [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/87tw51remp.fsf@fifthhorseman.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33859
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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-Type: text/plain

Hi HTTP folks--

I've just pushed a revision to a recent individual submission about a
technique for hiding DNS traffic that makes use of HTTP:

  https://datatracker.ietf.org/doc/draft-dkg-dprive-demux-dns-http/

It describes how a TLS server can offer both HTTPS and DNS-over-TLS on
the same port, because valid initial messages from the client in each
protocol are always distinguishable by the server.

I brought this up first over on the DPRIVE mailing list (in CC), and
i've made some initial cleanup and improvements based on the suggestions
i got there.  But i also wanted to bring this to the HTTP working group
for feedback, since it's possible that i've mischaracterized the current
state of HTTP in my analysis.  Please review and let me know if i've
gotten anything wrong!

Also, if adopted widely, the draft has implications for the future
evolution of stream-based HTTP as well as stream-based DNS (see below).
And Joe Touch pointed out that the draft should explicitly update the
HTTP as well as DNS specifications, so i've marked the latest revision
of the draft that way.  If you think that's OK (or if you think it's
unnecessary), please let me know!

Assumptions about HTTP
----------------------

The main constraints that the draft places on future stream-based
versions of HTTP (that is, HTTP-over-TCP or HTTP-over-TLS, but not
HTTP-over-QUIC any other fun non-stream transport) are:

 (a) it assumes that stream-based HTTP will remain a client-speaks-first
     protocol.

 (b) it assumes that the first flight of data sent by the client without
     expecting a response from the server will be at least 14 octets.

 (c) it requires that none of the first 14 octets of the stream sent by
     the client to the server be below 0x0A (LF) or above 0x7F.

AFAICT, These constraints are already met by HTTP/1.0 and HTTP/1.1 and
HTTP/2, as documented in the draft.  Please tell me if that's wrong!

Given HTTP/2's "connection preface", i've imagined thus far that future
stream-based versions of HTTP would be fine having their own "connection
preface" that meets constraints (b) and (c), and i don't see how a
future version that listens on the same port as existing versions of
HTTP could in any way violate constraint (a).  I hope the members of
this fine WG will tell me otherwise if that's not a good assumption.

Also, if you review the draft and you think it's placing some additional
constraint on future versions of stream-based HTTP that i haven't
mentioned, please call it out!

Implementation status
---------------------

I have a functional implementation listening behind a TLS frontend on
TCP port 443 on dns.cmrg.net right now, if anyone wants to experiment
with it.  Consider all the possibilities of this terrible layering
violation!

Both of these commands work just fine:

    wget -O- https://dns.cmrg.net/

    kdig +tls @dns.cmrg.net:443 www.ietf.org

The implementation is in C, freely-licensed, and available at
https://gitlab.com/dkg/hddemux for anyone who wants to play with it.

It's also available in Debian's unstable distro:
https://packages.debian.org/unstable/hddemux

Followup
--------

The IETF mailing lists aren't well-structured for conversations that
need to happen between WGs.

I'm subscribed to both ietf-http-wg@w3.org and dns-privacy@ietf.org, and
i welcome feedback from both working groups.  But maybe some folks who
want to follow up are not subscribed to both.  Unless either WG
complains, i encourage followup to be made to both mailing lists unless
it's clearly specific to one protocol only, and i humbly ask admins of
both lists to allow traffic from the other community through.

Minor editorial cleanup can be made as a merge request or issue at
https://gitlab.com/dkg/hddemux or by private e-mail.

Regards,

        --dkg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOCdgUepHf6PklTkyFJitxsGSMjcFAlkKHi8ACgkQFJitxsGS
MjcxWRAAl7yWsrJsawSNtv0FMI83+vKIPsv0x3fU2uPyq6uhK+BytsGHUNQ3aF2z
M23PpvAHGv84WGE8g6li3qNMoje6XvcAKHJ7lISxfIRt9RKqq7Q4E10BEqVUXc6y
wKr4UhfX60v2gkxrrfr+dDPf6tQOJd/oAd1MEPEokXQs6kbmiuHO4Pf/2Ctj/g+5
PKncwTvuejxmPsY+UCRubt0b0SMGsFjFNRX94jlMitur5Csp/3IeskKO2bWsSUEm
xk60z+OjfIUOtK/s17+SKgK/g6P7KU34aJ7YZ7hMIaNrVw/FoqNcILDvNsVD+BJV
50JM4+vL4aKhlAmgsfgxHm9ooGcB6cbtaQk9klR56sCu7V5oTHup+IBEffvMPPWl
XOEDwbTbedm5iO6X49Ji+mpG+MjE98q68Qqt40e6Tz2AKXOb1ZjXkJBKi++a+P0y
9a08Jl6kk4JsItTj0tCp0AaBNVVDmcGm9a7yZ3pe7COKxb8rZCDqQJWxWEaq8HHQ
tfBeTMb0ZvMvij3yWr5ZMQaSdyvRlkq/bsyQdefPtnS7frhkVxmguMMxTXrVRdTo
dcq6O2DImfvlZ2W1j3VJq6i1cyO8sFMrWg/dzbFGCe1WUJDSyrj3D09HzzSgn1Ih
edVTbOaUi0U0CrEjfKwwJdrH8juUlrctVej49Q9jEz6lbL/LkTw=
=bA0W
-----END PGP SIGNATURE-----
--=-=-=--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 11:39:17 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 81E29129456 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 11:39:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3y_hNsyVS3R9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 11:39:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7D8E6126BF0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 11:37:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d5z6b-0005ND-H0 for ietf-http-wg-dist@listhub.w3.org; Wed, 03 May 2017 18:34:29 +0000
Resent-Date: Wed, 03 May 2017 18:34:29 +0000
Resent-Message-Id: <E1d5z6b-0005ND-H0@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <touch@isi.edu>) id 1d5z6a-0005LE-Bs for ietf-http-wg@listhub.w3.org; Wed, 03 May 2017 18:34:28 +0000
Received: from nitro.isi.edu ([128.9.208.207]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <touch@isi.edu>) id 1d5z6U-0007x3-2s for ietf-http-wg@w3.org; Wed, 03 May 2017 18:34:23 +0000
Received: from [128.9.184.18] ([128.9.184.18]) (authenticated bits=0) by nitro.isi.edu (8.13.8/8.13.8) with ESMTP id v43IXcnr022588 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 3 May 2017 11:33:39 -0700 (PDT)
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, HTTP Working Group <ietf-http-wg@w3.org>
Cc: DNS Privacy Working Group <dns-privacy@ietf.org>
References: <87tw51remp.fsf@fifthhorseman.net>
From: Joe Touch <touch@isi.edu>
Message-ID: <0a2e075d-59fc-1e0d-d745-31f5608a525c@isi.edu>
Date: Wed, 3 May 2017 11:33:38 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0
MIME-Version: 1.0
In-Reply-To: <87tw51remp.fsf@fifthhorseman.net>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-MailScanner-ID: v43IXcnr022588
X-ISI-4-69-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Received-SPF: none client-ip=128.9.208.207; envelope-from=touch@isi.edu; helo=nitro.isi.edu
X-W3C-Hub-Spam-Status: No, score=-5.4
X-W3C-Hub-Spam-Report: AWL=-1.500, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d5z6U-0007x3-2s 401e09a213ce1464cbc751f49162e782
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [dns-privacy] Demultiplexing HTTP and DNS on the same listener  [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/0a2e075d-59fc-1e0d-d745-31f5608a525c@isi.edu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33860
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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,

FWIW...speaking from the experience I have leading the IANA ports expert
review team and developing BCP165 (RFCs 6335 and RFC7605):

On 5/3/2017 11:15 AM, Daniel Kahn Gillmor wrote:
> And Joe Touch pointed out that the draft should explicitly update the
> HTTP as well as DNS specifications, so i've marked the latest revision
> of the draft that way.  If you think that's OK (or if you think it's
> unnecessary), please let me know!
>
> Assumptions about HTTP
> ----------------------
I would characterize this as redefining ports 80 and 443 to include DNS
as part of the HTTP specification.

That has some very important ramifications, indicated here as
"assumptions", that limit the future development of HTTP (notably
reserving certain prefixes and patterns to differentiate DNS requests
from HTTP). That could constrain all current and future uses of ports 80
and 443, and could potentially affect any other service that uses HTTP
as a framing layer.

Joe



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 12:04:25 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 78E19127977 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 12:04:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.401
X-Spam-Level:
X-Spam-Status: No, score=-6.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sendgrid.me
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5WojviIc-ZTR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 12:04:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A97301294E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 12:01:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d5zUD-0004UR-BF for ietf-http-wg-dist@listhub.w3.org; Wed, 03 May 2017 18:58:53 +0000
Resent-Date: Wed, 03 May 2017 18:58:53 +0000
Resent-Message-Id: <E1d5zUD-0004UR-BF@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1d5zU8-0004TH-Ih for ietf-http-wg@listhub.w3.org; Wed, 03 May 2017 18:58:48 +0000
Received: from o1678950229.outbound-mail.sendgrid.net ([167.89.50.229]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1d5zU1-0002Vb-4C for ietf-http-wg@w3.org; Wed, 03 May 2017 18:58:43 +0000
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me;  h=mime-version:in-reply-to:references:from:subject:to:cc:content-type;  s=smtpapi; bh=ZDxzA2ehY5oCkLD90ABHTv7EfNk=; b=wEwecGCVExDkQ8E2yA Rbr43w2NWW6aBHJik2K4nNaO2eI6oDGBINNm3NdwpTEEdbK6Z0PZoxxNXMSY+Qts JOVbuetOo8hWtBFKXp63K9XRKcSOqHIwVmV1RCfiLuexasOLnkmQ5rmXuSg5B2g3 UWUfNGFOpIk5kJrwnhKuvJW8I=
Received: by filter0855p1mdw1.sendgrid.net with SMTP id filter0855p1mdw1-27993-590A2815-2D 2017-05-03 18:57:25.399790924 +0000 UTC
Received: from mail-qt0-f179.google.com (mail-qt0-f179.google.com [209.85.216.179]) by ismtpd0001p1iad1.sendgrid.net (SG) with ESMTP id xhKoFMGASEOPolMpCv-FGg for <ietf-http-wg@w3.org>; Wed, 03 May 2017 18:57:25.344 +0000 (UTC)
Received: by mail-qt0-f179.google.com with SMTP id n4so47406865qte.2 for <ietf-http-wg@w3.org>; Wed, 03 May 2017 11:57:25 -0700 (PDT)
X-Gm-Message-State: AN3rC/7mFqFSMKWpWxRZ0D2tTmMa73BgyzH1nO/gjz8N9eCka7dhf1Dy k/Ov+nMx58BnTDwPRdU7ogAVBCVtcQ==
X-Received: by 10.200.42.29 with SMTP id k29mr35724524qtk.186.1493837845014; Wed, 03 May 2017 11:57:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.182.31 with HTTP; Wed, 3 May 2017 11:57:24 -0700 (PDT)
In-Reply-To: <87tw51remp.fsf@fifthhorseman.net>
References: <87tw51remp.fsf@fifthhorseman.net>
From: Patrick McManus <mcmanus@ducksong.com>
Date: Wed, 3 May 2017 14:57:24 -0400
X-Gmail-Original-Message-ID: <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com>
Message-ID: <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
Content-Type: multipart/alternative; boundary=001a114114f21ab223054ea33a96
X-SG-EID: YLWet4rakcOTMHWvPPwWbcsiUJbN1FCn0PHYd/Uujh7tBxtS5cFldkpYmjhAFbUAoo+8G+AV5W0I5x edRyMFN4rQEV/HonL+SwWEF0WHkbRYuzNknsVAoecub3ZPoaIAxc2fl8il++CnlJvqVaTMoQVUhIv+ Cb3GDqWH3H6CzIaSklOmZ1C8X6EnY0tbs2Ctd4etq8gZBgAaOIBnpuPYetuNyr1qBUsTk2ij34fwwu M=
Received-SPF: pass client-ip=167.89.50.229; envelope-from=bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net; helo=o1678950229.outbound-mail.sendgrid.net
X-W3C-Hub-Spam-Status: No, score=-6.6
X-W3C-Hub-Spam-Report: AWL=0.580, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d5zU1-0002Vb-4C 1078ee5780613e5d7f18ec2a759469b0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version  Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33861
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--001a114114f21ab223054ea33a96
Content-Type: text/plain; charset=UTF-8

Hey DKG -

My initial response is that legacy HTTP/1 implementations will sink you by
scanning for stuff that looks like HTTP in your stream - even if the
leading bytes don't match the production those RFCs required (and HTTP/1.0
is only informational anyhow). You can look at the websockets masking
madness to see the lengths the community went to to avoid that kind of
detection in rfc 6455.

Coincidentally I have a draft with Paul Hoffman that we're close to
publishing, that describes how to do DNS over https:// in a way that I
think will play better with both the http and dns ecosystems than previous
work in that area. It wouldn't be a http-wg item though, we don't normally
take FOO-over-HTTP drafts here. That might be a better option - if you want
to use the https port, and the https alpn token, perhaps the https protocol
(without constraining its future) is the right choice :)

-P


On Wed, May 3, 2017 at 2:15 PM, Daniel Kahn Gillmor <dkg@fifthhorseman.net>
wrote:

> Hi HTTP folks--
>
> I've just pushed a revision to a recent individual submission about a
> technique for hiding DNS traffic that makes use of HTTP:
>
>   https://datatracker.ietf.org/doc/draft-dkg-dprive-demux-dns-http/
>
> It describes how a TLS server can offer both HTTPS and DNS-over-TLS on
> the same port, because valid initial messages from the client in each
> protocol are always distinguishable by the server.
>
> I brought this up first over on the DPRIVE mailing list (in CC), and
> i've made some initial cleanup and improvements based on the suggestions
> i got there.  But i also wanted to bring this to the HTTP working group
> for feedback, since it's possible that i've mischaracterized the current
> state of HTTP in my analysis.  Please review and let me know if i've
> gotten anything wrong!
>
> Also, if adopted widely, the draft has implications for the future
> evolution of stream-based HTTP as well as stream-based DNS (see below).
> And Joe Touch pointed out that the draft should explicitly update the
> HTTP as well as DNS specifications, so i've marked the latest revision
> of the draft that way.  If you think that's OK (or if you think it's
> unnecessary), please let me know!
>
> Assumptions about HTTP
> ----------------------
>
> The main constraints that the draft places on future stream-based
> versions of HTTP (that is, HTTP-over-TCP or HTTP-over-TLS, but not
> HTTP-over-QUIC any other fun non-stream transport) are:
>
>  (a) it assumes that stream-based HTTP will remain a client-speaks-first
>      protocol.
>
>  (b) it assumes that the first flight of data sent by the client without
>      expecting a response from the server will be at least 14 octets.
>
>  (c) it requires that none of the first 14 octets of the stream sent by
>      the client to the server be below 0x0A (LF) or above 0x7F.
>
> AFAICT, These constraints are already met by HTTP/1.0 and HTTP/1.1 and
> HTTP/2, as documented in the draft.  Please tell me if that's wrong!
>
> Given HTTP/2's "connection preface", i've imagined thus far that future
> stream-based versions of HTTP would be fine having their own "connection
> preface" that meets constraints (b) and (c), and i don't see how a
> future version that listens on the same port as existing versions of
> HTTP could in any way violate constraint (a).  I hope the members of
> this fine WG will tell me otherwise if that's not a good assumption.
>
> Also, if you review the draft and you think it's placing some additional
> constraint on future versions of stream-based HTTP that i haven't
> mentioned, please call it out!
>
> Implementation status
> ---------------------
>
> I have a functional implementation listening behind a TLS frontend on
> TCP port 443 on dns.cmrg.net right now, if anyone wants to experiment
> with it.  Consider all the possibilities of this terrible layering
> violation!
>
> Both of these commands work just fine:
>
>     wget -O- https://dns.cmrg.net/
>
>     kdig +tls @dns.cmrg.net:443 www.ietf.org
>
> The implementation is in C, freely-licensed, and available at
> https://gitlab.com/dkg/hddemux for anyone who wants to play with it.
>
> It's also available in Debian's unstable distro:
> https://packages.debian.org/unstable/hddemux
>
> Followup
> --------
>
> The IETF mailing lists aren't well-structured for conversations that
> need to happen between WGs.
>
> I'm subscribed to both ietf-http-wg@w3.org and dns-privacy@ietf.org, and
> i welcome feedback from both working groups.  But maybe some folks who
> want to follow up are not subscribed to both.  Unless either WG
> complains, i encourage followup to be made to both mailing lists unless
> it's clearly specific to one protocol only, and i humbly ask admins of
> both lists to allow traffic from the other community through.
>
> Minor editorial cleanup can be made as a merge request or issue at
> https://gitlab.com/dkg/hddemux or by private e-mail.
>
> Regards,
>
>         --dkg
>

--001a114114f21ab223054ea33a96
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hey DKG -</div><div><br></div><div>My initial respons=
e is that legacy HTTP/1 implementations will sink you by scanning for stuff=
 that looks like HTTP in your stream - even if the leading bytes don&#39;t =
match the production those RFCs required (and HTTP/1.0 is only informationa=
l anyhow). You can look at the websockets masking madness to see the length=
s the community went to to avoid that kind of detection in rfc 6455.</div><=
div><br></div><div>Coincidentally I have a draft with Paul Hoffman that we&=
#39;re close to publishing, that describes how to do DNS over https:// in a=
 way that I think will play better with both the http and dns ecosystems th=
an previous work in that area. It wouldn&#39;t be a http-wg item though, we=
 don&#39;t normally take FOO-over-HTTP drafts here. That might be a better =
option - if you want to use the https port, and the https alpn token, perha=
ps the https protocol (without constraining its future) is the right choice=
 :)<br></div><div><br></div><div>-P</div><div><br></div></div><div class=3D=
"gmail_extra"><br><div class=3D"gmail_quote">On Wed, May 3, 2017 at 2:15 PM=
, Daniel Kahn Gillmor <span dir=3D"ltr">&lt;<a href=3D"mailto:dkg@fifthhors=
eman.net" target=3D"_blank">dkg@fifthhorseman.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">Hi HTTP folks--<br>
<br>
I&#39;ve just pushed a revision to a recent individual submission about a<b=
r>
technique for hiding DNS traffic that makes use of HTTP:<br>
<br>
=C2=A0 <a href=3D"https://datatracker.ietf.org/doc/draft-dkg-dprive-demux-d=
ns-http/" rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org=
/<wbr>doc/draft-dkg-dprive-demux-<wbr>dns-http/</a><br>
<br>
It describes how a TLS server can offer both HTTPS and DNS-over-TLS on<br>
the same port, because valid initial messages from the client in each<br>
protocol are always distinguishable by the server.<br>
<br>
I brought this up first over on the DPRIVE mailing list (in CC), and<br>
i&#39;ve made some initial cleanup and improvements based on the suggestion=
s<br>
i got there.=C2=A0 But i also wanted to bring this to the HTTP working grou=
p<br>
for feedback, since it&#39;s possible that i&#39;ve mischaracterized the cu=
rrent<br>
state of HTTP in my analysis.=C2=A0 Please review and let me know if i&#39;=
ve<br>
gotten anything wrong!<br>
<br>
Also, if adopted widely, the draft has implications for the future<br>
evolution of stream-based HTTP as well as stream-based DNS (see below).<br>
And Joe Touch pointed out that the draft should explicitly update the<br>
HTTP as well as DNS specifications, so i&#39;ve marked the latest revision<=
br>
of the draft that way.=C2=A0 If you think that&#39;s OK (or if you think it=
&#39;s<br>
unnecessary), please let me know!<br>
<br>
Assumptions about HTTP<br>
----------------------<br>
<br>
The main constraints that the draft places on future stream-based<br>
versions of HTTP (that is, HTTP-over-TCP or HTTP-over-TLS, but not<br>
HTTP-over-QUIC any other fun non-stream transport) are:<br>
<br>
=C2=A0(a) it assumes that stream-based HTTP will remain a client-speaks-fir=
st<br>
=C2=A0 =C2=A0 =C2=A0protocol.<br>
<br>
=C2=A0(b) it assumes that the first flight of data sent by the client witho=
ut<br>
=C2=A0 =C2=A0 =C2=A0expecting a response from the server will be at least 1=
4 octets.<br>
<br>
=C2=A0(c) it requires that none of the first 14 octets of the stream sent b=
y<br>
=C2=A0 =C2=A0 =C2=A0the client to the server be below 0x0A (LF) or above 0x=
7F.<br>
<br>
AFAICT, These constraints are already met by HTTP/1.0 and HTTP/1.1 and<br>
HTTP/2, as documented in the draft.=C2=A0 Please tell me if that&#39;s wron=
g!<br>
<br>
Given HTTP/2&#39;s &quot;connection preface&quot;, i&#39;ve imagined thus f=
ar that future<br>
stream-based versions of HTTP would be fine having their own &quot;connecti=
on<br>
preface&quot; that meets constraints (b) and (c), and i don&#39;t see how a=
<br>
future version that listens on the same port as existing versions of<br>
HTTP could in any way violate constraint (a).=C2=A0 I hope the members of<b=
r>
this fine WG will tell me otherwise if that&#39;s not a good assumption.<br>
<br>
Also, if you review the draft and you think it&#39;s placing some additiona=
l<br>
constraint on future versions of stream-based HTTP that i haven&#39;t<br>
mentioned, please call it out!<br>
<br>
Implementation status<br>
---------------------<br>
<br>
I have a functional implementation listening behind a TLS frontend on<br>
TCP port 443 on <a href=3D"http://dns.cmrg.net" rel=3D"noreferrer" target=
=3D"_blank">dns.cmrg.net</a> right now, if anyone wants to experiment<br>
with it.=C2=A0 Consider all the possibilities of this terrible layering<br>
violation!<br>
<br>
Both of these commands work just fine:<br>
<br>
=C2=A0 =C2=A0 wget -O- <a href=3D"https://dns.cmrg.net/" rel=3D"noreferrer"=
 target=3D"_blank">https://dns.cmrg.net/</a><br>
<br>
=C2=A0 =C2=A0 kdig +tls @<a href=3D"http://dns.cmrg.net:443" rel=3D"norefer=
rer" target=3D"_blank">dns.cmrg.net:443</a> <a href=3D"http://www.ietf.org"=
 rel=3D"noreferrer" target=3D"_blank">www.ietf.org</a><br>
<br>
The implementation is in C, freely-licensed, and available at<br>
<a href=3D"https://gitlab.com/dkg/hddemux" rel=3D"noreferrer" target=3D"_bl=
ank">https://gitlab.com/dkg/hddemux</a> for anyone who wants to play with i=
t.<br>
<br>
It&#39;s also available in Debian&#39;s unstable distro:<br>
<a href=3D"https://packages.debian.org/unstable/hddemux" rel=3D"noreferrer"=
 target=3D"_blank">https://packages.debian.org/<wbr>unstable/hddemux</a><br>
<br>
Followup<br>
--------<br>
<br>
The IETF mailing lists aren&#39;t well-structured for conversations that<br>
need to happen between WGs.<br>
<br>
I&#39;m subscribed to both <a href=3D"mailto:ietf-http-wg@w3.org">ietf-http=
-wg@w3.org</a> and <a href=3D"mailto:dns-privacy@ietf.org">dns-privacy@ietf=
.org</a>, and<br>
i welcome feedback from both working groups.=C2=A0 But maybe some folks who=
<br>
want to follow up are not subscribed to both.=C2=A0 Unless either WG<br>
complains, i encourage followup to be made to both mailing lists unless<br>
it&#39;s clearly specific to one protocol only, and i humbly ask admins of<=
br>
both lists to allow traffic from the other community through.<br>
<br>
Minor editorial cleanup can be made as a merge request or issue at<br>
<a href=3D"https://gitlab.com/dkg/hddemux" rel=3D"noreferrer" target=3D"_bl=
ank">https://gitlab.com/dkg/hddemux</a> or by private e-mail.<br>
<br>
Regards,<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 --dkg<br>
</blockquote></div><br></div>

--001a114114f21ab223054ea33a96--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 12:19:06 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AD3EE129454 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 12:19:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.401
X-Spam-Level:
X-Spam-Status: No, score=-6.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sendgrid.me
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HPGwizDTIr3J for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 12:19:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CAE98128ACA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 12:17:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d5zjG-00071P-E9 for ietf-http-wg-dist@listhub.w3.org; Wed, 03 May 2017 19:14:26 +0000
Resent-Date: Wed, 03 May 2017 19:14:26 +0000
Resent-Message-Id: <E1d5zjG-00071P-E9@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1d5zjB-0006yJ-O7 for ietf-http-wg@listhub.w3.org; Wed, 03 May 2017 19:14:21 +0000
Received: from o1682455182.outbound-mail.sendgrid.net ([168.245.5.182]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1d5zj2-00034g-81 for ietf-http-wg@w3.org; Wed, 03 May 2017 19:14:16 +0000
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me;  h=mime-version:in-reply-to:references:from:subject:to:cc:content-type;  s=smtpapi; bh=6a/eiWyaMvTIRDxvaRmbSa0nPRo=; b=nXN4vy+uRxP4g58ifz gsq5N/XqOIZWq3dQ6Ut9WzEuFzfP6giGhVkg8RRr4lQa3su+rGwH7PtX9iLJQRvE 9TLxAvNA2WSfVgQdUlFzStmYeJOqPjgkRbO8uaSn7F+xk8qmYHTmWRV+76CGy2YD A+qqM+IKTapvxXnWr29SfsSMQ=
Received: by filter1095p1mdw1.sendgrid.net with SMTP id filter1095p1mdw1-30689-590A2BE7-3F 2017-05-03 19:13:43.718462549 +0000 UTC
Received: from mail-qk0-f173.google.com (mail-qk0-f173.google.com [209.85.220.173]) by ismtpd0005p1iad1.sendgrid.net (SG) with ESMTP id WZVoVb9tRrGI6CMarbtpmw for <ietf-http-wg@w3.org>; Wed, 03 May 2017 19:13:43.774 +0000 (UTC)
Received: by mail-qk0-f173.google.com with SMTP id u68so23931013qkd.0 for <ietf-http-wg@w3.org>; Wed, 03 May 2017 12:13:43 -0700 (PDT)
X-Gm-Message-State: AN3rC/7GtJpT7a8TO5P0l2NTTc8uuVmvgffOKe6YxScrsFL6RPvklc71 U2W+zgNSr5CeSF8UXnxy6iR336VwdA==
X-Received: by 10.55.52.79 with SMTP id b76mr4847693qka.140.1493838823626; Wed, 03 May 2017 12:13:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.182.31 with HTTP; Wed, 3 May 2017 12:13:43 -0700 (PDT)
In-Reply-To: <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com>
From: Patrick McManus <mcmanus@ducksong.com>
Date: Wed, 3 May 2017 15:13:43 -0400
X-Gmail-Original-Message-ID: <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com>
Message-ID: <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com>
To: Patrick McManus <mcmanus@ducksong.com>
Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, HTTP Working Group <ietf-http-wg@w3.org>,  DNS Privacy Working Group <dns-privacy@ietf.org>
Content-Type: multipart/alternative; boundary=001a114901d86f1d35054ea3740b
X-SG-EID: YLWet4rakcOTMHWvPPwWbcsiUJbN1FCn0PHYd/Uujh5EDcUGL7krQkHBf375FJFa8IGur4b/+0Ulgu X+M0Rsrsoglwb0wGxgdJtwbUY1LxmJ/WH9OaDTpKsV06dU0Bw6U6+A0QKXt2bqya2rF9ontG8G9fLl U3FRjLzqktM/84cGzo9v33sbnDkWVSnAZFPlL0rzJlwLZE3/jK828BmQEXjAeFKY4n1e3PAhrsi0ad I=
Received-SPF: pass client-ip=168.245.5.182; envelope-from=bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net; helo=o1682455182.outbound-mail.sendgrid.net
X-W3C-Hub-Spam-Status: No, score=-6.6
X-W3C-Hub-Spam-Report: AWL=0.574, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d5zj2-00034g-81 a500c29435ac652e7da723c472c74b51
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version  Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33862
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--001a114901d86f1d35054ea3740b
Content-Type: text/plain; charset=UTF-8

I forgot to mention another potential challenge with the demux approach -
h2 is not client send first.. typically both sides send SETTINGS
simultaneously.. and its important to the server not to hold those back
.5RTT as it can contain a bunch of configuration information (buffer
sizing, levels of parallelism, extension negotiation, etc..) that it wants
the client to start honoring asap. (Whether this is actually simultaneous
boils down to which flavor of tls handshake is done.)

--001a114901d86f1d35054ea3740b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I forgot to mention another potential challenge with =
the demux approach - h2 is not client send first.. typically both sides sen=
d SETTINGS simultaneously.. and its important to the server not to hold tho=
se back .5RTT as it can contain a bunch of configuration information (buffe=
r sizing, levels of parallelism, extension negotiation, etc..) that it want=
s the client to start honoring asap. (Whether this is actually simultaneous=
 boils down to which flavor of tls handshake is done.)<br></div><div><br></=
div><div><br></div></div>

--001a114901d86f1d35054ea3740b--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 12:41:19 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CFBDF129C5C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 12:41:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.502
X-Spam-Level:
X-Spam-Status: No, score=-6.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gbiv.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vOyNC09PTb9E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 12:41:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2C11C129B1D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 12:39:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d604W-0006tW-B9 for ietf-http-wg-dist@listhub.w3.org; Wed, 03 May 2017 19:36:24 +0000
Resent-Date: Wed, 03 May 2017 19:36:24 +0000
Resent-Message-Id: <E1d604W-0006tW-B9@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <fielding@gbiv.com>) id 1d604T-0006so-LB for ietf-http-wg@listhub.w3.org; Wed, 03 May 2017 19:36:21 +0000
Received: from sub5.mail.dreamhost.com ([208.113.200.129] helo=homiemail-a68.g.dreamhost.com) by titan.w3.org with esmtps (TLS1.1:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from <fielding@gbiv.com>) id 1d604N-0001bC-Bm for ietf-http-wg@w3.org; Wed, 03 May 2017 19:36:16 +0000
Received: from homiemail-a68.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a68.g.dreamhost.com (Postfix) with ESMTP id BB6B348000B33; Wed,  3 May 2017 12:35:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=zgA82WxXD4pygTWFGGZlbEOFUEE=; b=RF6Tgt5sL2ZRBiAxA9u4wQiUWx4M w6sFDQHH+3ePuFl9ljtaYI8D1a3cO+nDzUclp9HFscN2cOi5MM40tKPL3/259XLV 3moaKNvvd/z77gIGVsHWUD51UcSH0KNzMhXsqtIgXDFpYRvkzS4vF45aG0CvdaVD f10TWOcsbrTuucg=
Received: from [192.168.1.8] (ip68-228-71-159.oc.oc.cox.net [68.228.71.159]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a68.g.dreamhost.com (Postfix) with ESMTPSA id 9F65748000B30; Wed,  3 May 2017 12:35:52 -0700 (PDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <0a2e075d-59fc-1e0d-d745-31f5608a525c@isi.edu>
Date: Wed, 3 May 2017 12:35:52 -0700
Cc: HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
Content-Transfer-Encoding: 7bit
Message-Id: <B0511F40-AA89-47C3-93F2-7A5121F842AA@gbiv.com>
References: <87tw51remp.fsf@fifthhorseman.net> <0a2e075d-59fc-1e0d-d745-31f5608a525c@isi.edu>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Joe Touch <touch@ISI.EDU>
X-Mailer: Apple Mail (2.2104)
Received-SPF: none client-ip=208.113.200.129; envelope-from=fielding@gbiv.com; helo=homiemail-a68.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-7.3
X-W3C-Hub-Spam-Report: AWL=0.994, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, URIBL_BLOCKED=0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d604N-0001bC-Bm 19fba36dc77c4ae684da6ad2a0e18138
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [dns-privacy] Demultiplexing HTTP and DNS on the same listener  [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/B0511F40-AA89-47C3-93F2-7A5121F842AA@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33863
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

> On May 3, 2017, at 11:33 AM, Joe Touch <touch@ISI.EDU> wrote:
> 
> Hi, all,
> 
> FWIW...speaking from the experience I have leading the IANA ports expert
> review team and developing BCP165 (RFCs 6335 and RFC7605):
> 
> On 5/3/2017 11:15 AM, Daniel Kahn Gillmor wrote:
>> And Joe Touch pointed out that the draft should explicitly update the
>> HTTP as well as DNS specifications, so i've marked the latest revision
>> of the draft that way.  If you think that's OK (or if you think it's
>> unnecessary), please let me know!
>> 
>> Assumptions about HTTP
>> ----------------------
> I would characterize this as redefining ports 80 and 443 to include DNS
> as part of the HTTP specification.
> 
> That has some very important ramifications, indicated here as
> "assumptions", that limit the future development of HTTP (notably
> reserving certain prefixes and patterns to differentiate DNS requests
> from HTTP). That could constrain all current and future uses of ports 80
> and 443, and could potentially affect any other service that uses HTTP
> as a framing layer.
> 
> Joe

I agree with Joe.  My answer would be "no".  It certainly isn't an Update
for the HTTP specs.

I see no reason to suggest that spraying DNS on an HTTP connection would
be interoperable.  HTTP/1.x has a tradition (good or bad) of allowing
robust parsing of bad messages, which means no analysis of DNS uniqueness
can guard against the potential variance of a thousand or so independent
implementations of servers and intermediaries (there are at least four
figures of independent server development in the craft-your-own-microserver
category).

In contrast, it is trivial to transform a DNS query into a GET request
which can be handled by any current or future version of HTTP.
All you need is the absolute URI, which is already defined, and a
media type for the response payload.  That would just be using HTTP,
so no need to call that an update either.

....Roy


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 16:25:26 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 17132124234 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 16:25:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qAG0qfGMEAzC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 16:25:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3DF912773A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 16:25:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d63bR-0006E4-Uc for ietf-http-wg-dist@listhub.w3.org; Wed, 03 May 2017 23:22:37 +0000
Resent-Date: Wed, 03 May 2017 23:22:37 +0000
Resent-Message-Id: <E1d63bR-0006E4-Uc@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <dkg@fifthhorseman.net>) id 1d63bN-0006Ax-H0 for ietf-http-wg@listhub.w3.org; Wed, 03 May 2017 23:22:33 +0000
Received: from che.mayfirst.org ([162.247.75.118]) by titan.w3.org with esmtp (Exim 4.84_2) (envelope-from <dkg@fifthhorseman.net>) id 1d63bH-000058-DN for ietf-http-wg@w3.org; Wed, 03 May 2017 23:22:28 +0000
Received: from fifthhorseman.net (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id 5806BF993; Wed,  3 May 2017 19:22:06 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id 245C120CBD; Wed,  3 May 2017 19:17:46 -0400 (EDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Patrick McManus <mcmanus@ducksong.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
In-Reply-To: <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com>
Date: Wed, 03 May 2017 19:17:42 -0400
Message-ID: <87o9v9r0mh.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: none client-ip=162.247.75.118; envelope-from=dkg@fifthhorseman.net; helo=che.mayfirst.org
X-W3C-Hub-Spam-Status: No, score=-5.4
X-W3C-Hub-Spam-Report: AWL=-0.523, BAYES_00=-1.9, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d63bH-000058-DN c5924ec98d83eb84367594ba3fceb5b9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/87o9v9r0mh.fsf@fifthhorseman.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33865
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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-Type: text/plain

Hi Patrick--

On Wed 2017-05-03 14:57:24 -0400, Patrick McManus wrote:

> My initial response is that legacy HTTP/1 implementations will sink you by
> scanning for stuff that looks like HTTP in your stream - even if the
> leading bytes don't match the production those RFCs required (and HTTP/1.0
> is only informational anyhow). You can look at the websockets masking
> madness to see the lengths the community went to to avoid that kind of
> detection in rfc 6455.

Are you talking about an existing HTTP/1 server implementation?  The
idea of the demuxing stage is that a server that opts into this would
put the demuxing *before* the HTTP/1 server implementation gets access
to the data.

> Coincidentally I have a draft with Paul Hoffman that we're close to
> publishing, that describes how to do DNS over https:// in a way that I
> think will play better with both the http and dns ecosystems than previous
> work in that area. It wouldn't be a http-wg item though, we don't normally
> take FOO-over-HTTP drafts here. That might be a better option - if you want
> to use the https port, and the https alpn token, perhaps the https protocol
> (without constraining its future) is the right choice :)

is the draft you and Paul are working on different than
ietf-dnsop-dns-wireformat-http ?  Can they be reconciled?  See my
response to Roy T. Fielding (upthread) for why the demux approach seems
cleaner and safer for clients as long as we're using stream-based
transport.

I certainly wouldn't want this work to get in the way of
ietf-dnsop-dns-wireformat-http (or any similar proposal), but i don't
think it does.  does it?

        --dkg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOCdgUepHf6PklTkyFJitxsGSMjcFAlkKZRcACgkQFJitxsGS
MjcpLg/+IANNNiqdcRiNPtqoTeSAhn+FIfjXM2CIp0BvxHmRGrnOMtWpb8UZdWPm
OJZ9BuAWhQVz5KO5Ezd7jSmTePQ3rllaeS7T1kamuUcDxG4tgCJdZpaeo3YIEhKL
DldNMrtPqI+NvqsTqpTDGPNSH7OJhrf8uxzrnPMSuRGlJfnp9zWwV1xlpyjD52GB
Klg1FZ3NHSjLhXRBcJCjdWY8j+DnowCNdKpCn+CN0ZR3DjNllx7KwBbXi1+cwwLE
3mhKCwJWxLEMnPAGDpa8uIZcEuBhURjAYDtLX8AgdTW1G19sfIEpz45NeL4mA6Xz
JKl4IcjqH1v5mPzoREB8i2MaE0e27Et3EYBwaTnJj/taH1sdZUmqLNFQ1J6soO9J
zcdpuk0bHIgskvE0IfEw0B9VVFDgcuoltndBz1nzG9KoyglE2N+aex18QX6ey71/
51f9gbvsSr1hkh+rOfukHFEqsdP8ifRWVN4kjYnx3qjlc6qgN96srTDwyEAHuqzH
mqky/V+ewjRBYLudR19jzjKvVFybjpIF59xbGSNFS35jkmJVvRrzgXE8ydeRlCrz
7m1cTpVnDmVLYugE8nS/YuWmh0zexbqljIkjed4DXuM3DMIJk0lqUYUwBYu3IkUF
o5EVoM4r+/dUQvP8AeN3iQDf4B2Y+HwDiXkqcOeKTWXgIGY1d+c=
=3iIK
-----END PGP SIGNATURE-----
--=-=-=--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 16:25:26 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7D6A412773A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 16:25:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s8xFvjfLv2IH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 16:25:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F421F12778E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 16:25:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d63bZ-0006FJ-J9 for ietf-http-wg-dist@listhub.w3.org; Wed, 03 May 2017 23:22:45 +0000
Resent-Date: Wed, 03 May 2017 23:22:45 +0000
Resent-Message-Id: <E1d63bZ-0006FJ-J9@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <dkg@fifthhorseman.net>) id 1d63bN-0006Av-CW for ietf-http-wg@listhub.w3.org; Wed, 03 May 2017 23:22:33 +0000
Received: from che.mayfirst.org ([162.247.75.118]) by titan.w3.org with esmtp (Exim 4.84_2) (envelope-from <dkg@fifthhorseman.net>) id 1d63bH-000059-A7 for ietf-http-wg@w3.org; Wed, 03 May 2017 23:22:28 +0000
Received: from fifthhorseman.net (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id 434A2F98C; Wed,  3 May 2017 19:22:06 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id 0E20B20C10; Wed,  3 May 2017 19:12:04 -0400 (EDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: "Roy T. Fielding" <fielding@gbiv.com>, Joe Touch <touch@ISI.EDU>
Cc: DNS Privacy Working Group <dns-privacy@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
In-Reply-To: <B0511F40-AA89-47C3-93F2-7A5121F842AA@gbiv.com>
References: <87tw51remp.fsf@fifthhorseman.net> <0a2e075d-59fc-1e0d-d745-31f5608a525c@isi.edu> <B0511F40-AA89-47C3-93F2-7A5121F842AA@gbiv.com>
Date: Wed, 03 May 2017 19:12:01 -0400
Message-ID: <87r305r0vy.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: none client-ip=162.247.75.118; envelope-from=dkg@fifthhorseman.net; helo=che.mayfirst.org
X-W3C-Hub-Spam-Status: No, score=-5.5
X-W3C-Hub-Spam-Report: AWL=-0.555, BAYES_00=-1.9, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d63bH-000059-A7 0a09e8bdb736e71ec5252af8ba5f1209
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [dns-privacy] Demultiplexing HTTP and DNS on the same listener [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/87r305r0vy.fsf@fifthhorseman.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33866
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed 2017-05-03 12:35:52 -0700, Roy T. Fielding wrote:
> I see no reason to suggest that spraying DNS on an HTTP connection would
> be interoperable.  HTTP/1.x has a tradition (good or bad) of allowing
> robust parsing of bad messages, which means no analysis of DNS uniqueness
> can guard against the potential variance of a thousand or so independent
> implementations of servers and intermediaries (there are at least four
> figures of independent server development in the craft-your-own-microserv=
er
> category).

Perhaps the draft needs to be clear that this draft provides guidance
for servers that *want* to be able to distinguish a DNS-over-TLS stream
from an HTTP-over-TLS stream.  According to the published specs, a
server is within its rights to not treat invalid HTTP requests as valid
HTTP requests, right?

> In contrast, it is trivial to transform a DNS query into a GET request
> which can be handled by any current or future version of HTTP.
> All you need is the absolute URI, which is already defined, and a
> media type for the response payload.  That would just be using HTTP,
> so no need to call that an update either.

Agreed on this one, quoting from the draft:

    If being able to interleave DNS queries with HTTP requests on a
    single stream is desired, a strategy like
    {{I-D.ietf-dnsop-dns-wireformat-http}} is recommended instead.

The advantage of draft-dkg-dprive-demux-dns-http over this approach is
that existing DNS-over-TLS clients (of which there are several) don't
need to learn any HTTP framing or parsing, and can simply be repointed
to a server that already supports this demultiplexing on port 443.

For folks in the HTTP world that might sound like "just use HTTP", but
for an existing DNS client, it's an entirely different codebase to adopt
(or to build), with all the attendant bugs and maintenance risks.

Regards,

        --dkg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIyBAEBCgAdFiEEOCdgUepHf6PklTkyFJitxsGSMjcFAlkKY8EACgkQFJitxsGS
MjdKBw/4iAFYAZ+E6WroYfk3x45ttO2aycaUS7NKgHd3jD/cwUc1051IyJKyGjID
mrLCCHhslMN3e1+yva3hSEoeDq/9+JhF4mBIiAnvO6vEYAzyZvcY0T/SpCo1Da5G
fn1w6Zc3UoR2dReaZbYtbJzqilubgTnsMd3hHozfYDgUlw7OPXKsOg19uKrL9WRG
8pUtHgfff2gh2WKPusUDGmIAPG3Z8go2DfSzDHVa0zdTrr50HNX9HlNv/W9zAkLr
CSRXj2gbNfq1Q5bumj5eGC/fscuFbm7Q3YDnlK/seCYEAXjzVFP9Ezq5Aa2I+FOC
AYZ53gD8Q/5M1nJi3O/KrbmGkXfr/QZyxlQlcxoq8VPuCrkqUq2IZDQsvyZYTaeh
+1/vkCuYVs2hlYASaG5y2VP+sPNQPuFmUfDO1fkLxbByzAxNk0si6QjTFxJwy/TJ
7v+EP0vTloMsAUF/yKhb5hiVvxwgPls1TVkxWeKp1RbNeIO9xmaY5NCnGDBOiK6v
js4AQWmDliYHQv2DsOwJpKFcxecQrf6U+sepHCV+2wWHhILoPRAiDPNus6li82IB
k3vHf0o2+OLuS6PfMQXCSlvpJe1kNwXXDHg/S/Iw7/LBItsCOomJp7NROakuh/6n
SISDOEK8fH8BZgP09SihH9aJxw0x8HeM9c6CS6qZps164dOT3Q==
=KS6C
-----END PGP SIGNATURE-----
--=-=-=--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 16:45:39 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 165AE128B8E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 16:45:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7rdQ_BiZwN91 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 16:45:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5DAFB128959 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 16:45:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d63nk-000746-8y for ietf-http-wg-dist@listhub.w3.org; Wed, 03 May 2017 23:35:20 +0000
Resent-Date: Wed, 03 May 2017 23:35:20 +0000
Resent-Message-Id: <E1d63nk-000746-8y@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <rousskov@measurement-factory.com>) id 1d63nh-00073J-2r for ietf-http-wg@listhub.w3.org; Wed, 03 May 2017 23:35:17 +0000
Received: from mail.measurement-factory.com ([104.237.131.42]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <rousskov@measurement-factory.com>) id 1d63nb-0000MD-1U for ietf-http-wg@w3.org; Wed, 03 May 2017 23:35:11 +0000
Received: from [65.102.233.169] (unknown [65.102.233.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.measurement-factory.com (Postfix) with ESMTPSA id 573A8E02F; Wed,  3 May 2017 23:34:48 +0000 (UTC)
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <87o9v9r0mh.fsf@fifthhorseman.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
From: Alex Rousskov <rousskov@measurement-factory.com>
Message-ID: <2564afa5-1a0d-c3e0-e620-37d67482ce28@measurement-factory.com>
Date: Wed, 3 May 2017 17:34:47 -0600
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <87o9v9r0mh.fsf@fifthhorseman.net>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=104.237.131.42; envelope-from=rousskov@measurement-factory.com; helo=mail.measurement-factory.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: AWL=-0.249, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d63nb-0000MD-1U d977e8469ca014ca136abcd1e572f8fb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version  Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/2564afa5-1a0d-c3e0-e620-37d67482ce28@measurement-factory.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33867
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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/03/2017 05:17 PM, Daniel Kahn Gillmor wrote:
> The idea of the demuxing stage is that a server that opts into this would
> put the demuxing *before* the HTTP/1 server implementation gets access
> to the data.

Think of the HTTP proxies, not just origin servers. Using an HTTP proxy
is often _required_ when sending traffic over an HTTP port. These HTTP
proxies will break all the muxed DNS traffic they will get. Opting them
"in" will be a lot more difficult than opting a specialized origin
server that wants to participate...

And yes, this deployment concern applies to port 443 traffic as well,
unfortunately.

Alex.



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 16:47:59 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 01245128BA2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 16:47:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oREAtq9ObISb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 16:47:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2CF98127A91 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 16:47:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d63bQ-0006Dd-Rr for ietf-http-wg-dist@listhub.w3.org; Wed, 03 May 2017 23:22:36 +0000
Resent-Date: Wed, 03 May 2017 23:22:36 +0000
Resent-Message-Id: <E1d63bQ-0006Dd-Rr@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <dkg@fifthhorseman.net>) id 1d63bN-0006Aw-CW for ietf-http-wg@listhub.w3.org; Wed, 03 May 2017 23:22:33 +0000
Received: from che.mayfirst.org ([162.247.75.118]) by titan.w3.org with esmtp (Exim 4.84_2) (envelope-from <dkg@fifthhorseman.net>) id 1d63bH-000057-A5 for ietf-http-wg@w3.org; Wed, 03 May 2017 23:22:28 +0000
Received: from fifthhorseman.net (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id 5DCDAF997; Wed,  3 May 2017 19:22:06 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id 2E4C72126D; Wed,  3 May 2017 19:21:48 -0400 (EDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Patrick McManus <mcmanus@ducksong.com>, Patrick McManus <mcmanus@ducksong.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
In-Reply-To: <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com>
Date: Wed, 03 May 2017 19:21:44 -0400
Message-ID: <87lgqdr0fr.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: none client-ip=162.247.75.118; envelope-from=dkg@fifthhorseman.net; helo=che.mayfirst.org
X-W3C-Hub-Spam-Status: No, score=-5.4
X-W3C-Hub-Spam-Report: AWL=-0.539, BAYES_00=-1.9, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d63bH-000057-A5 c66efb6a168748147b67da0939fe414d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/87lgqdr0fr.fsf@fifthhorseman.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33864
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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-Type: text/plain

On Wed 2017-05-03 15:13:43 -0400, Patrick McManus wrote:
> I forgot to mention another potential challenge with the demux approach -
> h2 is not client send first.. typically both sides send SETTINGS
> simultaneously.. and its important to the server not to hold those back
> .5RTT as it can contain a bunch of configuration information (buffer
> sizing, levels of parallelism, extension negotiation, etc..) that it wants
> the client to start honoring asap. (Whether this is actually simultaneous
> boils down to which flavor of tls handshake is done.)

Ah!  Thanks for this heads-up.  That's definitely an interesting
wrinkle.  How does this interact with HTTP/1 clients connecting to the
service?  or is it only possible to do this because of the negotiated
ALPN?

If so, perhaps the demuxing needs to be done only when not sending an
alpn of "h2", and the draft can drop the HTTP/2 section.  What do you
think?

     --dkg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOCdgUepHf6PklTkyFJitxsGSMjcFAlkKZggACgkQFJitxsGS
Mjc+tA//dhF87czK2DA2rHibeHOe+SWhEGnbJfqsP7KDVa/VmEMPHZDFsZodznrC
cf0s25ANKBNfcZE+Rgmg0p6KN+wWcO6gJqY1xFX24TTix5jDR7gC+er2DIQAAOi2
BBrO/lYKGUOwhRAbOi1J/qMfsbNauth8DubayoeSY92SGPur8un8zVZvC82uc9hD
D5KQuqgscK0k+ROyLWOKBMOdZZIo4XXLb4QCzU0Kr1N+qmq0QeFWX5KqbuRCEXFL
994UY3UmpWZ90MkVQ24wcMYrlsoRaBE505lKzLcwImmBALpp//XZtDOiCCYSGX7m
yxNWOLfwjkuPScuzTxR9hNYwaM8ARqnlAXuuaErEZE5h3LgSRMKYEXJgFHQNOkMb
Uxi3p3By6QFkCFsJciDjZlU2u+KHSY+b0FD8xSLe2pi/2mwyNBGj3FcewDUfX8vR
EV08eitJCVXA1Jo7rSUMSZwueou+iz+u0HbLUcGKHmcmGdFqavRs5PcdcB8InV4W
UzQxpRb1MRouWMDCV1blhu6k9Zy26lzBe51NorqASsVIIZ3DCkgpcZWaf5O2riXc
ynUgq2U+IQhp+HY9JtU5WmZL1ogOq/X7XuahF15T8wtgLsoQ4K4HSTt5Lo47C0Ra
AXYMvVp9QpOEzS2h02Pw0p0APL20zYjyNpl77cnmk5KOJcw5J+4=
=Wb/p
-----END PGP SIGNATURE-----
--=-=-=--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 16:53:17 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D987A128CD5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 16:53:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4MfntlsNBc76 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 16:53:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7E26A128CB9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 16:53:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d642Z-00022h-QK for ietf-http-wg-dist@listhub.w3.org; Wed, 03 May 2017 23:50:39 +0000
Resent-Date: Wed, 03 May 2017 23:50:39 +0000
Resent-Message-Id: <E1d642Z-00022h-QK@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <dkg@fifthhorseman.net>) id 1d642W-00021L-Ik for ietf-http-wg@listhub.w3.org; Wed, 03 May 2017 23:50:36 +0000
Received: from che.mayfirst.org ([162.247.75.118]) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <dkg@fifthhorseman.net>) id 1d642N-0003vy-Qm for ietf-http-wg@w3.org; Wed, 03 May 2017 23:50:31 +0000
Received: from fifthhorseman.net (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id A7156F98C; Wed,  3 May 2017 19:50:07 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id 533D020C10; Wed,  3 May 2017 19:50:03 -0400 (EDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Colm =?utf-8?Q?MacC=C3=A1rthaigh?= <colm@allcosts.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
In-Reply-To: <CAAF6GDcn0Jn3jCeOBts5t53WnY8TA1wz=QXRMJugV0AQr75q5w@mail.gmail.com>
References: <87tw51remp.fsf@fifthhorseman.net> <CAAF6GDcn0Jn3jCeOBts5t53WnY8TA1wz=QXRMJugV0AQr75q5w@mail.gmail.com>
Date: Wed, 03 May 2017 19:50:00 -0400
Message-ID: <87inlhqz4n.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: none client-ip=162.247.75.118; envelope-from=dkg@fifthhorseman.net; helo=che.mayfirst.org
X-W3C-Hub-Spam-Status: No, score=-5.4
X-W3C-Hub-Spam-Report: AWL=-0.539, BAYES_00=-1.9, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d642N-0003vy-Qm 8da2660e5a02db4f75b987082e67ab46
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [dns-privacy] Demultiplexing HTTP and DNS on the same listener [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/87inlhqz4n.fsf@fifthhorseman.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33868
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Colm--

On Wed 2017-05-03 12:26:40 -0700, Colm MacC=C3=A1rthaigh wrote:
> Cool idea. One concern might be compatibility with other similar
> mechanisms. For example, there are protocols such as Netscaler Client IP:
>
> https://www.citrix.com/blogs/2016/04/25/how-to-enable-client-ip-in-tcpip-=
option-of-netscaler/
>
> or HAProxy's Proxy Protocol:
>
> https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt
>
> Where proxies may insert their own pre-amble on the connection, to pass on
> something like an L4 X-Forwarded-For.
>
> Sometimes the backends behind these proxies have to accept traffic direct=
ly
> too, and they fingerprint the first few bytes to determine whether it's a
> direct HTTP connection, or a proxied request. I haven't thought through i=
t,
> but it might get a little complicated doing two levels of demuxing, and it
> might not even be possible in some cases.

Thanks for the pointers to these protocols!  It's good to know that
people are already doing this sort of demuxing on the fly in some cases,
and that they haven't broken HTTP for everyone else yet :)

One approach for the current draft would be to explicitly call these
protocols out as things that are incompatible with he proposed form of
demuxing.  I'd be happy to add a generic "do not mix this mechanism with
other similar mechanisms" section.  I've just opened
https://gitlab.com/dkg/hddemux/issues/2 to make sure that doesn't get
lost.

FWIW, it actually looks like both versions of haproxy's Proxy Protocol
can be distinguished from DNS just by looking at the same octet ranges.
For the human-readable protocol, its first many octets (more than 14 of
them) are all within the 0x0A and 0x7F range.  for the binary protocol,
its initial static 12-octet preamble puts a 0xD nybble directly in the
DNS header's RCODE field, which should be 0x0 in a DNS stream assuming
the initial client message must be a Query and not a Response.

But i don't plan to turn this draft into a generic
how-to-demux-anything-with-anything draft, so i don't think i'll write
that up more formally ;)

So i think the result is to say that if a server is already demuxing an
inbound stream based on the same octets, they might not want to adopt
this.  Do you have any qualms with making this particular concern
something that is out-of-scope for the draft?

Regards,

        --dkg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOCdgUepHf6PklTkyFJitxsGSMjcFAlkKbKgACgkQFJitxsGS
MjdEwBAAhk6rxWvB/Ct4Kz5swsOzy6ZU/dBXC7ETYRWIkOSYAO/DPmRE6AqWlraf
aS+il9AzQsUeb4sD0DUgcGYSUJMD1hvQ5HTP3/+6lVivSTzKA3PtTsx5R1VoQvRi
FhXP3qbtR/+oRUkT7bD863A5nSyvYPwCrfEPRdHT22Ci2i3wJTfJi9IpOnygpyPp
NFjs6L4ds//5X3ycs1hrgf56kADrsWUnWhbdl5mg4/dWXl90fqFG+ggzGH7f3LY6
adYuAZw+HXfV3xDGY5S0KtSIzIMN7FTcYIoli6AORsW4gxwgT4o1+BOzOsb+Z6mK
BYBqWJTfcrzWkpR+9Yqu4CIkb5C117iUxI1EG2ELJu1BnqWp6Ods//YHcCkws2vT
W0ZAiHFapW1JeIrT95vdYmjZvUXUpHxwEClZJ+zRxKdj7JdGRByIbymgvl+HZNCd
GG2yauqW+O3VqVh0l+pwhKwmcmr3m2rqZ3q0gohyUYx5tJimfuK2R2H9JM9CTa8r
jbBi/PaGGCgYleQOw8DO9ERN6ziaeIgXTXoOjNOgvjazpSJnS8kwmrBtycAy4wXk
wSG8D3wjzbgvLoV6kS+Ti7bv56LUwysxR8hF+x+BFNct4jL30bc5nTS0ZcadXVqU
8IqV4/E7IKFx4qMwQHf1m0xIMoOTDW3z015KkLmFi/raqLHbIxs=
=WJMe
-----END PGP SIGNATURE-----
--=-=-=--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 17:18:28 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 19C131293E1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 17:18:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.002
X-Spam-Level:
X-Spam-Status: No, score=-7.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tXqXlXfC9S9H for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 17:18:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0E1EA128D6F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 17:18:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d64QX-0000r6-ES for ietf-http-wg-dist@listhub.w3.org; Thu, 04 May 2017 00:15:25 +0000
Resent-Date: Thu, 04 May 2017 00:15:25 +0000
Resent-Message-Id: <E1d64QX-0000r6-ES@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <Michael.Bishop@microsoft.com>) id 1d64QS-0000hL-N7 for ietf-http-wg@listhub.w3.org; Thu, 04 May 2017 00:15:20 +0000
Received: from mail-by2nam03on0113.outbound.protection.outlook.com ([104.47.42.113] helo=NAM03-BY2-obe.outbound.protection.outlook.com) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from <Michael.Bishop@microsoft.com>) id 1d64QL-0001jM-NH for ietf-http-wg@w3.org; Thu, 04 May 2017 00:15:15 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=xJZTWRu98gCm/xWe5Xc7Ac+MvFSAYtC5gZR3+FVq0uU=; b=TDD3eRY3XaOVBztILUqPYQ7pnAX9T7caOiC5ig8Oz6pLQXXcUSEYfboLX160RXSW/qv5yllh/NhZLM4HqDNvgHTfT2ROxoxBiPt5nUxaykhOYEuntL/mO30nIl29+y1UV3Je/Bw9a510dLhnUI5qy/HMiAeAnSUEPBQu0iiA6ZU=
Received: from BN6PR03MB2708.namprd03.prod.outlook.com (10.173.144.15) by BN6PR03MB2708.namprd03.prod.outlook.com (10.173.144.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12; Thu, 4 May 2017 00:14:44 +0000
Received: from BN6PR03MB2708.namprd03.prod.outlook.com ([10.173.144.15]) by BN6PR03MB2708.namprd03.prod.outlook.com ([10.173.144.15]) with mapi id 15.01.1061.021; Thu, 4 May 2017 00:14:44 +0000
From: Mike Bishop <Michael.Bishop@microsoft.com>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Patrick McManus <mcmanus@ducksong.com>, Patrick McManus <mcmanus@ducksong.com>
CC: HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
Thread-Topic: Demultiplexing HTTP and DNS on the same listener [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
Thread-Index: AQHSxGSVzArpJBnINkKlwlv/ObjAOKHjTeBg
Date: Thu, 4 May 2017 00:14:44 +0000
Message-ID: <BN6PR03MB27085632B5CBA7324894699487EA0@BN6PR03MB2708.namprd03.prod.outlook.com>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com> <87lgqdr0fr.fsf@fifthhorseman.net>
In-Reply-To: <87lgqdr0fr.fsf@fifthhorseman.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: fifthhorseman.net; dkim=none (message not signed) header.d=none;fifthhorseman.net; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [2601:600:8080:63a8:2891:f5f5:9743:f4c8]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1;BN6PR03MB2708;7:qD/5pVDcjbf7FxJLFSuGiFWR1Mj4TQ8Dca6/QMtOcPcKHIRVolI7BDSciW3p1tziDec3xZFJsdGAPoG2aCf16+7K5DrMgY1LEjRCLg3bqmTQY6UMkiCBexDd/DQ6UjSp7zUWa/1u5Dc3GUABCgyAL4hVnHqYfmQSWt7ri2EpkADO68DuajgoB2HG6g+11CAl0M20tRQiuYNSZX7g5USBcHafg9/vHXSJnV4Ov9XxpeAYTJ6CwoyYAtiJpKJU3MCZnPmO8EN/Phxtj6+XPWbKCZrwP1A9PLEnNEgxIHxO1tynMYGCRzjsOlFLyMNfExZEm8exW9rXHYOiGMy211scnuA+pafm7lhE2frCGmI0iKQ=
x-ms-office365-filtering-correlation-id: 68bad1e6-e3c1-4391-97ef-08d492829155
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081)(201702281549075);SRVR:BN6PR03MB2708;
x-microsoft-antispam-prvs: <BN6PR03MB270871F2C5D86E09AADCBF1687EA0@BN6PR03MB2708.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(35073007944872);
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041248)(20161123564025)(20161123562025)(20161123558100)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(6072148);SRVR:BN6PR03MB2708;BCL:0;PCL:0;RULEID:;SRVR:BN6PR03MB2708;
x-forefront-prvs: 02973C87BC
x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(39410400002)(39400400002)(39860400002)(39840400002)(39850400002)(39450400003)(13464003)(76104003)(24454002)(377454003)(377424004)(305945005)(6436002)(54906002)(77096006)(6506006)(74316002)(7736002)(10290500003)(53546009)(3280700002)(33656002)(99286003)(7696004)(86612001)(25786009)(478600001)(38730400002)(9686003)(53936002)(86362001)(4326008)(5660300001)(55016002)(230783001)(76176999)(2950100002)(50986999)(54356999)(229853002)(122556002)(8676002)(3660700001)(93886004)(189998001)(6116002)(2906002)(81166006)(8936002)(10090500001)(102836003)(6246003)(15650500001)(2900100001);DIR:OUT;SFP:1102;SCL:1;SRVR:BN6PR03MB2708;H:BN6PR03MB2708.namprd03.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2017 00:14:44.5480 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2708
Received-SPF: pass client-ip=104.47.42.113; envelope-from=Michael.Bishop@microsoft.com; helo=NAM03-BY2-obe.outbound.protection.outlook.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: AWL=-1.139, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_NW=0.5
X-W3C-Scan-Sig: titan.w3.org 1d64QL-0001jM-NH 7af20bc75e78db70a6294f6f2ab97b72
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Demultiplexing HTTP and DNS on the same listener [New Version  Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/BN6PR03MB27085632B5CBA7324894699487EA0@BN6PR03MB2708.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33869
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 ALPN.  At first blush, I would pick a different ALPN token for h2+DNS =
and define it as a new, derivative protocol.

-----Original Message-----
From: Daniel Kahn Gillmor [mailto:dkg@fifthhorseman.net]=20
Sent: Wednesday, May 3, 2017 4:22 PM
To: Patrick McManus <mcmanus@ducksong.com>; Patrick McManus <mcmanus@duckso=
ng.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>; DNS Privacy Working Group <dn=
s-privacy@ietf.org>
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version =
Notification for draft-dkg-dprive-demux-dns-http-02]

On Wed 2017-05-03 15:13:43 -0400, Patrick McManus wrote:
> I forgot to mention another potential challenge with the demux=20
> approach -
> h2 is not client send first.. typically both sides send SETTINGS=20
> simultaneously.. and its important to the server not to hold those=20
> back .5RTT as it can contain a bunch of configuration information=20
> (buffer sizing, levels of parallelism, extension negotiation, etc..)=20
> that it wants the client to start honoring asap. (Whether this is=20
> actually simultaneous boils down to which flavor of tls handshake is=20
> done.)

Ah!  Thanks for this heads-up.  That's definitely an interesting wrinkle.  =
How does this interact with HTTP/1 clients connecting to the service?  or i=
s it only possible to do this because of the negotiated ALPN?

If so, perhaps the demuxing needs to be done only when not sending an alpn =
of "h2", and the draft can drop the HTTP/2 section.  What do you think?

     --dkg


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 17:24:15 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3AEB61293E8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 17:24:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.502
X-Spam-Level:
X-Spam-Status: No, score=-6.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E-fDpNtI3aXj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 17:24:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1879B1293E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 17:24:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d64Wr-0003db-Sz for ietf-http-wg-dist@listhub.w3.org; Thu, 04 May 2017 00:21:57 +0000
Resent-Date: Thu, 04 May 2017 00:21:57 +0000
Resent-Message-Id: <E1d64Wr-0003db-Sz@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1d64Wp-0003c4-1z for ietf-http-wg@listhub.w3.org; Thu, 04 May 2017 00:21:55 +0000
Received: from mail-lf0-f47.google.com ([209.85.215.47]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <martin.thomson@gmail.com>) id 1d64Wi-0004sW-Vu for ietf-http-wg@w3.org; Thu, 04 May 2017 00:21:49 +0000
Received: by mail-lf0-f47.google.com with SMTP id h4so2548435lfj.3 for <ietf-http-wg@w3.org>; Wed, 03 May 2017 17:21:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5pHo9jTgG3PxiuKa+ewHKExo4yHmjAxVbKL7MDL798E=; b=XhTjbVrgdLNLQCfu5rAO/D6JjY0pYrLYW+Hn8eX06OsoGF1k3tg6dENhSueZZtBbk/ 3cBLY/Z8mvwHrEem0gSinRgbyEGllJrpDejrOs2E3yiw9OgpPGEp2Ogf4fQ1MaGQxph5 Dh6N50Vbi75TG6acjYejE2WJJRh6WIsYmeXg8wh0XU4fbJz5pNw2kwoQ9Wua4myeNDgo gzHZVAq+AfSqr/MwJZQ7B01J7MuwycqMqqyusuI09JXT1ZRI0ZJgMP+Go1l8Z20J0oht Tep/eRgF6Db4g9EgarOkIBIL8yqUQSePMMXTaijnTSM2ZyK9BZqvqhSQvODi5x9V8Dcf GzzA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5pHo9jTgG3PxiuKa+ewHKExo4yHmjAxVbKL7MDL798E=; b=dDUDcLJzZovMNEmQ9v+xfJdbfGu4MfrPjq0bi6psfdHe17JH0Xli8XFl5E2OMYTGRc EUxUklP+r1M6SDIXZ1Dze05xa6pdadfRuMRnrTc1+sYBKL5YREJmPywd5uQvxMfoGC/P fiHXflYApmhFrukcgUi451cbc+m5/g4Nxf4hOIgtR4T0FGFul/hhjDhTWXi4LJJ3KdOy +dcQ6vYBmMnH+E/DcM56ujAbqPpIxZVvz6SQ6U0mAYGdSOSKb2LhT9SaYYQQuJMkvEnr ol4k/81IQslSH/y5eoujAMf9vtdRGzrmtiQSrlnbRf4objZdG8knSrqgBj3OcvX/XRV1 f0oA==
X-Gm-Message-State: AN3rC/4FZlo4T2BZz3xDl7hzPmyvqXCcFjlINR7nfEwJeoUVB7sUrj60 1JsPei9ayRtx0+U9pe3U66pIw9mcfQ==
X-Received: by 10.25.76.6 with SMTP id z6mr12722463lfa.172.1493857281605; Wed, 03 May 2017 17:21:21 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.83.2 with HTTP; Wed, 3 May 2017 17:21:20 -0700 (PDT)
In-Reply-To: <BN6PR03MB27085632B5CBA7324894699487EA0@BN6PR03MB2708.namprd03.prod.outlook.com>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com> <87lgqdr0fr.fsf@fifthhorseman.net> <BN6PR03MB27085632B5CBA7324894699487EA0@BN6PR03MB2708.namprd03.prod.outlook.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 4 May 2017 10:21:20 +1000
Message-ID: <CABkgnnVLasxAfsezDp4H0cSOme5okHUY0ruG7EzgsNEW89SmDQ@mail.gmail.com>
To: Mike Bishop <Michael.Bishop@microsoft.com>
Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Patrick McManus <mcmanus@ducksong.com>,  HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.215.47; envelope-from=martin.thomson@gmail.com; helo=mail-lf0-f47.google.com
X-W3C-Hub-Spam-Status: No, score=-5.7
X-W3C-Hub-Spam-Report: AWL=-0.210, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d64Wi-0004sW-Vu 1ad3fa64bc295f1430847efdc9ad4ba7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version  Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/CABkgnnVLasxAfsezDp4H0cSOme5okHUY0ruG7EzgsNEW89SmDQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33870
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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 May 2017 at 10:14, Mike Bishop <Michael.Bishop@microsoft.com> wrote:
> It's ALPN.  At first blush, I would pick a different ALPN token for h2+DNS and define it as a new, derivative protocol.

For DKG to realize his goal, every client would have to offer that
label.  That's not impossible, nor does it make it a bad choice, but
you have to realize that this isn't as good an outcome.


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 17:41:44 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A719F129477 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 17:41:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.401
X-Spam-Level:
X-Spam-Status: No, score=-6.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sendgrid.me
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8eKpRUNRDMaO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 17:41:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CC66C12947A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 17:41:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d64mP-00065E-Cp for ietf-http-wg-dist@listhub.w3.org; Thu, 04 May 2017 00:38:01 +0000
Resent-Date: Thu, 04 May 2017 00:38:01 +0000
Resent-Message-Id: <E1d64mP-00065E-Cp@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1d64mL-00064T-0l for ietf-http-wg@listhub.w3.org; Thu, 04 May 2017 00:37:57 +0000
Received: from o1682455182.outbound-mail.sendgrid.net ([168.245.5.182]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1d64mE-0005BT-7F for ietf-http-wg@w3.org; Thu, 04 May 2017 00:37:51 +0000
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me;  h=mime-version:in-reply-to:references:from:subject:to:cc:content-type;  s=smtpapi; bh=qNvZC24M1FiiPvjRoNg8U8MjAhg=; b=vSOYaql/rkmu2zPSEd Mtmw0UQJDslmLe3XyJPHBt440bAbOVekknNC9ilnX9xFWs3uY2N6FmD0hZ8Ubtzw 1uXh96ovo+cD1D1AIRUcXs9IzBfb9TwlIi9XD6UEgNidlp+SFKDntxyFu+eCZn6f nRBFpv0zoDY7ssOn61rDko4/I=
Received: by filter0936p1mdw1.sendgrid.net with SMTP id filter0936p1mdw1-18684-590A77C2-2E 2017-05-04 00:37:22.568011044 +0000 UTC
Received: from mail-qk0-f175.google.com (mail-qk0-f175.google.com [209.85.220.175]) by ismtpd0003p1iad1.sendgrid.net (SG) with ESMTP id IWuY8J0FSp6Gu1_Lju5VRA for <ietf-http-wg@w3.org>; Thu, 04 May 2017 00:37:22.503 +0000 (UTC)
Received: by mail-qk0-f175.google.com with SMTP id k74so4801966qke.1 for <ietf-http-wg@w3.org>; Wed, 03 May 2017 17:37:22 -0700 (PDT)
X-Gm-Message-State: AN3rC/4uP2p+qXoggg9UZI8Ptto+mTX5dAjMiWd+U356QFqWTilmd/Dg NY3XWr436Cbfm3o2kbvj6b0lIoq6TQ==
X-Received: by 10.55.159.68 with SMTP id i65mr5183568qke.313.1493858242355; Wed, 03 May 2017 17:37:22 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.182.31 with HTTP; Wed, 3 May 2017 17:37:21 -0700 (PDT)
In-Reply-To: <87o9v9r0mh.fsf@fifthhorseman.net>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <87o9v9r0mh.fsf@fifthhorseman.net>
From: Patrick McManus <mcmanus@ducksong.com>
Date: Wed, 3 May 2017 20:37:21 -0400
X-Gmail-Original-Message-ID: <CAOdDvNqB7n60nZV9Y45gHOD6jEC50Xjyq4SJKchniJhwK8nXXQ@mail.gmail.com>
Message-ID: <CAOdDvNqB7n60nZV9Y45gHOD6jEC50Xjyq4SJKchniJhwK8nXXQ@mail.gmail.com>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Cc: Patrick McManus <mcmanus@ducksong.com>, HTTP Working Group <ietf-http-wg@w3.org>,  DNS Privacy Working Group <dns-privacy@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c06fd74e16c5c054ea7f9b2
X-SG-EID: YLWet4rakcOTMHWvPPwWbcsiUJbN1FCn0PHYd/Uujh4gz4cKxYnNMY4R/xUF85r5o5BOAnQ6esULYO 9EhVxYMnuy0aisxaCj2wFHhUkgkt6nVlbzKxFOzSer8XNlk3lXYFPKMTM7ZyW3Y1WqWRIKPKlzx/2n 5ZtZ8SvWRRcop4WaXjQUP+4QrjPPvPiKiGGlq9VvYqDj3y1A8F3ST1i3tx7pUHVezTZNgo3uYp7RwO c=
Received-SPF: pass client-ip=168.245.5.182; envelope-from=bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net; helo=o1682455182.outbound-mail.sendgrid.net
X-W3C-Hub-Spam-Status: No, score=-6.6
X-W3C-Hub-Spam-Report: AWL=0.568, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d64mE-0005BT-7F 4d61bd1f65f104dea229d159a31eddad
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version  Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/CAOdDvNqB7n60nZV9Y45gHOD6jEC50Xjyq4SJKchniJhwK8nXXQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33871
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--94eb2c06fd74e16c5c054ea7f9b2
Content-Type: text/plain; charset=UTF-8

On Wed, May 3, 2017 at 7:17 PM, Daniel Kahn Gillmor <dkg@fifthhorseman.net>
wrote:

> Hi Patrick--
>
> On Wed 2017-05-03 14:57:24 -0400, Patrick McManus wrote:
>
> > My initial response is that legacy HTTP/1 implementations will sink you
> by
> > scanning for stuff that looks like HTTP in your stream - even if the
> > leading bytes don't match the production those RFCs required (and
> HTTP/1.0
> > is only informational anyhow). You can look at the websockets masking
> > madness to see the lengths the community went to to avoid that kind of
> > detection in rfc 6455.
>
> Are you talking about an existing HTTP/1 server implementation?
>

the whole ecosystem - so lbs, av, firewalls, etc.. roy makes a similar
point.


>
> > Coincidentally I have a draft with Paul Hoffman that we're close to
> > publishing, that describes how to do DNS over https:// in a way that I
> > think will play better with both the http and dns ecosystems than
> previous
> > work in that area. It wouldn't be a http-wg item though, we don't
> normally
> > take FOO-over-HTTP drafts here. That might be a better option - if you
> want
> > to use the https port, and the https alpn token, perhaps the https
> protocol
> > (without constraining its future) is the right choice :)
>
> is the draft you and Paul are working on different than
> ietf-dnsop-dns-wireformat-http ?  Can they be reconciled?  See my
>

its a superset of that -more aligned with HTTP than that draft, but it can
also carry wireformat.

your work doesn't break it anymore than it breaks h2 generally :)



> response to Roy T. Fielding (upthread) for why the demux approach seems
> cleaner and safer for clients as long as we're using stream-based
> transport.
>
>
I totally support the end goal here of dns looking like https.. but
honestly I didn't hear anything about cleaner and safer. I heard that you
wanted to use the https port, the https alpn token, and constrain the http
protocol, but found the requirement to implement http burdening :) The most
straightforward way seems to make dns look like https is to actually carry
it in https.

perhaps we could work together on making a dns client more capable in this
regard?



> I certainly wouldn't want this work to get in the way of
> ietf-dnsop-dns-wireformat-http (or any similar proposal), but i don't
> think it does.  does it?
>
>         --dkg
>

--94eb2c06fd74e16c5c054ea7f9b2
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 3, 2017 at 7:17 PM, Daniel Kahn Gillmor <span dir=3D"ltr">&=
lt;<a href=3D"mailto:dkg@fifthhorseman.net" target=3D"_blank">dkg@fifthhors=
eman.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">Hi Patri=
ck--<br>
<span class=3D""><br>
On Wed 2017-05-03 14:57:24 -0400, Patrick McManus wrote:<br>
<br>
&gt; My initial response is that legacy HTTP/1 implementations will sink yo=
u by<br>
&gt; scanning for stuff that looks like HTTP in your stream - even if the<b=
r>
&gt; leading bytes don&#39;t match the production those RFCs required (and =
HTTP/1.0<br>
&gt; is only informational anyhow). You can look at the websockets masking<=
br>
&gt; madness to see the lengths the community went to to avoid that kind of=
<br>
&gt; detection in rfc 6455.<br>
<br>
</span>Are you talking about an existing HTTP/1 server implementation?=C2=
=A0 <br></blockquote><div><br></div><div>the whole ecosystem - so lbs, av, =
firewalls, etc.. roy makes a similar point.<br></div><div>=C2=A0</div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex">
<span class=3D""><br>
&gt; Coincidentally I have a draft with Paul Hoffman that we&#39;re close t=
o<br>
&gt; publishing, that describes how to do DNS over https:// in a way that I=
<br>
&gt; think will play better with both the http and dns ecosystems than prev=
ious<br>
&gt; work in that area. It wouldn&#39;t be a http-wg item though, we don&#3=
9;t normally<br>
&gt; take FOO-over-HTTP drafts here. That might be a better option - if you=
 want<br>
&gt; to use the https port, and the https alpn token, perhaps the https pro=
tocol<br>
&gt; (without constraining its future) is the right choice :)<br>
<br>
</span>is the draft you and Paul are working on different than<br>
ietf-dnsop-dns-wireformat-http ?=C2=A0 Can they be reconciled?=C2=A0 See my=
<br>
</blockquote><div><br></div><div>its a superset of that -more aligned with =
HTTP than that draft, but it can also carry wireformat.</div><div><br></div=
><div>your work doesn&#39;t break it anymore than it breaks h2 generally :)=
<br></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">re=
sponse to Roy T. Fielding (upthread) for why the demux approach seems<br>
cleaner and safer for clients as long as we&#39;re using stream-based<br>
transport.<br>
<br></blockquote><div><br></div><div>I totally support the end goal here of=
 dns looking like https.. but honestly I didn&#39;t hear anything about cle=
aner and safer. I heard that you wanted to use the https port, the https al=
pn token, and constrain the http protocol, but found the requirement to imp=
lement http burdening :) The most straightforward way seems to make dns loo=
k like https is to actually carry it in https.<br></div><div><br></div><div=
>perhaps we could work together on making a dns client more capable in this=
 regard?<br></div><div><br></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">
I certainly wouldn&#39;t want this work to get in the way of<br>
ietf-dnsop-dns-wireformat-http (or any similar proposal), but i don&#39;t<b=
r>
think it does.=C2=A0 does it?<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 --dkg<br>
</font></span></blockquote></div><br></div></div>

--94eb2c06fd74e16c5c054ea7f9b2--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 17:53:06 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B5A8E129479 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 17:53:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.401
X-Spam-Level:
X-Spam-Status: No, score=-6.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sendgrid.me
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Shfaz5njt191 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 17:53:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 05EBC1292D3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 17:53:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d64yN-0006fz-MS for ietf-http-wg-dist@listhub.w3.org; Thu, 04 May 2017 00:50:23 +0000
Resent-Date: Thu, 04 May 2017 00:50:23 +0000
Resent-Message-Id: <E1d64yN-0006fz-MS@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1d64yJ-0006f9-6G for ietf-http-wg@listhub.w3.org; Thu, 04 May 2017 00:50:19 +0000
Received: from o1678950229.outbound-mail.sendgrid.net ([167.89.50.229]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1d64yC-0005Qe-A2 for ietf-http-wg@w3.org; Thu, 04 May 2017 00:50:13 +0000
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me;  h=mime-version:in-reply-to:references:from:subject:to:cc:content-type;  s=smtpapi; bh=gum8ATvHbPzjbTawxI1/G01/vik=; b=FO2RXi9FfiDu4d6Xoe V1M956KExBC8Y4BbaCTWia8COqC2gu+3CQZIgPB/00SjOxI5nbbybqQ3AZmx1Xkz ASfwzfUc/HMSaUlaKY9XlXMCDmW/4duQ1Iqgy6w+eR7X4vYLuOIWIlOpZfSYF8qk gg5IaEhf/qyhckIeRfDwqY/r8=
Received: by filter0805p1mdw1.sendgrid.net with SMTP id filter0805p1mdw1-26557-590A7A93-49 2017-05-04 00:49:23.497782658 +0000 UTC
Received: from mail-qk0-f177.google.com (mail-qk0-f177.google.com [209.85.220.177]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id r-dbaghrRd-8BySxFvnC-A for <ietf-http-wg@w3.org>; Thu, 04 May 2017 00:49:23.455 +0000 (UTC)
Received: by mail-qk0-f177.google.com with SMTP id k74so4948898qke.1 for <ietf-http-wg@w3.org>; Wed, 03 May 2017 17:49:23 -0700 (PDT)
X-Gm-Message-State: AODbwcAkWjIs8YAGm1zTpFq6tY+B0JiWilwD0hg7mVzCR57x9WFRbXXh UD96y+bqbdXBrvL/XnW2L9z1dejP+g==
X-Received: by 10.55.19.199 with SMTP id 68mr6334312qkt.93.1493858963178; Wed, 03 May 2017 17:49:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.182.31 with HTTP; Wed, 3 May 2017 17:49:22 -0700 (PDT)
In-Reply-To: <87lgqdr0fr.fsf@fifthhorseman.net>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com> <87lgqdr0fr.fsf@fifthhorseman.net>
From: Patrick McManus <mcmanus@ducksong.com>
Date: Wed, 3 May 2017 20:49:22 -0400
X-Gmail-Original-Message-ID: <CAOdDvNpRRAKs02qhhRwOYa=Hs6QYH6h5C=F1_txSaox0wip2Rg@mail.gmail.com>
Message-ID: <CAOdDvNpRRAKs02qhhRwOYa=Hs6QYH6h5C=F1_txSaox0wip2Rg@mail.gmail.com>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Cc: Patrick McManus <mcmanus@ducksong.com>, HTTP Working Group <ietf-http-wg@w3.org>,  DNS Privacy Working Group <dns-privacy@ietf.org>
Content-Type: multipart/alternative; boundary=001a11401172d84923054ea824ef
X-SG-EID: YLWet4rakcOTMHWvPPwWbcsiUJbN1FCn0PHYd/Uujh7kkm4rFfdMiT5gzHM9YaFgPSJI8dUboEpyBF vXWREpGoUfK0ZPxihS7xcUBmExNGKd9cAAJEGbgYdhkDWjwc80slAA+VrfKXOBk4BWHWSVngDMxYvG TTMibOO00DJAcP0gSqHi9C7K3GYpRxZ7S4+54RX5R9CgNnU+/LR92aVmTGjG7mBjsEYWbSgAme9VvQ 4=
Received-SPF: pass client-ip=167.89.50.229; envelope-from=bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net; helo=o1678950229.outbound-mail.sendgrid.net
X-W3C-Hub-Spam-Status: No, score=-6.6
X-W3C-Hub-Spam-Report: AWL=0.562, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d64yC-0005Qe-A2 74347a55fe4ab723bae9a8f022c82a64
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version  Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/CAOdDvNpRRAKs02qhhRwOYa=Hs6QYH6h5C=F1_txSaox0wip2Rg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33872
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--001a11401172d84923054ea824ef
Content-Type: text/plain; charset=UTF-8

On Wed, May 3, 2017 at 7:21 PM, Daniel Kahn Gillmor <dkg@fifthhorseman.net>
wrote:

>
>
> Ah!  Thanks for this heads-up.  That's definitely an interesting
> wrinkle.  How does this interact with HTTP/1 clients connecting to the
> service?  or is it only possible to do this because of the negotiated
> ALPN?
>

alpn - that's how http/2 is bootstrapped


>
> If so, perhaps the demuxing needs to be done only when not sending an
> alpn of "h2", and the draft can drop the HTTP/2 section.  What do you
> think?
>

the http/1 share of https:// traffic is dwindling fast. Its down to about
1/3 of https for me. So if you're looking to hide in a big pool, that's a
shrinking segment.

imo its a bigger problem because any rfc that required h1 would
dis-incentivize h2 which is something the IETF should surely not want to do
for many reasons.

--001a11401172d84923054ea824ef
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Wed, May 3, 2017 at 7:21 PM, Daniel Kahn Gillmor <span dir=3D"ltr">&lt;<=
a href=3D"mailto:dkg@fifthhorseman.net" target=3D"_blank">dkg@fifthhorseman=
.net</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"=
HOEnZb"><div class=3D"h5"><br>
<br>
</div></div>Ah!=C2=A0 Thanks for this heads-up.=C2=A0 That&#39;s definitely=
 an interesting<br>
wrinkle.=C2=A0 How does this interact with HTTP/1 clients connecting to the=
<br>
service?=C2=A0 or is it only possible to do this because of the negotiated<=
br>
ALPN?<br></blockquote><div><br></div><div>alpn - that&#39;s how http/2 is b=
ootstrapped<br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
If so, perhaps the demuxing needs to be done only when not sending an<br>
alpn of &quot;h2&quot;, and the draft can drop the HTTP/2 section.=C2=A0 Wh=
at do you<br>
think?<br></blockquote><div><br></div><div>the http/1 share of https:// tra=
ffic is dwindling fast. Its down to about 1/3 of https for me. So if you&#3=
9;re looking to hide in a big pool, that&#39;s a shrinking segment.</div><d=
iv><br></div><div>imo its a bigger problem because any rfc that required h1=
 would dis-incentivize h2 which is something the IETF should surely not wan=
t to do for many reasons.<br></div><div>=C2=A0<br></div></div></div></div>

--001a11401172d84923054ea824ef--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 18:09:53 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0C65A1294E1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 18:09:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8sa8ZR0dfEAm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 18:09:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C197F1294BC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 18:09:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d65Eu-0006RK-AK for ietf-http-wg-dist@listhub.w3.org; Thu, 04 May 2017 01:07:28 +0000
Resent-Date: Thu, 04 May 2017 01:07:28 +0000
Resent-Message-Id: <E1d65Eu-0006RK-AK@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <dkg@fifthhorseman.net>) id 1d65Er-0006Pv-3j for ietf-http-wg@listhub.w3.org; Thu, 04 May 2017 01:07:25 +0000
Received: from che.mayfirst.org ([162.247.75.118]) by titan.w3.org with esmtp (Exim 4.84_2) (envelope-from <dkg@fifthhorseman.net>) id 1d65El-000327-3M for ietf-http-wg@w3.org; Thu, 04 May 2017 01:07:19 +0000
Received: from fifthhorseman.net (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id 64FD5F993; Wed,  3 May 2017 21:06:58 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id 268D720CBD; Wed,  3 May 2017 20:43:44 -0400 (EDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Martin Thomson <martin.thomson@gmail.com>, Mike Bishop <Michael.Bishop@microsoft.com>
Cc: Patrick McManus <mcmanus@ducksong.com>, HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
In-Reply-To: <CABkgnnVLasxAfsezDp4H0cSOme5okHUY0ruG7EzgsNEW89SmDQ@mail.gmail.com>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com> <87lgqdr0fr.fsf@fifthhorseman.net> <BN6PR03MB27085632B5CBA7324894699487EA0@BN6PR03MB2708.namprd03.prod.outlook.com> <CABkgnnVLasxAfsezDp4H0cSOme5okHUY0ruG7EzgsNEW89SmDQ@mail.gmail.com>
Date: Wed, 03 May 2017 20:43:40 -0400
Message-ID: <87bmr9qwn7.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: none client-ip=162.247.75.118; envelope-from=dkg@fifthhorseman.net; helo=che.mayfirst.org
X-W3C-Hub-Spam-Status: No, score=-5.4
X-W3C-Hub-Spam-Report: AWL=-0.543, BAYES_00=-1.9, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d65El-000327-3M 1ffabefa825f8c2d06a3876b2dd12f7e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/87bmr9qwn7.fsf@fifthhorseman.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33873
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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-Type: text/plain

On Thu 2017-05-04 10:21:20 +1000, Martin Thomson wrote:
> On 4 May 2017 at 10:14, Mike Bishop <Michael.Bishop@microsoft.com> wrote:
>> It's ALPN.  At first blush, I would pick a different ALPN token for
>> h2+DNS and define it as a new, derivative protocol.
>
> For DKG to realize his goal, every client would have to offer that
> label.  That's not impossible, nor does it make it a bad choice, but
> you have to realize that this isn't as good an outcome.

if you're going to define an ALPN label, you might as well just pick
"dns" and then do straight DNS-over-TLS with it (no need for in-stream
demuxing).  The problem with this approach is that the network monitor
can observe which clients are picking "dns" and which ones are picking
"http/1.1", which puts you back in the position where the network
adversary can trivially hobble DNS-over-TLS requests while permitting
HTTPS.

I address this in the draft section "Why not ALPN?" -- if anyone thinks
the text there could be improved, i'd be happy to hear suggestions for
how to change it.

All the best,

        --dkg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOCdgUepHf6PklTkyFJitxsGSMjcFAlkKeT0ACgkQFJitxsGS
MjcPjRAAi8DDsy4TnuDhvpABwrULuHcKynWilhNHr4KRch1NI8H4ekSOSjvcYo5r
D43r0YCtsxLe4hcxMqHwd+BT0f3rPUTzI/tDEDULVnvNsLoXR9+NMKSyXc++0irf
wEjWhgOZxgivKsOGSDxlD5hWZJSAWvitbLT4e54nixVNOy6xyZgEjXC0XvvCNFMg
oVaxyRqHwjBIKcUXBoEOvGgvPPpEXXUSSizeTe3SsudvYDRfkNNRG4K8G/dnvj2w
vWlvMvOczD504sXDRlqCinHgUB4rIyE4b54pXdd1ctWCf8SGXluR3XgTVQjtL+qq
k24/DVVN3TFM2gMt/0bNbSTIpQmL10tMZWocSjiJkoKthSO7jRa3OHK/csDi0BwC
7Sg1nDsBmnWwQYOmdWJvotiFp95kFwdqedb0fA3Wu+hxY6b0FCBfJiUWrgTABkwS
Nl+p79J8ZGVONGhTkZUEVMGC4qA50dZ1vBE8unbA0txuG48++/zrQxMRqUf+OVg6
6hhu7QluVdtR+TrblDoL1C0/w/xluQsPzKvuSsxBoINZOF0a42qeAReEYj+Wzc5h
OPCgJLOzIHvXq5sWM+FrxmhOgL4kbL0nhbPVOmfeqdIbV+fBG+g6DLSGzrNxt7qB
E1YsLbmtU1WsplomUNWCtNfv5KTd83eQO1ybgIpYSjdype1f2Ww=
=L7LX
-----END PGP SIGNATURE-----
--=-=-=--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 18:09:54 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3BB221294EE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 18:09:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nWc1061013HB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 18:09:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AD89A129484 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 18:09:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d65F2-0006SS-OM for ietf-http-wg-dist@listhub.w3.org; Thu, 04 May 2017 01:07:36 +0000
Resent-Date: Thu, 04 May 2017 01:07:36 +0000
Resent-Message-Id: <E1d65F2-0006SS-OM@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <dkg@fifthhorseman.net>) id 1d65Er-0006Pw-D8 for ietf-http-wg@listhub.w3.org; Thu, 04 May 2017 01:07:25 +0000
Received: from che.mayfirst.org ([162.247.75.118]) by titan.w3.org with esmtp (Exim 4.84_2) (envelope-from <dkg@fifthhorseman.net>) id 1d65El-000329-3j for ietf-http-wg@w3.org; Thu, 04 May 2017 01:07:20 +0000
Received: from fifthhorseman.net (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id 5D37DF98C; Wed,  3 May 2017 21:06:58 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id BD5112126D; Wed,  3 May 2017 21:06:50 -0400 (EDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Patrick McManus <mcmanus@ducksong.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
In-Reply-To: <CAOdDvNqB7n60nZV9Y45gHOD6jEC50Xjyq4SJKchniJhwK8nXXQ@mail.gmail.com>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <87o9v9r0mh.fsf@fifthhorseman.net> <CAOdDvNqB7n60nZV9Y45gHOD6jEC50Xjyq4SJKchniJhwK8nXXQ@mail.gmail.com>
Date: Wed, 03 May 2017 21:06:50 -0400
Message-ID: <878tmdqvkl.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: none client-ip=162.247.75.118; envelope-from=dkg@fifthhorseman.net; helo=che.mayfirst.org
X-W3C-Hub-Spam-Status: No, score=-5.4
X-W3C-Hub-Spam-Report: AWL=-0.529, BAYES_00=-1.9, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d65El-000329-3j 28fe4892a6008d64939b589da629cb51
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/878tmdqvkl.fsf@fifthhorseman.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33875
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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 2017-05-03 20:37:21 -0400, Patrick McManus wrote:
>> is the draft you and Paul are working on different than
>> ietf-dnsop-dns-wireformat-http ?  Can they be reconciled?
>
> its a superset of that -more aligned with HTTP than that draft, but it can
> also carry wireformat.
>
> your work doesn't break it anymore than it breaks h2 generally :)

Is your draft h2-specific, or is it valid for http/1.x as well?

>> response to Roy T. Fielding (upthread) for why the demux approach seems
>> cleaner and safer for clients as long as we're using stream-based
>> transport.
>
> I totally support the end goal here of dns looking like https.. but
> honestly I didn't hear anything about cleaner and safer. I heard that you
> wanted to use the https port, the https alpn token, and constrain the http
> protocol, but found the requirement to implement http burdening :)

:) I'm not actually interested in constraining the http protocol, i'm
just trying to make something that works with existing versions of the
http protocol.  I documented my expectations of future versions of HTTP
to make sure that they're understood, which got me to your helpful point
about h2 not being client-speaks-first.  I've documented that here now,
btw:

    https://gitlab.com/dkg/hddemux/issues/5

I'd expect this draft to work with no ALPN token at all (which is the
traditional HTTP/1.1-over-TLS use case, and ALPN is still not mandatory
for TLS, right?

the "cleaner and safer" remark was from the DNS client point of view:
they already implement DNS-over-TLS, they just need to be pointed to the
right server and the right port -- that's literally no change to the
existing code, and as long as they don't indicate an alpn of "h2" they
should be safe, right?

> The most straightforward way seems to make dns look like https is to
> actually carry it in https.
>
> perhaps we could work together on making a dns client more capable in
> this regard?

I'd be happy to do that to make something like this work with HTTP/2.
I'll contact you off-list about what might be sensible next steps.

It occurs to me that an h2 CONNECT stream to localhost:53 ought to be
sufficient to do a stream-based wireformat transition (assuming that
there was a local DNS-over-TCP service active).  Does that seem right to
you?  If that's the case, then a DNS-only client would "only" need to
know enough HTTP/2 to establish the connection and to parse the incoming
frames.  Are there specific advantages of making the protocol
entanglement more complex?

----

Given that not everyone is adopting HTTP/2 right away, though, do you
think the proposed draft would be acceptable if it was limited in scope
to demuxing DNS with HTTP/1.x?

Regards,

        --dkg


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 18:39:20 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E3F2F129524 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 18:39:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gLXKfKiRolfz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 18:39:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A1D6A12951C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 18:39:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d65gq-0006i8-Dl for ietf-http-wg-dist@listhub.w3.org; Thu, 04 May 2017 01:36:20 +0000
Resent-Date: Thu, 04 May 2017 01:36:20 +0000
Resent-Message-Id: <E1d65gq-0006i8-Dl@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <dkg@fifthhorseman.net>) id 1d65gm-0006hC-Ss for ietf-http-wg@listhub.w3.org; Thu, 04 May 2017 01:36:16 +0000
Received: from che.mayfirst.org ([162.247.75.118]) by titan.w3.org with esmtp (Exim 4.84_2) (envelope-from <dkg@fifthhorseman.net>) id 1d65gf-0003zt-33 for ietf-http-wg@w3.org; Thu, 04 May 2017 01:36:11 +0000
Received: from fifthhorseman.net (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id 0D83CF98C; Wed,  3 May 2017 21:35:48 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id 621ED20C10; Wed,  3 May 2017 21:26:49 -0400 (EDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Mike Bishop <Michael.Bishop@microsoft.com>, Patrick McManus <mcmanus@ducksong.com>, HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
In-Reply-To: <CABkgnnUgy+iD8R=WOBFb8bFWrtX=06unmiA5Ne3eEkt_KLcGxw@mail.gmail.com>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com> <87lgqdr0fr.fsf@fifthhorseman.net> <BN6PR03MB27085632B5CBA7324894699487EA0@BN6PR03MB2708.namprd03.prod.outlook.com> <CABkgnnVLasxAfsezDp4H0cSOme5okHUY0ruG7EzgsNEW89SmDQ@mail.gmail.com> <87bmr9qwn7.fsf@fifthhorseman.net> <CABkgnnUgy+iD8R=WOBFb8bFWrtX=06unmiA5Ne3eEkt_KLcGxw@mail.gmail.com>
Date: Wed, 03 May 2017 21:26:46 -0400
Message-ID: <8737clqund.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: none client-ip=162.247.75.118; envelope-from=dkg@fifthhorseman.net; helo=che.mayfirst.org
X-W3C-Hub-Spam-Status: No, score=-5.4
X-W3C-Hub-Spam-Report: AWL=-0.547, BAYES_00=-1.9, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d65gf-0003zt-33 a1ef3ba287036eb7bf46b8f2d3d4fd95
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/8737clqund.fsf@fifthhorseman.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33878
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu 2017-05-04 11:11:59 +1000, Martin Thomson wrote:
> On 4 May 2017 at 10:43, Daniel Kahn Gillmor <dkg@fifthhorseman.net> wrote:
>> I address this in the draft section "Why not ALPN?" -- if anyone thinks
>> the text there could be improved, i'd be happy to hear suggestions for
>> how to change it.
>
> Mike is suggesting that you define one that is "http + dns" or maybe
> "http or dns", which would mean that you could use either.  Then you
> convince existing HTTP clients to use that (a few browsers would do
> the job).  Even if they didn't actually DO DNS, you would still be
> able to hide in the mass/mess that they represent.

hm, it sounds like that won't work for h2, given Patrick's point that h2
isn't client-speaks-first.  Right?  If we tried to do something like
"h2|dns", it seems like it would introduce a potential latency hit for
any h2-specific client that proposed it, because the server couldn't
send its first frame unsolicited.  I know you can't speak for Mozilla,
but would you imagine firefox opting into this for normal http/2
connections?

> In TLS 1.3, the server choice is hidden, so even where the server
> doesn't pick this choice, it works.  In TLS 1.2, you probably want to
> convince a few servers to pick this new thing, but that obviously
> means more work for those servers.

For http/1.x, the draft is arguing that using an ALPN label is
unnecessary -- so if that's right, what would we gain from a new ALPN
label over using the existing HTTP/1.1 mechanism (i.e., either no ALPN
or the ALPN token "http/1.1")?

It looks to me like the new ALPN label introduces costs:

 * implementations on both server and client need to specify it
=20
 * client implementations need to verify that it was chosen, and fail if
   not
=20=20=20
 * network monitors can see that it was offered and discriminate against
   the offerer at least (TLS 1.3), and in some cases the established
   connections (TLS 1.2 and earlier).

What are the benefits of introducing a new ALPN label for demuxing
HTTP/1.1 from DNS?

Thanks for the discussion,

     --dkg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOCdgUepHf6PklTkyFJitxsGSMjcFAlkKg1YACgkQFJitxsGS
Mje4ug//fxLhk5XrLe+SVanHk3lCpe2vHg8hdAb5FVDXEGgDHryUmygZhH6WIBPz
tIk6DLbx5AYoWdlLJBv517KCJFlADz1yOtYldr6PNeT58ufTU7/ns2YJBAPYHTn7
lVO4JvN7VF1ftMXwm5MWpwBxjbvxmaqOEzQ5KH4J9fqJ5gtVtdbkU/ZTn0hKq0HS
b46dAV9sllp1emY/7NDqH4+QYMTV2XMyimi/h3eSkLnUcpZgcLs1BsEJ8Opi5XRz
4a4FIMfptoPFtSqoVm0N86xtTlBGpOCSp2/Ry8ocvtCrjNGx88zW22QAd2cKxo11
Fc4E5YvIMpSQ5yr4YglVzKMAjZs8fLDjUpOT0jY0dlP+F5LF9ZX4Hd74mJ6FTThy
B3eQTLM9V/T2ncpsE5fGlOTfKqptu0ktCVzb1YI437fjoCRQ7OWD/NkEVPwSgbp7
kPVeNNSIkkT1TdshsKXU0u40hZdgLcrrqR6n79wscMFXEYeebXMXdiSKDsqTX47O
4fn8G0OBvWzLWoFtF7a5nd/4UaFRnTD5VKc5G7Q2VPH2XDl7zryopsidZyDkUwsV
RlZL8LNlwC0/myXEcnr+6ZxwvpM2qTEp+zlQ5cuCnjX2vjezRBR53gbhICxmq05P
95mSXsvKJXde1mTf2+f2ntOtbPvTbqUWExxSg5JuhkF4vCi225I=
=xLvM
-----END PGP SIGNATURE-----
--=-=-=--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 18:45:19 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7D589129481 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 18:45:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.502
X-Spam-Level:
X-Spam-Status: No, score=-6.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yjVimft4vt_W for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 18:45:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5427B1294EE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 18:45:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d65Jt-0000qA-7N for ietf-http-wg-dist@listhub.w3.org; Thu, 04 May 2017 01:12:37 +0000
Resent-Date: Thu, 04 May 2017 01:12:37 +0000
Resent-Message-Id: <E1d65Jt-0000qA-7N@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1d65Jq-0000pP-J4 for ietf-http-wg@listhub.w3.org; Thu, 04 May 2017 01:12:34 +0000
Received: from mail-lf0-f47.google.com ([209.85.215.47]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <martin.thomson@gmail.com>) id 1d65Jj-0003A1-9U for ietf-http-wg@w3.org; Thu, 04 May 2017 01:12:29 +0000
Received: by mail-lf0-f47.google.com with SMTP id j1so1987853lfh.2 for <ietf-http-wg@w3.org>; Wed, 03 May 2017 18:12:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Lx7ckVHO8WUZkjHx7lKfOH/5AOejT1jwwsGseeApvdM=; b=avJ/CWSKCl7FV3VceCblrizmHAARf/fXgmZfkzNi4SwsmKhkyuSv1bRkZ2S43+XI99 Frv4VqXFa7uSptx84h6zGJ+AYot9dx1eTrgZ0CAqtm/UPI0LuP2MD3aMQjWS77Ca4xmT wesYqF3Ohh8iYvAbCPl6b3TaI+BVsdJFu9g4yqBdCTAuYmP5PknHOQ/mbw3RBYC90rAi rEPfUbMmS6CnRTiDMoHx6QalClUpVo075X/AIVcM8c7dlGQckTu+VxvzStec/Ch3jTGM F1oi8K7O39WG8jOr41oXNK5bsgDSSOQnm38r38g1BdzltYCOIKTge89ebJxj6Kp46wEl Eo8w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Lx7ckVHO8WUZkjHx7lKfOH/5AOejT1jwwsGseeApvdM=; b=lwXaV2SwAvw+HM3vajHsrHDDzhAq7CFr2578UmHHdzqhFaq4m1jx+0ztuGMRqQ/A84 rkBlwSCINpjT3j92Hoqca1vW8CdC6252B+G7TsZknB4JEoVqlVIQwNVmHvEDxCQ0SuaF us9VMO39oavzH7svZBASi1Y4NnbzWEVZ5rvHedppVayOE8oiDMlv3QMCY6uyo4VDeLgm l+4jSCcScKyNfgKA97ez9fOLptI/AxNej43js8BCDwUol5jQAWcgJXXNu2Hj9+YuSJAB sxzF3TkbR6yAZz+43L5GdhnQm0bZ6uz5mQ2hc1wahvjE4P+JfFtG9C2i9+BGQEJyJF9i R2VA==
X-Gm-Message-State: AN3rC/4cwUMvo3J+GvwDUoGpTnKkzd9UO9BvDqATsO8E4GQF03L54zxs 3uPDUFqmP82oPAjp29hXrCTqlDuQdQ==
X-Received: by 10.25.160.147 with SMTP id j141mr11483374lfe.19.1493860320426; Wed, 03 May 2017 18:12:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.83.2 with HTTP; Wed, 3 May 2017 18:11:59 -0700 (PDT)
In-Reply-To: <87bmr9qwn7.fsf@fifthhorseman.net>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com> <87lgqdr0fr.fsf@fifthhorseman.net> <BN6PR03MB27085632B5CBA7324894699487EA0@BN6PR03MB2708.namprd03.prod.outlook.com> <CABkgnnVLasxAfsezDp4H0cSOme5okHUY0ruG7EzgsNEW89SmDQ@mail.gmail.com> <87bmr9qwn7.fsf@fifthhorseman.net>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 4 May 2017 11:11:59 +1000
Message-ID: <CABkgnnUgy+iD8R=WOBFb8bFWrtX=06unmiA5Ne3eEkt_KLcGxw@mail.gmail.com>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Cc: Mike Bishop <Michael.Bishop@microsoft.com>, Patrick McManus <mcmanus@ducksong.com>,  HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.215.47; envelope-from=martin.thomson@gmail.com; helo=mail-lf0-f47.google.com
X-W3C-Hub-Spam-Status: No, score=-5.7
X-W3C-Hub-Spam-Report: AWL=-0.210, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d65Jj-0003A1-9U d99fab9d9cfb9af84381b9b408a2995e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version  Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/CABkgnnUgy+iD8R=WOBFb8bFWrtX=06unmiA5Ne3eEkt_KLcGxw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33876
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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 May 2017 at 10:43, Daniel Kahn Gillmor <dkg@fifthhorseman.net> wrote:
> I address this in the draft section "Why not ALPN?" -- if anyone thinks
> the text there could be improved, i'd be happy to hear suggestions for
> how to change it.

Mike is suggesting that you define one that is "http + dns" or maybe
"http or dns", which would mean that you could use either.  Then you
convince existing HTTP clients to use that (a few browsers would do
the job).  Even if they didn't actually DO DNS, you would still be
able to hide in the mass/mess that they represent.

In TLS 1.3, the server choice is hidden, so even where the server
doesn't pick this choice, it works.  In TLS 1.2, you probably want to
convince a few servers to pick this new thing, but that obviously
means more work for those servers.


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 18:48:02 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9931D12785F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 18:48:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.502
X-Spam-Level:
X-Spam-Status: No, score=-6.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XHkvkFpi1rkZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 18:48:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0EA32129481 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 18:47:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d65pH-00039x-2P for ietf-http-wg-dist@listhub.w3.org; Thu, 04 May 2017 01:45:03 +0000
Resent-Date: Thu, 04 May 2017 01:45:03 +0000
Resent-Message-Id: <E1d65pH-00039x-2P@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1d65pD-0002VW-ML for ietf-http-wg@listhub.w3.org; Thu, 04 May 2017 01:44:59 +0000
Received: from mail-qk0-f181.google.com ([209.85.220.181]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <martin.thomson@gmail.com>) id 1d65p7-0006pQ-KA for ietf-http-wg@w3.org; Thu, 04 May 2017 01:44:54 +0000
Received: by mail-qk0-f181.google.com with SMTP id u75so148008qka.3 for <ietf-http-wg@w3.org>; Wed, 03 May 2017 18:44:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LiG3HTApyk5sO53k1j0SBXynOvYFpC3LZbyr3HzJwDU=; b=iS20iQKjNrs27WZQi3VTNeM1ILcY6MXyUEKaMrXvSQYUIGieQc01oGz0OJKi/JRdYq InkNFQSuxTzV+9aJtBgdwGQQMpbNjHQFoUKELy+e0GIxKGDTGCp2ESIOQixjdkfu17+Z 7k1sNJZkHyYFNSHjtDxd8/T29mem3qE5nvJbRIqw5xGBNW1FDio1D5FrGTlnzkf7tQ5q GNjJAGueeFtmbwg3a4PfnmYXdFWg7faX5Z8aAMY5lE/b99gLi1Ds3Un4ZTwzwgR/sHeU /nldeGobPOsYHv/0H92loAzThq4zbvbJHxNaGopUAESuBwO0WKE7fsIWHwEyFi7OsF8q QEVw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LiG3HTApyk5sO53k1j0SBXynOvYFpC3LZbyr3HzJwDU=; b=ociYurgUOWpXuy6vtr581zeByoWIHBYNF+EGWhPJXP9J7aqt43MM00urthcBgZCb0O mXj3rx/AH91nzD3nvMhoSoDE7ToN0m4hYlO9zYTGastgvuPcvCq4GCJAN10MavrVXNiz ySUS2la6BaDvvgLEdDgm3rMtNlmBxvpYMG15H4pbUjuZ6RwCKGrrb7m5CMjtvdJTCNEK ihF3F13n5aDNgm3ABFwnMjbTICHmDV3rT9EBCKQdZWG3Jabrldxc6isw+ulriep0zJ1r ckdJ0y6zYRo0MjcMfFVpp5QUIJaGQ5Ek1AtQTbonCN6sctEIByeIBL03vGUeJSVU/LJj NnNA==
X-Gm-Message-State: AODbwcC2nsCGp0wyCfYlJF/017UFU9/WSO319gAITuA7ao3eQma+PU1K SN7Vrw7gfiqeeDecV2CktNu2jp8B/Uks8/s=
X-Received: by 10.55.146.68 with SMTP id u65mr803428qkd.77.1493862266855; Wed, 03 May 2017 18:44:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.168.137 with HTTP; Wed, 3 May 2017 18:44:22 -0700 (PDT)
In-Reply-To: <8737clqund.fsf@fifthhorseman.net>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com> <87lgqdr0fr.fsf@fifthhorseman.net> <BN6PR03MB27085632B5CBA7324894699487EA0@BN6PR03MB2708.namprd03.prod.outlook.com> <CABkgnnVLasxAfsezDp4H0cSOme5okHUY0ruG7EzgsNEW89SmDQ@mail.gmail.com> <87bmr9qwn7.fsf@fifthhorseman.net> <CABkgnnUgy+iD8R=WOBFb8bFWrtX=06unmiA5Ne3eEkt_KLcGxw@mail.gmail.com> <8737clqund.fsf@fifthhorseman.net>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 4 May 2017 11:44:22 +1000
Message-ID: <CABkgnnX4xjoCQcVEwGnkOd7zO8+cCG14GmHD6+4_vfr0_L9NsQ@mail.gmail.com>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Cc: Mike Bishop <Michael.Bishop@microsoft.com>, Patrick McManus <mcmanus@ducksong.com>,  HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.220.181; envelope-from=martin.thomson@gmail.com; helo=mail-qk0-f181.google.com
X-W3C-Hub-Spam-Status: No, score=-5.7
X-W3C-Hub-Spam-Report: AWL=-0.210, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d65p7-0006pQ-KA 539412a29bc7df118f8d4ed6f092730c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version  Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/CABkgnnX4xjoCQcVEwGnkOd7zO8+cCG14GmHD6+4_vfr0_L9NsQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33879
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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 May 2017 at 11:26, Daniel Kahn Gillmor <dkg@fifthhorseman.net> wrote:
> hm, it sounds like that won't work for h2, given Patrick's point that h2
> isn't client-speaks-first.  Right?  If we tried to do something like
> "h2|dns", it seems like it would introduce a potential latency hit for
> any h2-specific client that proposed it, because the server couldn't
> send its first frame unsolicited.  I know you can't speak for Mozilla,
> but would you imagine firefox opting into this for normal http/2
> connections?

Patrick owns that decision and could tell you.

The cost would be on the DNS-enabled client, who would have to detect
and ignore any h2 preface from a server for that protocol.

> For http/1.x, the draft is arguing that using an ALPN label is
> unnecessary -- so if that's right, what would we gain from a new ALPN
> label over using the existing HTTP/1.1 mechanism (i.e., either no ALPN
> or the ALPN token "http/1.1")?

Upthread we see several reasons why that argument might not be valid.

> It looks to me like the new ALPN label introduces costs:
>
>  * implementations on both server and client need to specify it
>
>  * client implementations need to verify that it was chosen, and fail if
>    not

I would have thought that these are benefits.

>  * network monitors can see that it was offered and discriminate against
>    the offerer at least (TLS 1.3), and in some cases the established
>    connections (TLS 1.2 and earlier).

A lot depends on the population size.  If this were enabled in a
sizeable chunk of the browser market, then the TLS 1.3 option goes
away.  Note that you only create the full exposure if you decide to
implement this at a server without also implementing TLS 1.3.

> What are the benefits of introducing a new ALPN label for demuxing
> HTTP/1.1 from DNS?

Certainty, primarily.  A clear signal that both peers agree to use the
same protocol.  It might also reduce ossification effects, but I
haven't gamed that out.


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 18:48:54 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 94EE812785F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 18:48:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x8GjkJ5wv7ql for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 18:48:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1CF831294DC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 18:48:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d65Ln-0000vA-F4 for ietf-http-wg-dist@listhub.w3.org; Thu, 04 May 2017 01:14:35 +0000
Resent-Date: Thu, 04 May 2017 01:14:35 +0000
Resent-Message-Id: <E1d65Ln-0000vA-F4@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <dkg@fifthhorseman.net>) id 1d65Lk-0000uP-Sk for ietf-http-wg@listhub.w3.org; Thu, 04 May 2017 01:14:32 +0000
Received: from che.mayfirst.org ([162.247.75.118]) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <dkg@fifthhorseman.net>) id 1d65Le-000657-Vy for ietf-http-wg@w3.org; Thu, 04 May 2017 01:14:27 +0000
Received: from fifthhorseman.net (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id 33263F98C; Wed,  3 May 2017 21:14:07 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id 5972620C10; Wed,  3 May 2017 21:14:02 -0400 (EDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Patrick McManus <mcmanus@ducksong.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
In-Reply-To: <CAOdDvNpRRAKs02qhhRwOYa=Hs6QYH6h5C=F1_txSaox0wip2Rg@mail.gmail.com>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com> <87lgqdr0fr.fsf@fifthhorseman.net> <CAOdDvNpRRAKs02qhhRwOYa=Hs6QYH6h5C=F1_txSaox0wip2Rg@mail.gmail.com>
Date: Wed, 03 May 2017 21:13:58 -0400
Message-ID: <8760hhqv8p.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: none client-ip=162.247.75.118; envelope-from=dkg@fifthhorseman.net; helo=che.mayfirst.org
X-W3C-Hub-Spam-Status: No, score=-5.5
X-W3C-Hub-Spam-Report: AWL=-0.557, BAYES_00=-1.9, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d65Le-000657-Vy 1652aa15359e8fbd3d4e047d86d849b9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/8760hhqv8p.fsf@fifthhorseman.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33877
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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-Type: text/plain

On Wed 2017-05-03 20:49:22 -0400, Patrick McManus wrote:
> the http/1 share of https:// traffic is dwindling fast. Its down to about
> 1/3 of https for me. So if you're looking to hide in a big pool, that's a
> shrinking segment.

1/3 of https traffic is still huge collateral damage to inflict, if a
network adversary were to try to block things to stamp out encrypted DNS
traffic.

> imo its a bigger problem because any rfc that required h1 would
> dis-incentivize h2 which is something the IETF should surely not want to do
> for many reasons.

I also wouldn't want to disincentivize h2.  But any server which still
offers h1, at any time in the future could implement this approach with
relatively little overhead (and no impact on h2 adoption) and it already
works today.

So an updated draft would be intended mainly as a stopgap measure while
we're getting DNS-over-h2 spec'ed and implemented, and as something a
server can offer to clients that don't yet speak h2.

        --dkg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOCdgUepHf6PklTkyFJitxsGSMjcFAlkKgFYACgkQFJitxsGS
MjeKFg/+KZ9IdQLO9XyCT4dFQtw0CqBkU6Itrbxf/dbO0ArXOJPkzBCAVKL12y7N
ifuJar3bs1TWhiUVTAQncEYX5VN1fo8An+FFVsiWlo+EMV+5X2OeMvFUrpjcMCho
7np4J9ScCCal8xKpbNx/jaB/6xiTmxiq3KbxetCetVGB1gEJHH3RnNCgzL+IVGKC
34OX8g/8Umo9+RsHNqnqQtpIs8y4ZfbxAKZ45KSZeM3vXfFHf1wYaK8+okslK0oh
lQPSWkagDv9atdWYv3zOqv3sTcYnxZvw4nHwkqgGwi8iPCGUg3ERxKTFujcveMkW
G5ItkFrZ4YrjEj/YBZ4GHU/8GPFANXezpLwnPSH2l5dhr7unC7mcxIX+ZJQUprrZ
vfh/SlTZIFNpMS+dOjJIB35ABL/L+Du98QvrlnaqfmlqT39b3Jx2s6C4fagSfRvW
I8H/8za3pj6LtowQu+7h/8GH/RKMwtOD1CiYJkC/yM9PXJFDhfdb3SRgoH8XMhs7
Ab5UDN0XMs3TTqPPHmTIAxdVsk8mO++dpC6UCy4clIA1qYeM2INeS9Z4sEnuEMCQ
NIpcAmjingNwNGxpc1RcO+aTx40r3gaBmzIupJz8tDKnppaSQjm1Fzk1C9xAf0ll
waACUCnJFRitdYvBOXuYoKwOYhmepnKK4DzL1r86sdc4F/yiWaA=
=C5oG
-----END PGP SIGNATURE-----
--=-=-=--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 18:52:23 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4B4F61289B0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 18:52:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qKcBmqiSrYO5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 18:52:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D6ECA129530 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 18:52:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d65Ew-0006Ry-1k for ietf-http-wg-dist@listhub.w3.org; Thu, 04 May 2017 01:07:30 +0000
Resent-Date: Thu, 04 May 2017 01:07:30 +0000
Resent-Message-Id: <E1d65Ew-0006Ry-1k@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <dkg@fifthhorseman.net>) id 1d65Er-0006Px-Ii for ietf-http-wg@listhub.w3.org; Thu, 04 May 2017 01:07:25 +0000
Received: from che.mayfirst.org ([162.247.75.118]) by titan.w3.org with esmtp (Exim 4.84_2) (envelope-from <dkg@fifthhorseman.net>) id 1d65El-000328-6d for ietf-http-wg@w3.org; Thu, 04 May 2017 01:07:20 +0000
Received: from fifthhorseman.net (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id B32A2F997; Wed,  3 May 2017 21:06:58 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id C464E20C10; Wed,  3 May 2017 20:38:24 -0400 (EDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Alex Rousskov <rousskov@measurement-factory.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
In-Reply-To: <2564afa5-1a0d-c3e0-e620-37d67482ce28@measurement-factory.com>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <87o9v9r0mh.fsf@fifthhorseman.net> <2564afa5-1a0d-c3e0-e620-37d67482ce28@measurement-factory.com>
Date: Wed, 03 May 2017 20:38:21 -0400
Message-ID: <87fuglqww2.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: none client-ip=162.247.75.118; envelope-from=dkg@fifthhorseman.net; helo=che.mayfirst.org
X-W3C-Hub-Spam-Status: No, score=-5.4
X-W3C-Hub-Spam-Report: AWL=-0.516, BAYES_00=-1.9, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d65El-000328-6d 34165c5d6f3d17148a29737c65117fbc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version  Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/87fuglqww2.fsf@fifthhorseman.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33874
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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-Type: text/plain

Hi Alex--

On Wed 2017-05-03 17:34:47 -0600, Alex Rousskov wrote:
> On 05/03/2017 05:17 PM, Daniel Kahn Gillmor wrote:
>> The idea of the demuxing stage is that a server that opts into this would
>> put the demuxing *before* the HTTP/1 server implementation gets access
>> to the data.
>
> Think of the HTTP proxies, not just origin servers. Using an HTTP proxy
> is often _required_ when sending traffic over an HTTP port. These HTTP
> proxies will break all the muxed DNS traffic they will get. Opting them
> "in" will be a lot more difficult than opting a specialized origin
> server that wants to participate...
>
> And yes, this deployment concern applies to port 443 traffic as well,
> unfortunately.

Thanks for this, but i'm not sure i understand the whole situation
you're describing.  Can you help me make more sense of it?  Here's a few
things i think you might be saying:

 0) A DNS client shouldn't expect this mechanism to work in the clear
    over port 80, because existing transparent HTTP proxies that the
    client doesn't know about will likely choke on it.  I've noted this
    as https://gitlab.com/dkg/hddemux/issues/3

 1) A DNS client shouldn't expect to use this mechanism through an
    explicit HTTP proxy either, as the explicit proxy will also choke on
    it.  However, i'm not sure how this works for port 443.  I think
    you're saying that the common network interference pattern is to
    block outbound TCP port 443 explicitly, but to allow HTTP CONNECT
    when established through the local required HTTP proxy.  Is that
    right?  I've tried to capture this as
    https://gitlab.com/dkg/hddemux/issues/4

I'm not sure what the right tradeoffs are here, or how widespread such
network interference is.  I am aware that the draft under discussion
can't solve all problems for all networks.  But i imagine that any
network that blocks TCP port 443 outbound and expects clients to route
through an HTTP CONNECT to an explicit proxy has already blocked TCP
port 853 outbound, so the DNS client that tries to use DNS-over-TLS is
no worse off for trying 443 instead of 853, at any rate.

Am i missing some other details of the circumstances you're describing?
Do you have suggestions of text for the draft that would address these
concerns?

Regards,

        --dkg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOCdgUepHf6PklTkyFJitxsGSMjcFAlkKd/0ACgkQFJitxsGS
MjfgQw/7B4j4PKmHn2+TUfT/IkkEKlWdqQ8icepEAZy78PQqVtVsSdsyhpCBEW8O
mieqh+aJtOJ4oM/Bucak5Unslyq/RpT05x5so8uf+b2zd43z7IIxUwxx2dk/lNu+
83ZhaeQ0cL5FQ5QD0oMlfgKqk85BxtTN5aUTcF86Frr7FYZrRMKRDpn3TNqaRJuD
pzRlKJo9pS2FFVB38Qv44Z/qYJG8QWwmgAhSPLETSxuZd3Be+mWdJlE7Ng2J048c
/ZiiYwnBdLUkM2okp96SBAuZLBktGALDDaDPz0Ev3dtn+rrGPYrhnK7z1NofW4lq
2cQ4oHbEAN888LPSSpC+VdXBe/PTLXG+NVWhEzCWE6tZWN3fHqwBogtQT1nv/5Sn
J3ItVMvhMPrYl8o01o4aKibtVMtA7lREdyohioYLzma1VpAC9d44Fy/MIbbFC4F7
DZ4lqjMWrZFd46FRHhEzRkRvQuLpZpcB7j7VS3CD5J0mxbuRMYjnnhi61gWM2dfi
pnUOg96teKXW5JY+8oZJCpIV6S0Su4d8b34qDoLkiH22wq3ipB3ENXBF5Jq3L0ve
WHozWn8DrBu7jiIyWVXvlkSZsNUgRgLD7+8Xus+fW3z1qeORfeeqnl4J24TUHmtn
xNYy/ogRmQrK9HS2rWwJdOo0PU4zjWcw5i1pM4rlrOQXDfD85TI=
=At8S
-----END PGP SIGNATURE-----
--=-=-=--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 19:57:53 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 084F2129443 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 19:57:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.002
X-Spam-Level:
X-Spam-Status: No, score=-7.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aF9PPuEBfcEQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 19:57:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9BFB212426E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 19:57:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d66uJ-0003ox-SS for ietf-http-wg-dist@listhub.w3.org; Thu, 04 May 2017 02:54:19 +0000
Resent-Date: Thu, 04 May 2017 02:54:19 +0000
Resent-Message-Id: <E1d66uJ-0003ox-SS@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <Michael.Bishop@microsoft.com>) id 1d66uG-0003oC-2t for ietf-http-wg@listhub.w3.org; Thu, 04 May 2017 02:54:16 +0000
Received: from mail-sn1nam02on0118.outbound.protection.outlook.com ([104.47.36.118] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from <Michael.Bishop@microsoft.com>) id 1d66u9-0000Ab-9M for ietf-http-wg@w3.org; Thu, 04 May 2017 02:54:10 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=1KxOD8FbPj0rCfYt+lMzT0FYLIZFLtjfE8GqCtNPDcU=; b=e1a3QV4iHJiO2vcGO80t8AnpRH5TVa1H84rXhkrlHvlEU8CFQtIKf1aEqYv0SnOMiKFN57LK6R5E28Ld0pu8W/D0HV/3sRtuzCQ/7QZk7+rXi+KGK+00iA71i2Mb6EfZ/MxddiN11oQy5Phh2g4YaC/7NXUqVnX0yjlHtsqNbds=
Received: from BN6PR03MB2708.namprd03.prod.outlook.com (10.173.144.15) by BN6PR03MB2707.namprd03.prod.outlook.com (10.173.144.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12; Thu, 4 May 2017 02:53:38 +0000
Received: from BN6PR03MB2708.namprd03.prod.outlook.com ([10.173.144.15]) by BN6PR03MB2708.namprd03.prod.outlook.com ([10.173.144.15]) with mapi id 15.01.1061.021; Thu, 4 May 2017 02:53:38 +0000
From: Mike Bishop <Michael.Bishop@microsoft.com>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Martin Thomson <martin.thomson@gmail.com>
CC: Patrick McManus <mcmanus@ducksong.com>, HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
Thread-Topic: Demultiplexing HTTP and DNS on the same listener [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
Thread-Index: AQHSxGSVzArpJBnINkKlwlv/ObjAOKHjTeBggAACCwCAAAY+AIAAHrUg
Date: Thu, 4 May 2017 02:53:38 +0000
Message-ID: <BN6PR03MB2708762328EE8C91A229B9B987EA0@BN6PR03MB2708.namprd03.prod.outlook.com>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com> <87lgqdr0fr.fsf@fifthhorseman.net> <BN6PR03MB27085632B5CBA7324894699487EA0@BN6PR03MB2708.namprd03.prod.outlook.com> <CABkgnnVLasxAfsezDp4H0cSOme5okHUY0ruG7EzgsNEW89SmDQ@mail.gmail.com> <87bmr9qwn7.fsf@fifthhorseman.net>
In-Reply-To: <87bmr9qwn7.fsf@fifthhorseman.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: fifthhorseman.net; dkim=none (message not signed) header.d=none;fifthhorseman.net; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [2601:600:8080:63a8:969:514e:fb21:d263]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1;BN6PR03MB2707;7:vDj3ZzA0Poqg6bbFZT9wo203q+smOevwM7Cu865zCYD1lCHoN/xue6CrRZlp6isixDIRM2my3wrTfS4W51569WoKGeHxCO7hzPqu9mtr6Nl82Fnzw/oYPbQM6Zn1edC4VEvypawWhoZzz/Igk7VUdGsU1ZMdn4s21vr0AQlX5Wb4na04dzp5kvuq7cPmlQi8KZDlpOnAzNdwDqdLwCBdDv0c036uPNQZJBQoY/Ixef11yjNg0k3/Lpon5jXKunwLHkGPiaLALzxn9E+HTOtHq0VKOO9Ur87/oEbqLt+i2hCRp7pXMQvEjldbXqTUooZqEcrUkZstYvYWSXpt7BYKby2667hyjR6gvSb3nPpoX8k=
x-ms-office365-filtering-correlation-id: a719f59e-c7b5-4269-65dd-08d49298c3c2
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081)(201702281549075);SRVR:BN6PR03MB2707;
x-microsoft-antispam-prvs: <BN6PR03MB2707F09D5AC6E666D32C41CD87EA0@BN6PR03MB2707.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(190756311086443)(158342451672863)(17755550239193);
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123564025)(20161123555025)(20161123562025)(20161123560025)(6072148);SRVR:BN6PR03MB2707;BCL:0;PCL:0;RULEID:;SRVR:BN6PR03MB2707;
x-forefront-prvs: 02973C87BC
x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(39450400003)(39850400002)(39400400002)(39410400002)(39860400002)(39840400002)(24454002)(377424004)(377454003)(13464003)(74316002)(53546009)(2950100002)(6116002)(5660300001)(8990500004)(10090500001)(7696004)(5005710100001)(2900100001)(102836003)(229853002)(305945005)(3660700001)(15650500001)(3280700002)(2906002)(7736002)(478600001)(189998001)(81166006)(8676002)(86612001)(38730400002)(93886004)(25786009)(10290500003)(230783001)(122556002)(86362001)(8936002)(33656002)(39060400002)(6436002)(53936002)(54906002)(76176999)(9686003)(99286003)(54356999)(4326008)(6246003)(6506006)(77096006)(55016002)(50986999);DIR:OUT;SFP:1102;SCL:1;SRVR:BN6PR03MB2707;H:BN6PR03MB2708.namprd03.prod.outlook.com;FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2017 02:53:38.1782 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2707
Received-SPF: pass client-ip=104.47.36.118; envelope-from=Michael.Bishop@microsoft.com; helo=NAM02-SN1-obe.outbound.protection.outlook.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=0.845, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_NW=0.5
X-W3C-Scan-Sig: mimas.w3.org 1d66u9-0000Ab-9M df8158c0c790ddc5ecdd55d9b20817b7
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Demultiplexing HTTP and DNS on the same listener [New Version  Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/BN6PR03MB2708762328EE8C91A229B9B987EA0@BN6PR03MB2708.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33880
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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, the network observer can observe which clients are offering that protoc=
ol as one of a set of options -- selection happens server-side.  In TLS 1.3=
, the selection is part of the EncryptedExtensions, no?  Which means an obs=
erver can tell that the client offers it, but can't tell whether the server=
 is selecting it at any given time.  (Without making the same offer to the =
server and seeing what it chooses for them, at least.)

As Martin says, if you can get a broad set of clients to start offering it =
all the time, a network controller would have to kill a lot of connections =
to be sure they didn't let DNS traffic out.  (Of course, if major networks =
start killing connections with this ALPN token, major implementations would=
 probably find themselves having to implement a fallback, and you haven't w=
on.)  My other major issue with your approach is something we learned while=
 prototyping h2c:  Looking at the content of a message and dynamically swap=
ping out parsers takes a lot of investment to do performantly.  You can bou=
nd it by only looking at the beginning of the stream, as you do, but it sti=
ll hurts.

If you want to do this transparently inside of HTTP without looking differe=
nt on the outside, define an HTTP/2 extension for tunneling DNS.  Unknown f=
rame types and settings MUST be ignored -- the client can start shipping DN=
S queries on stream 0 speculatively and have them ignored if the server doe=
sn't speak your extension, or wait to see if the server's SETTINGS frame in=
dicates that it supports the extension (after 1 RTT), both without any loss=
 of compatibility or performance (other than extra bytes).  It doesn't get =
you HTTP/1.x compatibility, but I'm dubious anything you do within that can=
 be done performantly nor is it a long-term pool to hide in.

-----Original Message-----
From: Daniel Kahn Gillmor [mailto:dkg@fifthhorseman.net]=20
Sent: Wednesday, May 3, 2017 5:44 PM
To: Martin Thomson <martin.thomson@gmail.com>; Mike Bishop <Michael.Bishop@=
microsoft.com>
Cc: Patrick McManus <mcmanus@ducksong.com>; HTTP Working Group <ietf-http-w=
g@w3.org>; DNS Privacy Working Group <dns-privacy@ietf.org>
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version =
Notification for draft-dkg-dprive-demux-dns-http-02]

On Thu 2017-05-04 10:21:20 +1000, Martin Thomson wrote:
> On 4 May 2017 at 10:14, Mike Bishop <Michael.Bishop@microsoft.com> wrote:
>> It's ALPN.  At first blush, I would pick a different ALPN token for
>> h2+DNS and define it as a new, derivative protocol.
>
> For DKG to realize his goal, every client would have to offer that=20
> label.  That's not impossible, nor does it make it a bad choice, but=20
> you have to realize that this isn't as good an outcome.

if you're going to define an ALPN label, you might as well just pick "dns" =
and then do straight DNS-over-TLS with it (no need for in-stream demuxing).=
  The problem with this approach is that the network monitor can observe wh=
ich clients are picking "dns" and which ones are picking "http/1.1", which =
puts you back in the position where the network adversary can trivially hob=
ble DNS-over-TLS requests while permitting HTTPS.

I address this in the draft section "Why not ALPN?" -- if anyone thinks the=
 text there could be improved, i'd be happy to hear suggestions for how to =
change it.

All the best,

        --dkg


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May  3 20:19:58 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D72EE129B20 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 20:19:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level:
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BiP4zUWtgdNs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 May 2017 20:19:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C454129B29 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 May 2017 20:19:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d67GL-0002MA-HM for ietf-http-wg-dist@listhub.w3.org; Thu, 04 May 2017 03:17:05 +0000
Resent-Date: Thu, 04 May 2017 03:17:05 +0000
Resent-Message-Id: <E1d67GL-0002MA-HM@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <squid3@treenet.co.nz>) id 1d67GH-0002LL-Ve for ietf-http-wg@listhub.w3.org; Thu, 04 May 2017 03:17:02 +0000
Received: from [121.99.228.82] (helo=treenet.co.nz) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <squid3@treenet.co.nz>) id 1d67GA-00018N-SK for ietf-http-wg@w3.org; Thu, 04 May 2017 03:16:56 +0000
Received: from [192.168.137.92] (unknown [121.98.43.66]) by treenet.co.nz (Postfix) with ESMTP id 8B713E6EBA for <ietf-http-wg@w3.org>; Thu,  4 May 2017 15:16:17 +1200 (NZST)
To: ietf-http-wg@w3.org
References: <0CD14C63-72A0-4428-8500-1443D969B8C7@mnot.net>
From: Amos Jeffries <squid3@treenet.co.nz>
Message-ID: <5f6bd6b6-75d9-838e-5d70-f223ac2ef093@treenet.co.nz>
Date: Thu, 4 May 2017 15:16:12 +1200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <0CD14C63-72A0-4428-8500-1443D969B8C7@mnot.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=121.99.228.82; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: AWL=-1.112, BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d67GA-00018N-SK fa2d406d656e8e18cb6d8c58b40d0d01
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Working Group Last Call -- draft-ietf-httpbis-immutable-02
Archived-At: <http://www.w3.org/mid/5f6bd6b6-75d9-838e-5d70-f223ac2ef093@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33881
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Supported in Squid from version 4.0.16 beta.

Not much in the way of feedback, so far that has been all good.

Amos

On 03/05/17 14:02, Mark Nottingham wrote:
> Everyone,
>
> Patrick (as editor) feels that we're ready for WGLC on this draft, and there are no open issues.
>
> Please have a look at:
>   https://tools.ietf.org/html/draft-ietf-httpbis-immutable-02
>
> and raise any issues that you see (here or on the issues list). Statements of support or planned implementation would also be helpful in judging consensus, so don't be shy.
>
> WGLC will end in two weeks, on 17 May.
>
> Regards,
>
> --
> Mark Nottingham   https://www.mnot.net/
>
>



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May  4 02:46:20 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E185612E6D7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 May 2017 02:46:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.792
X-Spam-Level:
X-Spam-Status: No, score=-6.792 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=greenbytes.de header.b=ahgFkeSF; dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=greenbytes.de header.b=SFfB3UIH
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SzN6qH1wE6oC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 May 2017 02:46:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8B9F412E059 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  4 May 2017 02:46:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d6DHo-0003rj-HQ for ietf-http-wg-dist@listhub.w3.org; Thu, 04 May 2017 09:43:00 +0000
Resent-Date: Thu, 04 May 2017 09:43:00 +0000
Resent-Message-Id: <E1d6DHo-0003rj-HQ@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <stefan.eissing@greenbytes.de>) id 1d6DHm-0003qw-2a for ietf-http-wg@listhub.w3.org; Thu, 04 May 2017 09:42:58 +0000
Received: from mail.greenbytes.de ([217.91.35.233]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <stefan.eissing@greenbytes.de>) id 1d6DHf-0001Ig-Dc for ietf-http-wg@w3.org; Thu, 04 May 2017 09:42:52 +0000
Received: by mail.greenbytes.de (Postfix, from userid 117) id 999DB15A0535; Thu,  4 May 2017 11:42:28 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1493890948; bh=RW52BSMhYeVa50zffCHVhMzmq2uo48N92i9EaTqI+Gs=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=ahgFkeSFl5/lUIn/tmH3RL9ZkANV2KkTAQ3pKz3OxBD188tTCwPVdIScXwJo3p9Df bQXS5ez4AmbcdtqekEGy376orBXyn7H/1bY+0hOOI8UnPRzaAI1yze4OC5jLBX2LUK zOfuVFAtjpwtHdCjfA/m5LwP/OwLot6eij6rmsnU=
Received: from delight.greenbytes.local (unknown [217.91.35.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.greenbytes.de (Postfix) with ESMTPSA id 1FCBA15A0535; Thu,  4 May 2017 11:42:26 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1493890946; bh=RW52BSMhYeVa50zffCHVhMzmq2uo48N92i9EaTqI+Gs=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=SFfB3UIHIMkaazBM8JQ9vaVkWkni1nwvyBtTGlX8PWVChL/NWjpCOwl1mQ0RF5aZp e4lJIiMISRXyyCbAE0QXW1xk6xUMEnGo2z9z6GCarPRTvaBtK9f/oxdHsHfyDR2aFB 9UY3ruKvtnFvc65xETAkXnqxMB8T7C9/O5XRQezU=
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Stefan Eissing <stefan.eissing@greenbytes.de>
In-Reply-To: <BN6PR03MB2708762328EE8C91A229B9B987EA0@BN6PR03MB2708.namprd03.prod.outlook.com>
Date: Thu, 4 May 2017 11:42:25 +0200
Cc: Martin Thomson <martin.thomson@gmail.com>, McManus Patrick <mcmanus@ducksong.com>, HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>, Mike Bishop <Michael.Bishop@microsoft.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <B3FE4E3A-B6C2-44C8-ADFC-20ADD4284E72@greenbytes.de>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com> <87lgqdr0fr.fsf@fifthhorseman.net> <BN6PR03MB27085632B5CBA7324894699487EA0@BN6PR03MB2708.namprd03.prod.outlook.com> <CABkgnnVLasxAfsezDp4H0cSOme5okHUY0ruG7EzgsNEW89SmDQ@mail.gmail.com> <87bmr9qwn7.fsf@fifthhorseman.net> <BN6PR03MB2708762328EE8C91A229B9B987EA0@BN6PR03MB2708.namprd03.prod.outlook.com>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
X-Mailer: Apple Mail (2.3273)
Received-SPF: pass client-ip=217.91.35.233; envelope-from=stefan.eissing@greenbytes.de; helo=mail.greenbytes.de
X-W3C-Hub-Spam-Status: No, score=-5.1
X-W3C-Hub-Spam-Report: AWL=-1.123, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d6DHf-0001Ig-Dc 4253914e2852b724a9d4b5af0248a884
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version   Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/B3FE4E3A-B6C2-44C8-ADFC-20ADD4284E72@greenbytes.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33882
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 04.05.2017 um 04:53 schrieb Mike Bishop =
<Michael.Bishop@microsoft.com>:
>=20
> If you want to do this transparently inside of HTTP without looking =
different on the outside, define an HTTP/2 extension for tunneling DNS.  =
Unknown frame types and settings MUST be ignored -- the client can start =
shipping DNS queries on stream 0 speculatively and have them ignored if =
the server doesn't speak your extension, or wait to see if the server's =
SETTINGS frame indicates that it supports the extension (after 1 RTT), =
both without any loss of compatibility or performance (other than extra =
bytes).  It doesn't get you HTTP/1.x compatibility, but I'm dubious =
anything you do within that can be done performantly nor is it a =
long-term pool to hide in.

I recommend this as a h2 based solution. If a client wants to use the =
connection purely for DNS traffic, you just need to add the static =
preamble and SETTINGS bytes and prefix each data chunk (of max 16K) with =
a 9 byte h2 frame header. And read the same in answers from the server. =
Ignoring any frame type you do not know. Flow control is done entirely =
by TCP.

This gives you an up and down byte stream transferred as h2 extension =
frames. The connection handshake looks 100% identical before the strong =
encryption kicks in. And you could the same, maybe with some tweaked =
frame identifiers, on a QUIC connection in the future, I would assume.

If you want to define something that really lives besides other h2 =
streams on the same connection, then you need to make use of h2 flow =
control and other features. But as I understood, this is not a scenario =
you are aiming for.

Cheers,

-Stefan (h2 in Apache httpd)=


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May  4 03:19:49 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AC1A5129568 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 May 2017 03:19:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id myzaGQtStnC1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 May 2017 03:19:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3BA8B12E855 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  4 May 2017 03:19:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d6Dod-0001cG-92 for ietf-http-wg-dist@listhub.w3.org; Thu, 04 May 2017 10:16:55 +0000
Resent-Date: Thu, 04 May 2017 10:16:55 +0000
Resent-Message-Id: <E1d6Dod-0001cG-92@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <ilariliusvaara@welho.com>) id 1d6DoO-0001b0-PY for ietf-http-wg@listhub.w3.org; Thu, 04 May 2017 10:16:40 +0000
Received: from welho-filter3.welho.com ([83.102.41.25]) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <ilariliusvaara@welho.com>) id 1d6DoI-0004oI-C0 for ietf-http-wg@w3.org; Thu, 04 May 2017 10:16:35 +0000
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id 9348B20D7D; Thu,  4 May 2017 13:16:06 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id yNDnvQuweoag; Thu,  4 May 2017 13:16:05 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id 5292CC4; Thu,  4 May 2017 13:16:05 +0300 (EEST)
Date: Thu, 4 May 2017 13:16:04 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
Cc: DNS Privacy Working Group <dns-privacy@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20170504101604.GA31988@LK-Perkele-V2.elisa-laajakaista.fi>
References: <87tw51remp.fsf@fifthhorseman.net> <CAAF6GDcn0Jn3jCeOBts5t53WnY8TA1wz=QXRMJugV0AQr75q5w@mail.gmail.com> <87inlhqz4n.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <87inlhqz4n.fsf@fifthhorseman.net>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Received-SPF: none client-ip=83.102.41.25; envelope-from=ilariliusvaara@welho.com; helo=welho-filter3.welho.com
X-W3C-Hub-Spam-Status: No, score=-3.1
X-W3C-Hub-Spam-Report: AWL=-0.227, BAYES_00=-1.9, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d6DoI-0004oI-C0 2573b27597cba9be260ead263788b89d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [dns-privacy] Demultiplexing HTTP and DNS on the same listener  [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/20170504101604.GA31988@LK-Perkele-V2.elisa-laajakaista.fi>
To: ietf-http-wg@w3.org
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33883
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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, May 03, 2017 at 07:50:00PM -0400, Daniel Kahn Gillmor wrote:

> > Sometimes the backends behind these proxies have to accept traffic directly
> > too, and they fingerprint the first few bytes to determine whether it's a
> > direct HTTP connection, or a proxied request. I haven't thought through it,
> > but it might get a little complicated doing two levels of demuxing, and it
> > might not even be possible in some cases.
> 
> Thanks for the pointers to these protocols!  It's good to know that
> people are already doing this sort of demuxing on the fly in some cases,
> and that they haven't broken HTTP for everyone else yet :)
> 
> One approach for the current draft would be to explicitly call these
> protocols out as things that are incompatible with he proposed form of
> demuxing.  I'd be happy to add a generic "do not mix this mechanism with
> other similar mechanisms" section.  I've just opened
> https://gitlab.com/dkg/hddemux/issues/2 to make sure that doesn't get
> lost.

Note that in case of PROXY, you shouldn't try to discriminate it from
DNS. Read the PROXY header if source is configured to have one and then
tell apart HTTP and DNS if appropriate.

Other reverse proxying schemes that actually play with HTTP headers are
incompatible with demuxing HTTP and DNS this way, since those assume that
all traffic is HTTP.


-Ilari


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May  4 11:27:41 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C493D129B8D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 May 2017 11:27:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.002
X-Spam-Level:
X-Spam-Status: No, score=-7.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UJFWxMB_KwbR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 May 2017 11:27:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 328C0129C09 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  4 May 2017 11:27:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d6LQH-0001XK-Dy for ietf-http-wg-dist@listhub.w3.org; Thu, 04 May 2017 18:24:17 +0000
Resent-Date: Thu, 04 May 2017 18:24:17 +0000
Resent-Message-Id: <E1d6LQH-0001XK-Dy@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <Michael.Bishop@microsoft.com>) id 1d6LQC-0001WU-2D for ietf-http-wg@listhub.w3.org; Thu, 04 May 2017 18:24:12 +0000
Received: from mail-by2nam03on0094.outbound.protection.outlook.com ([104.47.42.94] helo=NAM03-BY2-obe.outbound.protection.outlook.com) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from <Michael.Bishop@microsoft.com>) id 1d6LQ5-00023G-55 for ietf-http-wg@w3.org; Thu, 04 May 2017 18:24:06 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=I0pW1gtzGjJpTuwiimpL3R9nWjfcPy+amDEaf7JEwSk=; b=jsrIl66j2VOf0fhxHvHH2Y3JLJ3lTMUCudUQ4xpt1Za5O4hdeFIYjFG/QgPxzx3n7i8tQ25nYPhfskGXn6OKFs6LbbDghE1B3eT8/22k1U7lrul0jpDPAeie6LFoxOzfmSGCe2SgMIP/f4ea349Uu36xfpkpSrokL7OXlpwJnDE=
Received: from BN6PR03MB2708.namprd03.prod.outlook.com (10.173.144.15) by BN6PR03MB2707.namprd03.prod.outlook.com (10.173.144.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12; Thu, 4 May 2017 18:23:36 +0000
Received: from BN6PR03MB2708.namprd03.prod.outlook.com ([10.173.144.15]) by BN6PR03MB2708.namprd03.prod.outlook.com ([10.173.144.15]) with mapi id 15.01.1061.021; Thu, 4 May 2017 18:23:36 +0000
From: Mike Bishop <Michael.Bishop@microsoft.com>
To: Stefan Eissing <stefan.eissing@greenbytes.de>, Daniel Kahn Gillmor <dkg@fifthhorseman.net>
CC: Martin Thomson <martin.thomson@gmail.com>, McManus Patrick <mcmanus@ducksong.com>, HTTP Working Group <ietf-http-wg@w3.org>, "DNS Privacy Working Group" <dns-privacy@ietf.org>
Thread-Topic: Demultiplexing HTTP and DNS on the same listener [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
Thread-Index: AQHSxLrAwbR+E75n5kCXertTWK9cC6HkfSsA
Date: Thu, 4 May 2017 18:23:35 +0000
Message-ID: <BN6PR03MB27081D37B1138616F0C8DD0187EA0@BN6PR03MB2708.namprd03.prod.outlook.com>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com> <87lgqdr0fr.fsf@fifthhorseman.net> <BN6PR03MB27085632B5CBA7324894699487EA0@BN6PR03MB2708.namprd03.prod.outlook.com> <CABkgnnVLasxAfsezDp4H0cSOme5okHUY0ruG7EzgsNEW89SmDQ@mail.gmail.com> <87bmr9qwn7.fsf@fifthhorseman.net> <BN6PR03MB2708762328EE8C91A229B9B987EA0@BN6PR03MB2708.namprd03.prod.outlook.com> <B3FE4E3A-B6C2-44C8-ADFC-20ADD4284E72@greenbytes.de>
In-Reply-To: <B3FE4E3A-B6C2-44C8-ADFC-20ADD4284E72@greenbytes.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michael.Bishop@microsoft.com; 
x-originating-ip: [2001:4898:80e8:8::de]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1;BN6PR03MB2707;7:h//u0C1E8bDoMR6GzBay2Ln2GCURPCEt4CaX36N8en0zKvqW7fcxmJpvJlxIWPEDvCLs602UxeLl+ZgXZEISZiQ21LyaTo9WphZJ7KMK+b36DQM5Yvi9w6SAF8SOnwZqvKkyX/OUaWD+Hgop22r4SZ8ZOl0dMVFhQ/VAo4Ji73K9ops4h9ba2EkVNSQgIkn7EQeHYKjDSQNruK6RpmYG9ed6zHM1zTNws+Miqblslr2m8tBwaPe3KfVSURJ4KnZpNoU+bITiOW1VGkG01+A1yPIKwuIpNMcaBU12rfVStHyJV9DPtJ3TNzP9nG5DdJ4Utp6zUd/axk50wf0F6avP1qE8pg18P/nJaXv3Keo+dx4=
x-ms-office365-filtering-correlation-id: 93f9de20-299a-4c27-05b2-08d4931aadf0
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081);SRVR:BN6PR03MB2707;
x-microsoft-antispam-prvs: <BN6PR03MB270796BE6927BFC7E18D179E87EA0@BN6PR03MB2707.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(17755550239193);
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123558100)(20161123562025)(20161123555025)(20161123560025)(6072148);SRVR:BN6PR03MB2707;BCL:0;PCL:0;RULEID:;SRVR:BN6PR03MB2707;
x-forefront-prvs: 02973C87BC
x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(39860400002)(39840400002)(39410400002)(39400400002)(39850400002)(39450400003)(13464003)(377454003)(8990500004)(25786009)(53936002)(10290500003)(2900100001)(38730400002)(53546009)(5005710100001)(6506006)(478600001)(6246003)(6436002)(50986999)(86612001)(15650500001)(77096006)(76176999)(54356999)(55016002)(86362001)(99286003)(9686003)(54906002)(74316002)(305945005)(102836003)(6116002)(229853002)(7696004)(5660300001)(93886004)(33656002)(122556002)(39060400002)(2950100002)(230783001)(7736002)(8936002)(81166006)(189998001)(8676002)(3660700001)(10090500001)(3280700002)(2906002)(4326008);DIR:OUT;SFP:1102;SCL:1;SRVR:BN6PR03MB2707;H:BN6PR03MB2708.namprd03.prod.outlook.com;FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;LANG:en;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2017 18:23:35.9671 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2707
Received-SPF: pass client-ip=104.47.42.94; envelope-from=Michael.Bishop@microsoft.com; helo=NAM03-BY2-obe.outbound.protection.outlook.com
X-W3C-Hub-Spam-Status: No, score=-5.3
X-W3C-Hub-Spam-Report: AWL=-0.977, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_NW=0.5
X-W3C-Scan-Sig: mimas.w3.org 1d6LQ5-00023G-55 91af18461498412e12d0883cd03e1f83
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Demultiplexing HTTP and DNS on the same listener [New Version   Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/BN6PR03MB27081D37B1138616F0C8DD0187EA0@BN6PR03MB2708.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33884
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Even on the same connection as HTTP traffic, this would work -- it just wou=
ldn't be flow-controlled beyond TCP, while the HTTP/2 streams would be.

-----Original Message-----
From: Stefan Eissing [mailto:stefan.eissing@greenbytes.de]=20
Sent: Thursday, May 4, 2017 2:42 AM
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Cc: Martin Thomson <martin.thomson@gmail.com>; McManus Patrick <mcmanus@duc=
ksong.com>; HTTP Working Group <ietf-http-wg@w3.org>; DNS Privacy Working G=
roup <dns-privacy@ietf.org>; Mike Bishop <Michael.Bishop@microsoft.com>
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version =
Notification for draft-dkg-dprive-demux-dns-http-02]


> Am 04.05.2017 um 04:53 schrieb Mike Bishop <Michael.Bishop@microsoft.com>=
:
>=20
> If you want to do this transparently inside of HTTP without looking diffe=
rent on the outside, define an HTTP/2 extension for tunneling DNS.  Unknown=
 frame types and settings MUST be ignored -- the client can start shipping =
DNS queries on stream 0 speculatively and have them ignored if the server d=
oesn't speak your extension, or wait to see if the server's SETTINGS frame =
indicates that it supports the extension (after 1 RTT), both without any lo=
ss of compatibility or performance (other than extra bytes).  It doesn't ge=
t you HTTP/1.x compatibility, but I'm dubious anything you do within that c=
an be done performantly nor is it a long-term pool to hide in.

I recommend this as a h2 based solution. If a client wants to use the conne=
ction purely for DNS traffic, you just need to add the static preamble and =
SETTINGS bytes and prefix each data chunk (of max 16K) with a 9 byte h2 fra=
me header. And read the same in answers from the server. Ignoring any frame=
 type you do not know. Flow control is done entirely by TCP.

This gives you an up and down byte stream transferred as h2 extension frame=
s. The connection handshake looks 100% identical before the strong encrypti=
on kicks in. And you could the same, maybe with some tweaked frame identifi=
ers, on a QUIC connection in the future, I would assume.

If you want to define something that really lives besides other h2 streams =
on the same connection, then you need to make use of h2 flow control and ot=
her features. But as I understood, this is not a scenario you are aiming fo=
r.

Cheers,

-Stefan (h2 in Apache httpd)


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May  4 23:59:16 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2B81D129468 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 May 2017 23:59:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.394
X-Spam-Level:
X-Spam-Status: No, score=-0.394 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.886, RAZOR2_CHECK=0.922, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hP7lDeZzjMxd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 May 2017 23:59:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 74731129462 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  4 May 2017 23:59:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d6X9l-0002RC-5W for ietf-http-wg-dist@listhub.w3.org; Fri, 05 May 2017 06:56:01 +0000
Resent-Date: Fri, 05 May 2017 06:56:01 +0000
Resent-Message-Id: <E1d6X9l-0002RC-5W@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <webmaster@w3.org>) id 1d6X9U-000268-Vz; Fri, 05 May 2017 06:55:45 +0000
Received: from relay.euphony.mailprotect.be ([178.208.44.11]) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <webmaster@w3.org>) id 1d6X9I-0000hs-Rw; Fri, 05 May 2017 06:55:34 +0000
Received: from webmail.euphonynet.be (185.162.28.197.static.hosted.by.combell.com [185.162.28.197]) by relay.euphony.mailprotect.be (Postfix) with ESMTP id 95AD666A1; Fri,  5 May 2017 08:54:15 +0200 (CEST)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_67db8d0fca9bc0284eb3237980e23d10"
Date: Thu, 04 May 2017 23:54:15 -0700
From: webmaster@w3.org
To: undisclosed-recipients:;
Message-ID: <cca28a461748648bbe1a9dac33d02eba@euphonynet.be>
X-Sender: webmaster@w3.org
User-Agent: Roundcube Webmail/1.1.5
Received-SPF: softfail client-ip=178.208.44.11; envelope-from=webmaster@w3.org; helo=relay.euphony.mailprotect.be
X-W3C-Hub-Spam-Status: No, score=-0.5
X-W3C-Hub-Spam-Report: BAYES_99=2.5, BAYES_999=0.2, HTML_MESSAGE=0.001, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.886, RAZOR2_CHECK=0.922, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_SOFTFAIL=0.665, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d6X9I-0000hs-Rw 2e44aa071acd71ba72207dd14cce70d7
X-Original-To: ietf-http-wg@w3.org
Subject: Mailbox Warning Alert
Archived-At: <http://www.w3.org/mid/cca28a461748648bbe1a9dac33d02eba@euphonynet.be>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33885
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--=_67db8d0fca9bc0284eb3237980e23d10
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII

 		950MB

 1000 MB

Your mailbox size has reached 4535.22MB, which is over 90% of your
5000.00MB quota. 

Your are required to upgrade mail quota (free) to restore normal email
delivery. 

===> CLICK HERE [1] )  To Upgrade Mail Quota 

Thank you. 
Web Access Admin  

Links:
------
[1] https://formcrafts.com/a/27797
--=_67db8d0fca9bc0284eb3237980e23d10
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
=3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen=
eva,sans-serif'>
<div>
<table cellspacing=3D"0;">
<tbody>
<tr>
<td><span>950MB</span></td>
<td><span>&nbsp;</span></td>
<td><span><strong>1000&nbsp;</strong>MB<br /></span></td>
</tr>
</tbody>
</table>
</div>
<div>Your mailbox size has reached 4535.22MB, which is over 90% of your 500=
0.00MB quota.</div>
<div>&nbsp;</div>
<div>Your are required to upgrade mail quota (free) to restore normal email=
 delivery.</div>
<div>&nbsp;</div>
<div>=3D=3D=3D&gt;&nbsp;<a href=3D"https://formcrafts.com/a/27797" target=
=3D"_blank" data-saferedirecturl=3D"https://www.google.com/url?hl=3Den&amp;=
q=3Dhttps://formcrafts.com/a/27797&amp;source=3Dgmail&amp;ust=3D14939863442=
67000&amp;usg=3DAFQjCNE4X2FMpkrAImFnrth3LUetRlFuGQ">CLICK HERE</a>&nbsp;) &=
nbsp;To Upgrade Mail Quota</div>
<div>&nbsp;</div>
<div>Thank you.</div>
<div>Web Access Admin&nbsp;</div>
</body></html>

--=_67db8d0fca9bc0284eb3237980e23d10--



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Fri May  5 00:40:37 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5B5C2129459 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 May 2017 00:40:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.694
X-Spam-Level:
X-Spam-Status: No, score=-1.694 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, HTML_MESSAGE=0.001, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.886, RAZOR2_CHECK=0.922, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v09U-MJgcZ7H for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 May 2017 00:40:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D5AFA12944F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  5 May 2017 00:40:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d6XoK-0005DU-Jf for ietf-http-wg-dist@listhub.w3.org; Fri, 05 May 2017 07:37:56 +0000
Resent-Date: Fri, 05 May 2017 07:37:56 +0000
Resent-Message-Id: <E1d6XoK-0005DU-Jf@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <webmaster@w3.org>) id 1d6Xo3-0004lp-J4; Fri, 05 May 2017 07:37:39 +0000
Received: from relay.euphony.mailprotect.be ([178.208.44.11]) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <webmaster@w3.org>) id 1d6Xns-0002SQ-7k; Fri, 05 May 2017 07:37:29 +0000
Received: from webmail.euphonynet.be (185.162.28.197.static.hosted.by.combell.com [185.162.28.197]) by relay.euphony.mailprotect.be (Postfix) with ESMTP id 9D005AAFF8; Fri,  5 May 2017 09:36:09 +0200 (CEST)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_4c7511d025e7c480094b62868377d12f"
Date: Fri, 05 May 2017 00:36:09 -0700
From: webmaster@w3.org
To: undisclosed-recipients:;
Message-ID: <5522b9be29d3b4345909031a389304f4@euphonynet.be>
X-Sender: webmaster@w3.org
User-Agent: Roundcube Webmail/1.1.5
Received-SPF: softfail client-ip=178.208.44.11; envelope-from=webmaster@w3.org; helo=relay.euphony.mailprotect.be
X-W3C-Hub-Spam-Status: No, score=0.1
X-W3C-Hub-Spam-Report: AWL=-0.673, BAYES_99=2.5, BAYES_999=0.2, HTML_MESSAGE=0.001, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.886, RAZOR2_CHECK=0.922, RCVD_IN_BL_SPAMCOP_NET=1.347, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_SOFTFAIL=0.665, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d6Xns-0002SQ-7k 75611647b5d2587c2471c25327bc4b02
X-Original-To: ietf-http-wg@w3.org
Subject: Mailbox Warning Alert
Archived-At: <http://www.w3.org/mid/5522b9be29d3b4345909031a389304f4@euphonynet.be>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33886
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--=_4c7511d025e7c480094b62868377d12f
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII

 		950MB

 1000 MB

Your mailbox size has reached 4535.22MB, which is over 90% of your
5000.00MB quota. 

Your are required to upgrade mail quota (free) to restore normal email
delivery. 

===>  CLICK HERE [1] )  To Upgrade Mail Quota 

Thank you. 
Web Access Admin  

Links:
------
[1] https://formcrafts.com/a/27885
--=_4c7511d025e7c480094b62868377d12f
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
=3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen=
eva,sans-serif'>
<div>
<table cellspacing=3D"0;">
<tbody>
<tr>
<td><span>950MB</span></td>
<td><span>&nbsp;</span></td>
<td><span><strong>1000&nbsp;</strong>MB<br /></span></td>
</tr>
</tbody>
</table>
</div>
<div>Your mailbox size has reached 4535.22MB, which is over 90% of your 500=
0.00MB quota.</div>
<div>&nbsp;</div>
<div>Your are required to upgrade mail quota (free) to restore normal email=
 delivery.</div>
<div>&nbsp;</div>
<div>=3D=3D=3D&gt; &nbsp;<a href=3D"https://formcrafts.com/a/27885">CLICK H=
ERE</a>&nbsp;) &nbsp;To Upgrade Mail Quota</div>
<div>&nbsp;</div>
<div>Thank you.</div>
<div>Web Access Admin&nbsp;</div>
</body></html>

--=_4c7511d025e7c480094b62868377d12f--



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Fri May  5 09:31:49 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 55BAF129AE7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 May 2017 09:31:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l22SCela3Vsk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 May 2017 09:31:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1403C129AE9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  5 May 2017 09:31:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d6g5D-0007bD-2m for ietf-http-wg-dist@listhub.w3.org; Fri, 05 May 2017 16:27:55 +0000
Resent-Date: Fri, 05 May 2017 16:27:55 +0000
Resent-Message-Id: <E1d6g5D-0007bD-2m@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <rousskov@measurement-factory.com>) id 1d6g59-0007aF-5b for ietf-http-wg@listhub.w3.org; Fri, 05 May 2017 16:27:51 +0000
Received: from mail.measurement-factory.com ([104.237.131.42]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <rousskov@measurement-factory.com>) id 1d6g52-0007b4-Qm for ietf-http-wg@w3.org; Fri, 05 May 2017 16:27:45 +0000
Received: from [65.102.233.169] (unknown [65.102.233.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.measurement-factory.com (Postfix) with ESMTPSA id 300BDE02F; Fri,  5 May 2017 16:27:22 +0000 (UTC)
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <87o9v9r0mh.fsf@fifthhorseman.net> <2564afa5-1a0d-c3e0-e620-37d67482ce28@measurement-factory.com> <87fuglqww2.fsf@fifthhorseman.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
From: Alex Rousskov <rousskov@measurement-factory.com>
Message-ID: <26d3a30c-02bd-faca-5bc8-a7d9748a753c@measurement-factory.com>
Date: Fri, 5 May 2017 10:27:21 -0600
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <87fuglqww2.fsf@fifthhorseman.net>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=104.237.131.42; envelope-from=rousskov@measurement-factory.com; helo=mail.measurement-factory.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: AWL=-0.249, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d6g52-0007b4-Qm 7aa9edd90c0393998bf28fd04441ad3f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version  Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/26d3a30c-02bd-faca-5bc8-a7d9748a753c@measurement-factory.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33887
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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/03/2017 06:38 PM, Daniel Kahn Gillmor wrote:

> On Wed 2017-05-03 17:34:47 -0600, Alex Rousskov wrote:
>> Think of the HTTP proxies, not just origin servers.

> Here's a few things i think you might be saying:
> 
>  0) A DNS client shouldn't expect this mechanism to work in the clear
>     over port 80, because existing transparent HTTP proxies that the
>     client doesn't know about will likely choke on it.  I've noted this
>     as https://gitlab.com/dkg/hddemux/issues/3
> 
>  1) A DNS client shouldn't expect to use this mechanism through an
>     explicit HTTP proxy either, as the explicit proxy will also choke on
>     it. 

Yes, both.

You can address (1) if you add support for HTTP proxies to the DNS
client, but, at that point, you should just do the Right Thing and
implement DNS-over-HTTP instead IMHO.


> However, i'm not sure how this works for port 443.

Due to the success of the "TLS everywhere" campaign, port 443 is nearly
the same as port 80 from the deployment point of view these days. There
are proxies that intercept and inspect port 443 traffic (just like they
intercept and inspect port 80 traffic) and there are explicit proxies
that inspect CONNECT tunnels, just like they inspect unencrypted HTTP
messages. Needless to say, your DNS client may prohibit such inspections
(like some HTTP sites/apps do) at the risk of being blocked or let the
users/admin configure who to trust (like HTTP clients do).


> Do you have suggestions of text for the draft that would address these
> concerns?

AFAICT, these concerns cannot be properly addressed in the proposed
DNS-or-HTTP framework. They can only be addressed by a proper
DNS-over-HTTP protocol.


HTH,

Alex.



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May  8 18:11:28 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3DA7B127ABE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 May 2017 18:11:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level:
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wO__heTh9cAC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 May 2017 18:11:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D5C6D126C83 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  8 May 2017 18:11:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d7tcs-0004SB-8C for ietf-http-wg-dist@listhub.w3.org; Tue, 09 May 2017 01:07:42 +0000
Resent-Date: Tue, 09 May 2017 01:07:42 +0000
Resent-Message-Id: <E1d7tcs-0004SB-8C@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <mnot@mnot.net>) id 1d7tcn-0004Pt-6Y for ietf-http-wg@listhub.w3.org; Tue, 09 May 2017 01:07:37 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <mnot@mnot.net>) id 1d7tcg-0000VH-Jd for ietf-http-wg@w3.org; Tue, 09 May 2017 01:07:31 +0000
Received: from [192.168.1.18] (unknown [124.189.96.43]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id E58F822E1F3; Mon,  8 May 2017 21:07:06 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <20170419164106.EFBCF24249@welho-filter4.welho.com>
Date: Tue, 9 May 2017 11:07:03 +1000
Cc: HTTP working group mailing list <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <349146FF-CBDE-4CF8-86AA-D13B0EA2B773@mnot.net>
References: <D9E568D2-D84E-464F-A619-C2F92DD49B08@mnot.net> <20170419164106.EFBCF24249@welho-filter4.welho.com>
To: Kari Hurtta <hurtta-ietf@elmme-mailer.org>, Ilya Grigorik <igrigorik@google.com>
X-Mailer: Apple Mail (2.3273)
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=-7.0
X-W3C-Hub-Spam-Report: AWL=2.631, BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d7tcg-0000VH-Jd 6d0fbe7cbe0dd73bc7eaef6f20eb83b6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-ietf-httpbis-client-hints-04; 2.2.2. The   Accept-CH-Lifetime header field
Archived-At: <http://www.w3.org/mid/349146FF-CBDE-4CF8-86AA-D13B0EA2B773@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33888
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 Kari,

> On 20 Apr 2017, at 2:41 am, Kari Hurtta <hurtta-ietf@elmme-mailer.org> =
wrote:
>=20
> 2.2.2.  The Accept-CH-Lifetime header field
> =
https://tools.ietf.org/html/draft-ietf-httpbis-client-hints-04#section-2.2=
.2
>=20
> |   Servers can ask the client to remember an origin-wide Accept-CH
> |   preference for a specified period of time to enable delivery of
> |   Client Hints on all subsequent requests to the origin, and on
> |   subresource requests initiated as a result of processing a =
response
> |   from the origin.
> |
> |     Accept-CH-Lifetime =3D #delta-seconds
> |
> |   The field-value indicates that the Accept-CH preference should be
> |   considered stale after its age is greater than the specified =
number
> |   of seconds.
> |
> |     Accept-CH: DPR, Viewport-Width
> |     Accept-CH-Lifetime: 86400
>=20
>=20
> It is not very clear why two header fields is needed to pass that =
information.

Accept-CH is nothing more than a list of other header field names. If =
you put other information in there, you have exceptional processing, =
which is awkward (and leads to thinks like registering the fake header =
field name "close" for the Connection header).=20


> 2.2.1.  Advertising Support via Accept-CH header field
> =
https://tools.ietf.org/html/draft-ietf-httpbis-client-hints-04#section-2.2=
.1
>=20
> |   Servers can advertise support for Client Hints using the Accept-CH
> |   header field or an equivalent HTML meta element with http-equiv
> |   attribute ([W3C.REC-html5-20141028]).
>=20
> Is it assumed that "Accept-CH" is given in http-equiv
> attribute, but "Accept-CH-Lifetime" on http response ?
>=20
> Or is that needed so that "Accept-CH" can be given
> on several times?
>=20
>=20
> What happens if there is several "Accept-CH-Lifetime"
> on response?

Ilya, any thoughts here? Clarifying these would probably be helpful.

Cheers,


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



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May  8 18:24:16 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 70F0F126C83 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 May 2017 18:24:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PjfOd8lVPSjf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 May 2017 18:24:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4384A128B44 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  8 May 2017 18:24:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d7tpx-0005qC-M8 for ietf-http-wg-dist@listhub.w3.org; Tue, 09 May 2017 01:21:13 +0000
Resent-Date: Tue, 09 May 2017 01:21:13 +0000
Resent-Message-Id: <E1d7tpx-0005qC-M8@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <mnot@mnot.net>) id 1d7tpt-0005p9-UN for ietf-http-wg@listhub.w3.org; Tue, 09 May 2017 01:21:09 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <mnot@mnot.net>) id 1d7tpn-0000rf-9S for ietf-http-wg@w3.org; Tue, 09 May 2017 01:21:04 +0000
Received: from [192.168.1.18] (unknown [124.189.96.43]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 97FD022E1F3; Mon,  8 May 2017 21:20:33 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <8737clqund.fsf@fifthhorseman.net>
Date: Tue, 9 May 2017 11:20:30 +1000
Cc: Martin Thomson <martin.thomson@gmail.com>, Mike Bishop <Michael.Bishop@microsoft.com>, Patrick McManus <mcmanus@ducksong.com>, HTTP Working Group <ietf-http-wg@w3.org>, DNS Privacy Working Group <dns-privacy@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <C207AD90-62B5-4AD0-BF34-C0EA52ED5696@mnot.net>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com> <87lgqdr0fr.fsf@fifthhorseman.net> <BN6PR03MB27085632B5CBA7324894699487EA0@BN6PR03MB2708.namprd03.prod.outlook.com> <CABkgnnVLasxAfsezDp4H0cSOme5okHUY0ruG7EzgsNEW89SmDQ@mail.gmail.com> <87bmr9qwn7.fsf@fifthhorseman.net> <CABkgnnUgy+iD8R=WOBFb8bFWrtX=06unmiA5Ne3eEkt_KLcGxw@mail.gmail.com> <8737clqund.fsf@fifthhorseman.net>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
X-Mailer: Apple Mail (2.3273)
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=-7.1
X-W3C-Hub-Spam-Report: AWL=2.551, BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d7tpn-0000rf-9S 97278109b9cc997029ecdfdb1cbf02fd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Demultiplexing HTTP and DNS on the same listener [New Version  Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/C207AD90-62B5-4AD0-BF34-C0EA52ED5696@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33889
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hey DKG,

Throwing my .02 in, although it's similar to what you've heard from =
others upthread --

I wouldn't do this for h1; it'll be an interop nightmare. H2 gives you =
the properties you want and the implementation / testing burden is much =
more realistic.

For H2, I wouldn't use an ALPN token; define a new frame type or two =
that you can send optimistically before SETTINGS sync, stopping them if =
you don't get the right SETTING from your peer. Realistically, this is =
going to need to be configured into the client anyway, so there's some =
amount of pre-arrangement.

Cheers,



> On 4 May 2017, at 11:26 am, Daniel Kahn Gillmor =
<dkg@fifthhorseman.net> wrote:
>=20
> On Thu 2017-05-04 11:11:59 +1000, Martin Thomson wrote:
>> On 4 May 2017 at 10:43, Daniel Kahn Gillmor <dkg@fifthhorseman.net> =
wrote:
>>> I address this in the draft section "Why not ALPN?" -- if anyone =
thinks
>>> the text there could be improved, i'd be happy to hear suggestions =
for
>>> how to change it.
>>=20
>> Mike is suggesting that you define one that is "http + dns" or maybe
>> "http or dns", which would mean that you could use either.  Then you
>> convince existing HTTP clients to use that (a few browsers would do
>> the job).  Even if they didn't actually DO DNS, you would still be
>> able to hide in the mass/mess that they represent.
>=20
> hm, it sounds like that won't work for h2, given Patrick's point that =
h2
> isn't client-speaks-first.  Right?  If we tried to do something like
> "h2|dns", it seems like it would introduce a potential latency hit for
> any h2-specific client that proposed it, because the server couldn't
> send its first frame unsolicited.  I know you can't speak for Mozilla,
> but would you imagine firefox opting into this for normal http/2
> connections?
>=20
>> In TLS 1.3, the server choice is hidden, so even where the server
>> doesn't pick this choice, it works.  In TLS 1.2, you probably want to
>> convince a few servers to pick this new thing, but that obviously
>> means more work for those servers.
>=20
> For http/1.x, the draft is arguing that using an ALPN label is
> unnecessary -- so if that's right, what would we gain from a new ALPN
> label over using the existing HTTP/1.1 mechanism (i.e., either no ALPN
> or the ALPN token "http/1.1")?
>=20
> It looks to me like the new ALPN label introduces costs:
>=20
> * implementations on both server and client need to specify it
>=20
> * client implementations need to verify that it was chosen, and fail =
if
>   not
>=20
> * network monitors can see that it was offered and discriminate =
against
>   the offerer at least (TLS 1.3), and in some cases the established
>   connections (TLS 1.2 and earlier).
>=20
> What are the benefits of introducing a new ALPN label for demuxing
> HTTP/1.1 from DNS?
>=20
> Thanks for the discussion,
>=20
>     --dkg

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



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May  8 21:33:54 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3F6B61205D3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 May 2017 21:33:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qnvFgu4H2JF6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 May 2017 21:33:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 28546120227 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  8 May 2017 21:33:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d7wnA-0003tF-3u for ietf-http-wg-dist@listhub.w3.org; Tue, 09 May 2017 04:30:32 +0000
Resent-Date: Tue, 09 May 2017 04:30:32 +0000
Resent-Message-Id: <E1d7wnA-0003tF-3u@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <ilariliusvaara@welho.com>) id 1d7wn4-0003sS-Sj for ietf-http-wg@listhub.w3.org; Tue, 09 May 2017 04:30:26 +0000
Received: from welho-filter4.welho.com ([83.102.41.26]) by titan.w3.org with esmtp (Exim 4.84_2) (envelope-from <ilariliusvaara@welho.com>) id 1d7wmy-0005Tk-HY for ietf-http-wg@w3.org; Tue, 09 May 2017 04:30:21 +0000
Received: from localhost (localhost [127.0.0.1]) by welho-filter4.welho.com (Postfix) with ESMTP id 81E9421CD0; Tue,  9 May 2017 07:29:52 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter4.welho.com [::ffff:83.102.41.26]) (amavisd-new, port 10024) with ESMTP id OMjOooN0vwzs; Tue,  9 May 2017 07:29:52 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id 3D41D27F; Tue,  9 May 2017 07:29:52 +0300 (EEST)
Date: Tue, 9 May 2017 07:29:51 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: DNS Privacy Working Group <dns-privacy@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20170509042951.GA8239@LK-Perkele-V2.elisa-laajakaista.fi>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com> <87lgqdr0fr.fsf@fifthhorseman.net> <BN6PR03MB27085632B5CBA7324894699487EA0@BN6PR03MB2708.namprd03.prod.outlook.com> <CABkgnnVLasxAfsezDp4H0cSOme5okHUY0ruG7EzgsNEW89SmDQ@mail.gmail.com> <87bmr9qwn7.fsf@fifthhorseman.net> <CABkgnnUgy+iD8R=WOBFb8bFWrtX=06unmiA5Ne3eEkt_KLcGxw@mail.gmail.com> <8737clqund.fsf@fifthhorseman.net> <C207AD90-62B5-4AD0-BF34-C0EA52ED5696@mnot.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <C207AD90-62B5-4AD0-BF34-C0EA52ED5696@mnot.net>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Received-SPF: none client-ip=83.102.41.26; envelope-from=ilariliusvaara@welho.com; helo=welho-filter4.welho.com
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: AWL=1.000, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d7wmy-0005Tk-HY fb7f02ec19cf0a54dd5b9095ad63b3fc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [dns-privacy] Demultiplexing HTTP and DNS on the same listener  [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/20170509042951.GA8239@LK-Perkele-V2.elisa-laajakaista.fi>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33890
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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, May 09, 2017 at 11:20:30AM +1000, Mark Nottingham wrote:
> Hey DKG,
> 
> Throwing my .02 in, although it's similar to what you've heard from
> others upthread --
> 
> I wouldn't do this for h1; it'll be an interop nightmare. H2 gives
> you the properties you want and the implementation / testing burden
> is much more realistic.
> 
> For H2, I wouldn't use an ALPN token; define a new frame type or two
> that you can send optimistically before SETTINGS sync, stopping them
> if you don't get the right SETTING from your peer. Realistically,
> this is going to need to be configured into the client anyway, so
> there's some amount of pre-arrangement.

I don't think what you are saying is workable.

>From what I can gather, the intention for this thing DKG gave is to
be pure TLS-wrapped DNS from the client side. Any SETTINGS or otherwise
from the server breaks this. And it can not use any odd ALPN values
either.

This impiles this thing can't be used with HTTP/2, as it is both-
sides-send-first, instead of client-sends-first.

Yes, if you try this with random HTTP server, it will choke. The
intention is that the client knows via configuration that the HTTP
server is capable of DNS demux.


The schemes for riding DNS on top of HTTP or HTTP/2 framing structure
are totally different thing. Those are obviously more compatible with
HTTP/2.


-Ilari


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May  8 21:35:03 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AE6891205D3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 May 2017 21:35:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id djDq2w7IotFl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 May 2017 21:35:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9ED35120227 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  8 May 2017 21:35:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d7wpW-0003xj-4k for ietf-http-wg-dist@listhub.w3.org; Tue, 09 May 2017 04:32:58 +0000
Resent-Date: Tue, 09 May 2017 04:32:58 +0000
Resent-Message-Id: <E1d7wpW-0003xj-4k@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <mnot@mnot.net>) id 1d7wpS-0003wy-O6 for ietf-http-wg@listhub.w3.org; Tue, 09 May 2017 04:32:54 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <mnot@mnot.net>) id 1d7wpM-0005k3-7O for ietf-http-wg@w3.org; Tue, 09 May 2017 04:32:49 +0000
Received: from [192.168.1.18] (unknown [124.189.96.43]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 6A3C622E1F3; Tue,  9 May 2017 00:32:19 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <20170509042951.GA8239@LK-Perkele-V2.elisa-laajakaista.fi>
Date: Tue, 9 May 2017 14:32:17 +1000
Cc: DNS Privacy Working Group <dns-privacy@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <DFB46E34-A0ED-46B4-90C1-35CA7C409B65@mnot.net>
References: <87tw51remp.fsf@fifthhorseman.net> <CAOdDvNoNPXNXzpVcX7TZX=Z++kWMBhG_+uDH3Vk1Jp8+adcHLQ@mail.gmail.com> <CAOdDvNruCCyB2rsF9VgaVEOjQGD82wA0AiLAghiGjDM0SpBFPQ@mail.gmail.com> <87lgqdr0fr.fsf@fifthhorseman.net> <BN6PR03MB27085632B5CBA7324894699487EA0@BN6PR03MB2708.namprd03.prod.outlook.com> <CABkgnnVLasxAfsezDp4H0cSOme5okHUY0ruG7EzgsNEW89SmDQ@mail.gmail.com> <87bmr9qwn7.fsf@fifthhorseman.net> <CABkgnnUgy+iD8R=WOBFb8bFWrtX=06unmiA5Ne3eEkt_KLcGxw@mail.gmail.com> <8737clqund.fsf@fifthhorseman.net> <C207AD90-62B5-4AD0-BF34-C0EA52ED5696@mnot.net> <20170509042951.GA8239@LK-Perkele-V2.elisa-laajakaista.fi>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
X-Mailer: Apple Mail (2.3273)
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=-7.2
X-W3C-Hub-Spam-Report: AWL=2.429, BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d7wpM-0005k3-7O 36532111140515db2035c9fad5d7c1cd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [dns-privacy] Demultiplexing HTTP and DNS on the same listener  [New Version Notification for draft-dkg-dprive-demux-dns-http-02]
Archived-At: <http://www.w3.org/mid/DFB46E34-A0ED-46B4-90C1-35CA7C409B65@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33891
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

> On 9 May 2017, at 2:29 pm, Ilari Liusvaara <ilariliusvaara@welho.com> =
wrote:
>=20
> On Tue, May 09, 2017 at 11:20:30AM +1000, Mark Nottingham wrote:
>> Hey DKG,
>>=20
>> Throwing my .02 in, although it's similar to what you've heard from
>> others upthread --
>>=20
>> I wouldn't do this for h1; it'll be an interop nightmare. H2 gives
>> you the properties you want and the implementation / testing burden
>> is much more realistic.
>>=20
>> For H2, I wouldn't use an ALPN token; define a new frame type or two
>> that you can send optimistically before SETTINGS sync, stopping them
>> if you don't get the right SETTING from your peer. Realistically,
>> this is going to need to be configured into the client anyway, so
>> there's some amount of pre-arrangement.
>=20
> I don't think what you are saying is workable.
>=20
> =46rom what I can gather, the intention for this thing DKG gave is to
> be pure TLS-wrapped DNS from the client side. Any SETTINGS or =
otherwise
> from the server breaks this. And it can not use any odd ALPN values
> either.
>=20
> This impiles this thing can't be used with HTTP/2, as it is both-
> sides-send-first, instead of client-sends-first.
>=20
> Yes, if you try this with random HTTP server, it will choke. The
> intention is that the client knows via configuration that the HTTP
> server is capable of DNS demux.
>=20
>=20
> The schemes for riding DNS on top of HTTP or HTTP/2 framing structure
> are totally different thing. Those are obviously more compatible with
> HTTP/2.

Sorry if it wasn't clear -- what I was saying was "don't do this (DKG's =
proposal); do that (DNS-over-HTTP)".


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



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May 10 15:01:32 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8D24F129B66 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 10 May 2017 15:01:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.5
X-Spam-Level:
X-Spam-Status: No, score=-4.5 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y3-D8HFgNo6R for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 10 May 2017 15:01:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 96934129B72 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 10 May 2017 15:01:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8ZcB-00032v-A9 for ietf-http-wg-dist@listhub.w3.org; Wed, 10 May 2017 21:57:47 +0000
Resent-Date: Wed, 10 May 2017 21:57:47 +0000
Resent-Message-Id: <E1d8ZcB-00032v-A9@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <nygren@gmail.com>) id 1d8Zc6-000325-0r for ietf-http-wg@listhub.w3.org; Wed, 10 May 2017 21:57:42 +0000
Received: from mail-qk0-f196.google.com ([209.85.220.196]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <nygren@gmail.com>) id 1d8Zbz-00019X-89 for ietf-http-wg@w3.org; Wed, 10 May 2017 21:57:36 +0000
Received: by mail-qk0-f196.google.com with SMTP id u75so1316350qka.1 for <ietf-http-wg@w3.org>; Wed, 10 May 2017 14:57:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=YVBPHTcXp7Li6Qeiuk1KAPUD1Kbtg2q0Y9LJitvhsJ0=; b=TNEK/qxi3QcDq07BBYvTU2rZXv93kDwvhgQ5MZS7LzoALjEaQ/S+K90NLo4Xck9PYm J4ymCbDxHJ5DrAZ+mao+B0zbbOeTTVVXbSoO6Ap/4ijLeKf3I9xNYCZdcUSaKkvHLYOa Vk1NpoxGAQRru8O0yVzWopZDD1xB42ndKxs4l0/SqeGuYtji2EzSG2bXYGZ54uFmIgCu Ct/VvJUqQaXMKEGivCLS8Tvmkawng0bcrBjU52jZxuUu7Li4dtGxXW0GOtY5fAvnC7/j LDBMOp75a+4pmPy0G1wscoFo3xEwsl8u535VouBAM86TSgI2lHQu2TfxgAYK02j7JBbU OXAg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc; bh=YVBPHTcXp7Li6Qeiuk1KAPUD1Kbtg2q0Y9LJitvhsJ0=; b=MhPCRcEwWsAcWkb94+xJoleEgM9JKfs4LiQGCeRLlzalLXhKBwzPPWsHqkNI7GUs0s sUC7TIs3bf/sxnVBwPXJ+r25K73i5JxPkrH8bJGmLtAx1wgpju0KJx0/ARGh+eHFsM1/ qQr0V+b5quTQ1Rw1WS4JwIlRqRs1cTLdvwk1uJqwqzHiuU58aUZpVdpKo4sBflaq4qVb RPCZ7O/LrbtSspySMpf4wVLJU52vd/RQziBCsHGiK3dHN0P4Zg2ZAfmF8eYzV7n2rio5 yvmq/2s25YQI4lYtJYHCJ8hKH1lCZ9Jy9exohyH9H0dI/UsZFHm3pcwel4C6EvkeHxdl gTmw==
X-Gm-Message-State: AODbwcC/RzuTZucND8+YCigXOwQmye/M47aliM7n9P4Ex6i3Yyx+O4wk JWIVlB6fBzAd4Apge3Gg30F16dJypg==
X-Received: by 10.55.26.27 with SMTP id a27mr7181484qka.73.1494453429015; Wed, 10 May 2017 14:57:09 -0700 (PDT)
MIME-Version: 1.0
Sender: nygren@gmail.com
Received: by 10.12.172.151 with HTTP; Wed, 10 May 2017 14:57:08 -0700 (PDT)
From: Erik Nygren <erik@nygren.org>
Date: Wed, 10 May 2017 17:57:08 -0400
X-Google-Sender-Auth: _cNFut99nnZ5ZZkX85IWfWvqk6w
Message-ID: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Cc: "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Content-Type: multipart/alternative; boundary=001a11471d5ec51d11054f328dd5
Received-SPF: pass client-ip=209.85.220.196; envelope-from=nygren@gmail.com; helo=mail-qk0-f196.google.com
X-W3C-Hub-Spam-Status: No, score=-4.6
X-W3C-Hub-Spam-Report: AWL=-1.334, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d8Zbz-00019X-89 df09cd6e4dd5c6c7fdcd725da94650d5
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33892
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--001a11471d5ec51d11054f328dd5
Content-Type: text/plain; charset=UTF-8

Has anyone started working on an I-D for an HTTP (HTTP 1.1 and HTTP/2)
profile for TLS 1.3 0-RTT early data usage?  We've talked about it briefly
in meetings, but it seems like a work area that may need progress soon
before people start implementing things differently.  This same profile
same likely applies to early data for HTTP-over-QUIC as well.

Some topics to cover seem to be:

1) What HTTP requests can be safely sent by clients over 0-RTT early data
(with the inherent replay-ability and security considerations) ?  Mark
started some discussion here:  https://mnot.github.io/I-D/httpbis-retry/

2) An HTTP response status code for "Early data not supported for request:
retry request with 1-RTT".  This will be needed for cases where an HTTP
server isn't doing TLS termination and thus may have accepted early data
but still want to force the client to always send the request via 1-RTT
(eg, for a POST method).  This is especially critical if clients and
servers make different choices for how to handle #1.  This may want some
general considerations around how it is better to reject early data during
the handshake, but not all server implementations will be able to do this.

3) Being very explicit on how to handle early data that is rejected and
forced to be resent following connection establishment (ie, when the server
forces a client into 1-RTT mode by rejecting the early data).  A worst case
would be if a server actually handled the early data anyways but the client
thought the server had rejected it.  In HTTP/1.1 this could result in them
being off-by-one in requests/responses (and could lead to some HTTP Request
Smuggling style bugs and vulnerabilities.)

4) Perhaps a general HTTP request header for indicating that requests were
received via 0RTT early data (such as Cloudflare's "Cf-0rtt-Unique"
header).  This would be useful for both load balancers communicating to
application servers, as well as for CDNs communicating to origin servers.
This would presumably interact with #2 in cases where the appserver or
origin wanted to force a client to retry via 1-RTT.

5) ...  I'm sure there is more ...

Without some agreed on behaviors this could quickly become a mess.  For
example, if some clients decide to send POSTs via early data while some
servers assume clients will never do this and return 403 errors out of
paranoia.

Best, Erik

--001a11471d5ec51d11054f328dd5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail-ajy" tabindex=3D"0"><img class=3D"gmai=
l-ajz" id=3D"gmail-:7zs" src=3D"https://mail.google.com/mail/u/0/images/cle=
ardot.gif" alt=3D""></div><div><div><div><div>Has
 anyone started working on an I-D for an HTTP (HTTP 1.1 and HTTP/2)=20
profile for TLS 1.3 0-RTT early data usage?=C2=A0 We&#39;ve talked about it=
=20
briefly in meetings, but it seems like a work area that may need=20
progress soon before people start implementing things differently.=C2=A0 Th=
is
 same profile same likely applies to early data for HTTP-over-QUIC as=20
well.<br><br></div>Some topics to cover seem to be:<br><br></div>1) What
 HTTP requests can be safely sent by clients over 0-RTT early data (with
 the inherent replay-ability and security considerations) ?=C2=A0 Mark=20
started some discussion here:=C2=A0 <a href=3D"https://mnot.github.io/I-D/h=
ttpbis-retry/" target=3D"_blank">https://mnot.github.io/I-D/<wbr>httpbis-re=
try/</a><br><br></div>2)
 An HTTP response status code for &quot;Early data not supported for reques=
t:
 retry request with 1-RTT&quot;.=C2=A0 This will be needed for cases where =
an HTTP
 server isn&#39;t doing TLS termination and thus may have accepted early=20
data but still want to force the client to always send the request via=20
1-RTT (eg, for a POST method).=C2=A0 This is especially critical if clients=
=20
and servers make different choices for how to handle #1.=C2=A0 This may wan=
t=20
some general considerations around how it is better to reject early data
 during the handshake, but not all server implementations will be able=20
to do this.<br><br>3) Being very explicit on how to handle early data=20
that is rejected and forced to be resent following connection=20
establishment (ie, when the server forces a client into 1-RTT mode by=20
rejecting the early data).=C2=A0 A worst case would be if a server actually=
=20
handled the early data anyways but the client thought the server had=20
rejected it.=C2=A0 In HTTP/1.1 this could result in them being off-by-one i=
n=20
requests/responses (and could lead to some HTTP Request Smuggling style=20
bugs and vulnerabilities.)<br></div><div><br></div><div>4) Perhaps a=20
general HTTP request header for indicating that requests were received=20
via 0RTT early data (such as Cloudflare&#39;s &quot;Cf-0rtt-Unique&quot; he=
ader).=C2=A0=20
This would be useful for both load balancers communicating to=20
application servers, as well as for CDNs communicating to origin=20
servers.=C2=A0 This would presumably interact with #2 in cases where the=20
appserver or origin wanted to force a client to retry via 1-RTT.</div><div>=
<br></div><div>5) ...=C2=A0 I&#39;m sure there is more ...<br><br></div><di=
v>Without
 some agreed on behaviors this could quickly become a mess.=C2=A0 For=20
example, if some clients decide to send POSTs via early data while some=20
servers assume clients will never do this and return 403 errors out of=20
paranoia.<br><br></div>Best, Erik</div>

--001a11471d5ec51d11054f328dd5--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May 10 17:27:20 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CFE7B12E047 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 10 May 2017 17:27:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uXC5SVWTmdXE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 10 May 2017 17:27:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E24D5129C3B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 10 May 2017 17:27:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8btZ-0006S7-91 for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 00:23:53 +0000
Resent-Date: Thu, 11 May 2017 00:23:53 +0000
Resent-Message-Id: <E1d8btZ-0006S7-91@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <mnot@mnot.net>) id 1d8btU-0006RM-6K for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 00:23:48 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <mnot@mnot.net>) id 1d8btN-0002sZ-CA for ietf-http-wg@w3.org; Thu, 11 May 2017 00:23:42 +0000
Received: from [192.168.1.18] (unknown [124.189.96.43]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 08FEB22E1F3; Wed, 10 May 2017 20:23:16 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com>
Date: Thu, 11 May 2017 10:23:12 +1000
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com>
To: Erik Nygren <erik@nygren.org>
X-Mailer: Apple Mail (2.3273)
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=-6.9
X-W3C-Hub-Spam-Report: AWL=2.668, BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8btN-0002sZ-CA 2165ff801a1dfca12c3b3338bb0f6ab9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33893
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 Erik,

> On 11 May 2017, at 7:57 am, Erik Nygren <erik@nygren.org> wrote:
>=20
>=20
> Has anyone started working on an I-D for an HTTP (HTTP 1.1 and HTTP/2) =
profile for TLS 1.3 0-RTT early data usage?  We've talked about it =
briefly in meetings, but it seems like a work area that may need =
progress soon before people start implementing things differently.  This =
same profile same likely applies to early data for HTTP-over-QUIC as =
well.

[chair hat] Yes. This has been a perennial back-burner topic, and we =
probably need to move it forward, so we don't block TLS or QUIC.

[personal hat below]


> Some topics to cover seem to be:
>=20
> 1) What HTTP requests can be safely sent by clients over 0-RTT early =
data (with the inherent replay-ability and security considerations) ?  =
Mark started some discussion here:  =
https://mnot.github.io/I-D/httpbis-retry/

... along with concurrent list discussion.

My impression of the outcome there is that HTTP applications that depend =
on at-most-once delivery have to assure that at the application layer; =
HTTP provides no such guarantee (even though it implies it with the lack =
of idempotence for some methods).=20

That said, if 0RT mechanisms allow unbounded replays, it might stress =
(and break) existing application retry protections; my understanding is =
that the current 0RT proposals do scope replays, however.

Does that seem like where we're at?


> 2) An HTTP response status code for "Early data not supported for =
request: retry request with 1-RTT".  This will be needed for cases where =
an HTTP server isn't doing TLS termination and thus may have accepted =
early data but still want to force the client to always send the request =
via 1-RTT (eg, for a POST method).  This is especially critical if =
clients and servers make different choices for how to handle #1.  This =
may want some general considerations around how it is better to reject =
early data during the handshake, but not all server implementations will =
be able to do this.

I wonder if this would be better expressed as a H2/QUIC error code. I =
also wonder whether it'll be really interoperable; even one client that =
doesn't implement it correctly (or at all) will be a big disincentive =
for its use.

If an origin doesn't have robust retry/replay protection in place for =
non-idempotent requests, it seems operationally simpler and safer for =
them to disable 0RT, rather than refusing it on a request-by-request =
basis. That's the discussion I think we should have here...


> 3) Being very explicit on how to handle early data that is rejected =
and forced to be resent following connection establishment (ie, when the =
server forces a client into 1-RTT mode by rejecting the early data).  A =
worst case would be if a server actually handled the early data anyways =
but the client thought the server had rejected it.  In HTTP/1.1 this =
could result in them being off-by-one in requests/responses (and could =
lead to some HTTP Request Smuggling style bugs and vulnerabilities.)

I'd hope that TLS/QUIC are explicit here, and that we wouldn't need to =
be; that's the beauty of layered protocols :)


> 4) Perhaps a general HTTP request header for indicating that requests =
were received via 0RTT early data (such as Cloudflare's "Cf-0rtt-Unique" =
header).  This would be useful for both load balancers communicating to =
application servers, as well as for CDNs communicating to origin =
servers.  This would presumably interact with #2 in cases where the =
appserver or origin wanted to force a client to retry via 1-RTT.

Seems reasonable. Then you could Vary on it. *evil grin*

Cheers,



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



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May 10 17:37:51 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1AA5E128DE5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 10 May 2017 17:37:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.401
X-Spam-Level:
X-Spam-Status: No, score=-6.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sendgrid.me
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9AQVGQuSTXWI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 10 May 2017 17:37:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6AE181294EC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 10 May 2017 17:37:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8c4T-000749-1d for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 00:35:09 +0000
Resent-Date: Thu, 11 May 2017 00:35:09 +0000
Resent-Message-Id: <E1d8c4T-000749-1d@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1d8c4P-0005TF-QN for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 00:35:05 +0000
Received: from o1682455182.outbound-mail.sendgrid.net ([168.245.5.182]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1d8c4J-0003Id-AW for ietf-http-wg@w3.org; Thu, 11 May 2017 00:35:00 +0000
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me;  h=mime-version:in-reply-to:references:from:subject:to:cc:content-type;  s=smtpapi; bh=ZHXToTxcYXebbwR1WWcH4nA64WI=; b=VN9SIaLzKZwf3jZ1oj 5lq42aLecvQ3Ie6q7qen7Yp2ulZzXc/few20gRk9PRawQ7I9ulz88ygHtIqXjN6D 0f2EfkPN4xI/nZTeAB7fN64WA/+Z4ytOYIKApVySIo0847kgzNBdrekXS705ZNgZ w9kQXFuHTYVVQBgeyTKmVspis=
Received: by filter0509p1mdw1.sendgrid.net with SMTP id filter0509p1mdw1-17372-5913B197-8 2017-05-11 00:34:31.329275608 +0000 UTC
Received: from mail-qt0-f174.google.com (mail-qt0-f174.google.com [209.85.216.174]) by ismtpd0004p1iad1.sendgrid.net (SG) with ESMTP id wSed899iTcSgZUvAV9uZ5g for <ietf-http-wg@w3.org>; Thu, 11 May 2017 00:34:31.249 +0000 (UTC)
Received: by mail-qt0-f174.google.com with SMTP id t26so5887741qtg.0 for <ietf-http-wg@w3.org>; Wed, 10 May 2017 17:34:31 -0700 (PDT)
X-Gm-Message-State: AODbwcBH0Qhcu0kM5NrXuoIt1CpHDzr/OMZGNQE00XvEEhzHNqO6RZVh Xo92mKDfOVI2t8/TzdZSLZeerhchvg==
X-Received: by 10.200.55.184 with SMTP id d53mr1307629qtc.94.1494462871006; Wed, 10 May 2017 17:34:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.178.74 with HTTP; Wed, 10 May 2017 17:34:30 -0700 (PDT)
In-Reply-To: <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net>
From: Patrick McManus <mcmanus@ducksong.com>
Date: Wed, 10 May 2017 20:34:30 -0400
X-Gmail-Original-Message-ID: <CAOdDvNpM6ncmz8R6kQOmYC_MKS7qz_BVPbjE0jifG+jb4DdrxQ@mail.gmail.com>
Message-ID: <CAOdDvNpM6ncmz8R6kQOmYC_MKS7qz_BVPbjE0jifG+jb4DdrxQ@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>,  "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Content-Type: multipart/alternative; boundary=001a113b03908e7328054f34c0cf
X-SG-EID: YLWet4rakcOTMHWvPPwWbcsiUJbN1FCn0PHYd/Uujh5iuxjpYO/3hjpxAdXY5fXB8Va9/R/Z2I0JPt FMXFBGVv55NJL3TW5Zheq/VmEBoGgUUq6nsqCimJFp72ommsOchGxO9UjZCAt6Ox/WdNCeT2y7Leju uF6L/Bt54zWXHx3JQkOBagcbB7w/Yw+WOiAK8W6JWNFo3zTjUqxJX4aLreQrP8QbIPmlv2hb84tYKO M=
Received-SPF: pass client-ip=168.245.5.182; envelope-from=bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net; helo=o1682455182.outbound-mail.sendgrid.net
X-W3C-Hub-Spam-Status: No, score=-5.7
X-W3C-Hub-Spam-Report: AWL=-0.370, BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8c4J-0003Id-AW dbeb6b278a298d8d7fb922781f836c1e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/CAOdDvNpM6ncmz8R6kQOmYC_MKS7qz_BVPbjE0jifG+jb4DdrxQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33894
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--001a113b03908e7328054f34c0cf
Content-Type: text/plain; charset=UTF-8

On Wed, May 10, 2017 at 8:23 PM, Mark Nottingham <mnot@mnot.net> wrote:

> > 4) Perhaps a general HTTP request header for indicating that requests
> were received via 0RTT early data (such as Cloudflare's "Cf-0rtt-Unique"
> header).  This would be useful for both load balancers communicating to
> application servers, as well as for CDNs communicating to origin servers.
> This would presumably interact with #2 in cases where the appserver or
> origin wanted to force a client to retry via 1-RTT.
>
> Seems reasonable. Then you could Vary on it. *evil grin*
>


this has some terrible hpack interactions if replay isn't really replay of
the same byte stream.

--001a113b03908e7328054f34c0cf
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Wed, May 10, 2017 at 8:23 PM, Mark Nottingham <span dir=3D"ltr">&lt;<a h=
ref=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;bor=
der-left:1px #ccc solid;padding-left:1ex"><span class=3D"">&gt; 4) Perhaps =
a general HTTP request header for indicating that requests were received vi=
a 0RTT early data (such as Cloudflare&#39;s &quot;Cf-0rtt-Unique&quot; head=
er).=C2=A0 This would be useful for both load balancers communicating to ap=
plication servers, as well as for CDNs communicating to origin servers.=C2=
=A0 This would presumably interact with #2 in cases where the appserver or =
origin wanted to force a client to retry via 1-RTT.<br>
<br>
</span>Seems reasonable. Then you could Vary on it. *evil grin*<br>
</blockquote></div><br><br></div><div class=3D"gmail_extra">this has some t=
errible hpack interactions if replay isn&#39;t really replay of the same by=
te stream.</div><div class=3D"gmail_extra"><br></div></div>

--001a113b03908e7328054f34c0cf--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May 10 17:39:46 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5092912E04A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 10 May 2017 17:39:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.401
X-Spam-Level:
X-Spam-Status: No, score=-6.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sendgrid.me
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6MFcKC7m9Wnd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 10 May 2017 17:39:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DBD63129C26 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 10 May 2017 17:39:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8c6m-00011q-Mb for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 00:37:32 +0000
Resent-Date: Thu, 11 May 2017 00:37:32 +0000
Resent-Message-Id: <E1d8c6m-00011q-Mb@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1d8c6i-000114-K4 for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 00:37:28 +0000
Received: from o1678950229.outbound-mail.sendgrid.net ([167.89.50.229]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1d8c6c-0005ly-3l for ietf-http-wg@w3.org; Thu, 11 May 2017 00:37:23 +0000
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me;  h=mime-version:in-reply-to:references:from:subject:to:cc:content-type;  s=smtpapi; bh=+xImYjGniI2sdXVDTTADH44R3kE=; b=gfkHvRB3ScEMJxMwn2 J0yD+nMCeLp5Z4zXbrqSPeqE0BX/7NW9KwfYm+RszzNhbOpy9axg8TddMCJkp6sj K2+8eJcZhZ2awxoxO8XD7b7pX4j0nlroNnKXYnUGo+GAFJFrE6mc8yqSH3WeNw4f YkilC6pGJ6j2/LTfD2WXZxApE=
Received: by filter0836p1mdw1.sendgrid.net with SMTP id filter0836p1mdw1-1932-5913B226-27 2017-05-11 00:36:54.620627355 +0000 UTC
Received: from mail-qt0-f171.google.com (mail-qt0-f171.google.com [209.85.216.171]) by ismtpd0005p1iad1.sendgrid.net (SG) with ESMTP id BusNIoGISkucz2yumJzktA for <ietf-http-wg@w3.org>; Thu, 11 May 2017 00:36:54.526 +0000 (UTC)
Received: by mail-qt0-f171.google.com with SMTP id m91so5819723qte.3 for <ietf-http-wg@w3.org>; Wed, 10 May 2017 17:36:54 -0700 (PDT)
X-Gm-Message-State: AODbwcB89Jk86x845ZhEjasQKqWz0wP1aGwBlEG5FT3L7orU3G3WdDDU wKgXbPwgHSEjUWj0tewVoL24WEdMVA==
X-Received: by 10.200.43.99 with SMTP id 32mr1357968qtv.6.1494463014266; Wed, 10 May 2017 17:36:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.178.74 with HTTP; Wed, 10 May 2017 17:36:53 -0700 (PDT)
In-Reply-To: <CAOdDvNpM6ncmz8R6kQOmYC_MKS7qz_BVPbjE0jifG+jb4DdrxQ@mail.gmail.com>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <CAOdDvNpM6ncmz8R6kQOmYC_MKS7qz_BVPbjE0jifG+jb4DdrxQ@mail.gmail.com>
From: Patrick McManus <mcmanus@ducksong.com>
Date: Wed, 10 May 2017 20:36:53 -0400
X-Gmail-Original-Message-ID: <CAOdDvNp3SYVEznqxW93Dv0Oi=McWkBb_0pmODrsjD+BAng1Tgw@mail.gmail.com>
Message-ID: <CAOdDvNp3SYVEznqxW93Dv0Oi=McWkBb_0pmODrsjD+BAng1Tgw@mail.gmail.com>
To: Patrick McManus <mcmanus@ducksong.com>
Cc: Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>,  "Kaduk, Ben" <bkaduk@akamai.com>
Content-Type: multipart/alternative; boundary=001a1146fb461895f0054f34c961
X-SG-EID: YLWet4rakcOTMHWvPPwWbcsiUJbN1FCn0PHYd/Uujh5W5nB+L56qggNWdr/wPxTasYOQwXxbJehhT4 XIn/T9tH/ZjaeRGrcRu8HLuIIJ2cuzVirieC8xTfpc830mmEj86KxSNJr/IP5+FP1k+QQaUHQk7kRA PlVYD+3dH9T3rAnWpRlR5quDvTbDezjistuMq7SoExO+vXtRq4qiyA7tzcMg2/eGRXFhym9pI/lrle s=
Received-SPF: pass client-ip=167.89.50.229; envelope-from=bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net; helo=o1678950229.outbound-mail.sendgrid.net
X-W3C-Hub-Spam-Status: No, score=-6.6
X-W3C-Hub-Spam-Report: AWL=0.580, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d8c6c-0005ly-3l afdd49b298d945bee7f8c0a46df8ffeb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/CAOdDvNp3SYVEznqxW93Dv0Oi=McWkBb_0pmODrsjD+BAng1Tgw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33895
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--001a1146fb461895f0054f34c961
Content-Type: text/plain; charset=UTF-8

belay that comment - I misunderstood the suggestion to apply to the request
generation, instead it is an intermediary injected header based on how it
was received. sorry for the misunderstanding.

On Wed, May 10, 2017 at 8:34 PM, Patrick McManus <mcmanus@ducksong.com>
wrote:

>
> On Wed, May 10, 2017 at 8:23 PM, Mark Nottingham <mnot@mnot.net> wrote:
>
>> > 4) Perhaps a general HTTP request header for indicating that requests
>> were received via 0RTT early data (such as Cloudflare's "Cf-0rtt-Unique"
>> header).  This would be useful for both load balancers communicating to
>> application servers, as well as for CDNs communicating to origin servers.
>> This would presumably interact with #2 in cases where the appserver or
>> origin wanted to force a client to retry via 1-RTT.
>>
>> Seems reasonable. Then you could Vary on it. *evil grin*
>>
>
>
> this has some terrible hpack interactions if replay isn't really replay of
> the same byte stream.
>
>

--001a1146fb461895f0054f34c961
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">belay that comment - I misunderstood the suggestion to app=
ly to the request generation, instead it is an intermediary injected header=
 based on how it was received. sorry for the misunderstanding.<br></div><di=
v class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, May 10, 2017=
 at 8:34 PM, Patrick McManus <span dir=3D"ltr">&lt;<a href=3D"mailto:mcmanu=
s@ducksong.com" target=3D"_blank">mcmanus@ducksong.com</a>&gt;</span> wrote=
:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><span class=3D""><div =
class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, May 10, 2017 a=
t 8:23 PM, Mark Nottingham <span dir=3D"ltr">&lt;<a href=3D"mailto:mnot@mno=
t.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:1px #ccc soli=
d;padding-left:1ex"><span>&gt; 4) Perhaps a general HTTP request header for=
 indicating that requests were received via 0RTT early data (such as Cloudf=
lare&#39;s &quot;Cf-0rtt-Unique&quot; header).=C2=A0 This would be useful f=
or both load balancers communicating to application servers, as well as for=
 CDNs communicating to origin servers.=C2=A0 This would presumably interact=
 with #2 in cases where the appserver or origin wanted to force a client to=
 retry via 1-RTT.<br>
<br>
</span>Seems reasonable. Then you could Vary on it. *evil grin*<br>
</blockquote></div><br><br></div></span><div class=3D"gmail_extra">this has=
 some terrible hpack interactions if replay isn&#39;t really replay of the =
same byte stream.</div><div class=3D"gmail_extra"><br></div></div>
</blockquote></div><br></div>

--001a1146fb461895f0054f34c961--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May 10 21:03:40 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8C3DD12EB3F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 10 May 2017 21:03:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XSzvb4smWjof for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 10 May 2017 21:03:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7238812EAC2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 10 May 2017 21:03:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8fGC-0005Hx-3g for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 03:59:28 +0000
Resent-Date: Thu, 11 May 2017 03:59:28 +0000
Resent-Message-Id: <E1d8fGC-0005Hx-3g@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <wwwrun@rfc-editor.org>) id 1d8fG8-0005HG-NC for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 03:59:24 +0000
Received: from rfc-editor.org ([4.31.198.49]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <wwwrun@rfc-editor.org>) id 1d8fG2-0000St-9k for ietf-http-wg@w3.org; Thu, 11 May 2017 03:59:19 +0000
Received: by rfc-editor.org (Postfix, from userid 30) id 6BF67B81739; Wed, 10 May 2017 20:58:41 -0700 (PDT)
To: ietf-announce@ietf.org, rfc-dist@rfc-editor.org
X-PHP-Originating-Script: 1005:ams_util_lib.php
From: rfc-editor@rfc-editor.org
Cc: rfc-editor@rfc-editor.org, drafts-update-ref@iana.org, ietf-http-wg@w3.org
Message-Id: <20170511035841.6BF67B81739@rfc-editor.org>
Date: Wed, 10 May 2017 20:58:41 -0700 (PDT)
Received-SPF: pass client-ip=4.31.198.49; envelope-from=wwwrun@rfc-editor.org; helo=rfc-editor.org
X-W3C-Hub-Spam-Status: No, score=-7.2
X-W3C-Hub-Spam-Report: AWL=1.058, BAYES_20=-0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8fG2-0000St-9k 009418093c673ec44744a5c9f7df5270
X-Original-To: ietf-http-wg@w3.org
Subject: RFC 8164 on Opportunistic Security for HTTP/2
Archived-At: <http://www.w3.org/mid/20170511035841.6BF67B81739@rfc-editor.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33896
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 Request for Comments is now available in online RFC libraries.

        
        RFC 8164

        Title:      Opportunistic Security for HTTP/2 
        Author:     M. Nottingham, 
                    M. Thomson
        Status:     Experimental
        Stream:     IETF
        Date:       May 2017
        Mailbox:    mnot@mnot.net, 
                    martin.thomson@gmail.com
        Pages:      10
        Characters: 19620
        Updates/Obsoletes/SeeAlso:   None

        I-D Tag:    draft-ietf-httpbis-http2-encryption-11.txt

        URL:        https://www.rfc-editor.org/info/rfc8164

        DOI:        10.17487/RFC8164

This document describes how "http" URIs can be accessed using
Transport Layer Security (TLS) and HTTP/2 to mitigate pervasive
monitoring attacks.  This mechanism not a replacement for "https"
URIs; it is vulnerable to active attacks.


This document is a product of the Hypertext Transfer Protocol Bis Working Group of the IETF.


EXPERIMENTAL: This memo defines an Experimental Protocol for the
Internet community.  It does not specify an Internet standard of any
kind. Discussion and suggestions for improvement are requested.
Distribution of this memo is unlimited.

This announcement is sent to the IETF-Announce and rfc-dist lists.
To subscribe or unsubscribe, see
  https://www.ietf.org/mailman/listinfo/ietf-announce
  https://mailman.rfc-editor.org/mailman/listinfo/rfc-dist

For searching the RFC series, see https://www.rfc-editor.org/search
For downloading RFCs, see https://www.rfc-editor.org/retrieve/bulk

Requests for special distribution should be addressed to either the
author of the RFC in question, or to rfc-editor@rfc-editor.org.  Unless
specifically noted otherwise on the RFC itself, all RFCs are for
unlimited distribution.


The RFC Editor Team
Association Management Solutions, LLC




From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May 10 22:37:57 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 369C8126C26 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 10 May 2017 22:37:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D1LH6ywwsAHB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 10 May 2017 22:37:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8E1101205F1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 10 May 2017 22:37:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8gk7-0000Aj-AL for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 05:34:27 +0000
Resent-Date: Thu, 11 May 2017 05:34:27 +0000
Resent-Message-Id: <E1d8gk7-0000Aj-AL@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <w@1wt.eu>) id 1d8gk3-0008GH-DO for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 05:34:23 +0000
Received: from wtarreau.pck.nerim.net ([62.212.114.60] helo=1wt.eu) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <w@1wt.eu>) id 1d8gjS-0004zv-MP for ietf-http-wg@w3.org; Thu, 11 May 2017 05:34:18 +0000
Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id v4B5XFqJ011015; Thu, 11 May 2017 07:33:15 +0200
Date: Thu, 11 May 2017 07:33:15 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mark Nottingham <mnot@mnot.net>
Cc: Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Message-ID: <20170511053315.GA10978@1wt.eu>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net>
User-Agent: Mutt/1.6.1 (2016-04-27)
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.0
X-W3C-Hub-Spam-Report: RCVD_IN_DNSWL_NONE=-0.0001, TIME_LIMIT_EXCEEDED=0
X-W3C-Scan-Sig: mimas.w3.org 1d8gjS-0004zv-MP 02023138e066ccf23e08c6dd448a7bfe
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/20170511053315.GA10978@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33897
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 Mark,

On Thu, May 11, 2017 at 10:23:12AM +1000, Mark Nottingham wrote:
> If an origin doesn't have robust retry/replay protection in place for
> non-idempotent requests, it seems operationally simpler and safer for them to
> disable 0RT, rather than refusing it on a request-by-request basis. That's
> the discussion I think we should have here...

That's exactly the situation I'm facing for now with haproxy. A few
users have asked us to support 0RTT and by lack of way to 1) decide
which requests are really safe, and 2) tell the client it must replay
them using 1RTT, for now I refused to enable it. The load balancer
and the origin server will have a different view of the acceptability
of 0RTT, and all the chain must be able to accept or reject them, and
let the client retry.

I tend to think that a 4xx status code would make sense and would be
useful to pass the verdict back to the client. For example we could
return "418 not idempotent".

Willy


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 01:24:10 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 26A541294DB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 01:24:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.002
X-Spam-Level:
X-Spam-Status: No, score=-7.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=greenbytes.de header.b=CUKm/XiE; dkim=pass (1024-bit key) header.d=greenbytes.de header.b=AoKi+eN7
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6ZQJ1HnDLgu0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 01:24:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 494AE120454 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 01:24:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8jKt-0007pp-76 for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 08:20:35 +0000
Resent-Date: Thu, 11 May 2017 08:20:35 +0000
Resent-Message-Id: <E1d8jKt-0007pp-76@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <stefan.eissing@greenbytes.de>) id 1d8jKr-0007p6-2U for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 08:20:33 +0000
Received: from mail.greenbytes.de ([217.91.35.233]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <stefan.eissing@greenbytes.de>) id 1d8jKk-00017a-H0 for ietf-http-wg@w3.org; Thu, 11 May 2017 08:20:27 +0000
Received: by mail.greenbytes.de (Postfix, from userid 117) id 93CE415A0DCE; Thu, 11 May 2017 10:20:03 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1494490803; bh=UIIvnNe27R1kkZEWy0oHdbLbpNGw4/K4q9R86f7kRno=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=CUKm/XiENME/8PD3XWEXstoIg+x5G5dGcIC40ZNFmCFaZB2j4x8MhZ7/oVBAHgrKd MxVHS3/jxmZUA+IekmInGedeHyppYfXvxSyYnEqBu09Rur3/EcJQnDi3QosP3YnctI FujhDMyNSkipQ+ytsjkzp5TXYMu430KYl0c9SY0U=
Received: from delight.greenbytes.local (unknown [217.91.35.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.greenbytes.de (Postfix) with ESMTPSA id E427A15A0C9F; Thu, 11 May 2017 10:19:58 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1494490802; bh=UIIvnNe27R1kkZEWy0oHdbLbpNGw4/K4q9R86f7kRno=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=AoKi+eN7j2VVKG/hrBCI7RZNNeq/35DTQvgGF5+6AS8J4eIL4jDgdjT8OLCLanBPY J2e94NKsk27NOjCjWdgRpgGQGsu1fJgo8UeP7l3clwdv6hZ3PUzZD71MV3H/SEgmO6 SiAXmMo6Vz1pI2IfPaR9NF5smXhtWRPydaTx3bLg=
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Stefan Eissing <stefan.eissing@greenbytes.de>
In-Reply-To: <20170511053315.GA10978@1wt.eu>
Date: Thu, 11 May 2017 10:19:58 +0200
Cc: Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu>
To: Willy Tarreau <w@1wt.eu>
X-Mailer: Apple Mail (2.3273)
Received-SPF: pass client-ip=217.91.35.233; envelope-from=stefan.eissing@greenbytes.de; helo=mail.greenbytes.de
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-1.823, BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8jKk-00017a-H0 0b518cb958afbfb19cdc2e145f049b4b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33898
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 11.05.2017 um 07:33 schrieb Willy Tarreau <w@1wt.eu>:
>=20
> Hi Mark,
>=20
> On Thu, May 11, 2017 at 10:23:12AM +1000, Mark Nottingham wrote:
>> If an origin doesn't have robust retry/replay protection in place for
>> non-idempotent requests, it seems operationally simpler and safer for =
them to
>> disable 0RT, rather than refusing it on a request-by-request basis. =
That's
>> the discussion I think we should have here...
>=20
> That's exactly the situation I'm facing for now with haproxy. A few
> users have asked us to support 0RTT and by lack of way to 1) decide
> which requests are really safe, and 2) tell the client it must replay
> them using 1RTT, for now I refused to enable it. The load balancer
> and the origin server will have a different view of the acceptability
> of 0RTT, and all the chain must be able to accept or reject them, and
> let the client retry.

Even the "origin server" might not be aware what the application's
committal and guarantee here is.=20

My thoughts for an implementation is:

- it has to work without the "upper" layer / next hop being aware of it
- it has to fail in a defined HTTP way. The HTTP request is tagged as
  possibly replayed, regardless of the actual transport. The answer
  needs to also work on that transport.
- The negative answer to a 0-RTT request might come early, might come
  late. For h2, other streams might have been opened, even answered,
  in the meantime.
- The sender selecting 0-RTT should only do so, if it understands the
  retry answer. (Once that is defined)
- The sender may well want to select 0-RTT only if it considers the
  data to be safe for replays *and* it expects the server to come to
  the same conclusion.
- So, ideally, sender and receiver have the same notion about what HTTP=20=

  data is acceptable for 0-RTT.

-Stefan

>=20
> I tend to think that a 4xx status code would make sense and would be
> useful to pass the verdict back to the client. For example we could
> return "418 not idempotent".
>=20
> Willy
>=20



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 04:22:12 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CA34E12009C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 04:22:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2U4P_CpFs62z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 04:22:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 88A6F12EC3D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 04:19:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8m53-0007B3-F6 for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 11:16:25 +0000
Resent-Date: Thu, 11 May 2017 11:16:25 +0000
Resent-Message-Id: <E1d8m53-0007B3-F6@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <Lucas.Pardue@bbc.co.uk>) id 1d8m4z-00079s-Sg for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 11:16:21 +0000
Received: from mailout1.cwwtf.bbc.co.uk ([132.185.160.180]) by titan.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <Lucas.Pardue@bbc.co.uk>) id 1d8m4s-0007qV-TS for ietf-http-wg@w3.org; Thu, 11 May 2017 11:16:16 +0000
Received: from BGB01XI1010.national.core.bbc.co.uk (bgb01xi1010.national.core.bbc.co.uk [10.161.14.14]) by mailout1.cwwtf.bbc.co.uk (8.15.2/8.15.2) with ESMTP id v4BBFqd3019898 for <ietf-http-wg@w3.org>; Thu, 11 May 2017 12:15:52 +0100 (BST)
Received: from BGB01XUD1012.national.core.bbc.co.uk ([10.161.14.10]) by BGB01XI1010.national.core.bbc.co.uk ([10.161.14.14]) with mapi id 14.03.0319.002; Thu, 11 May 2017 12:15:52 +0100
From: Lucas Pardue <Lucas.Pardue@bbc.co.uk>
To: HTTP Working Group <ietf-http-wg@w3.org>
Thread-Topic: Alt-Svc usage in HTTP forward proxy implementations
Thread-Index: AdLKRsi5c7NTAgXDQlqrACI3ubw/xw==
Date: Thu, 11 May 2017 11:15:51 +0000
Message-ID: <7CF7F94CB496BF4FAB1676F375F9666A3770E4CA@bgb01xud1012>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.19.161.212]
x-exclaimer-md-config: c91d45b2-6e10-4209-9543-d9970fac71b7
x-tm-as-product-ver: SMEX-11.0.0.4179-8.100.1062-23062.006
x-tm-as-result: No--18.547200-0.000000-31
x-tm-as-user-approved-sender: Yes
x-tm-as-user-blocked-sender: No
Content-Type: multipart/alternative; boundary="_000_7CF7F94CB496BF4FAB1676F375F9666A3770E4CAbgb01xud1012_"
MIME-Version: 1.0
Received-SPF: pass client-ip=132.185.160.180; envelope-from=Lucas.Pardue@bbc.co.uk; helo=mailout1.cwwtf.bbc.co.uk
X-W3C-Hub-Spam-Status: No, score=-4.9
X-W3C-Hub-Spam-Report: AWL=-1.210, BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_NW=0.5
X-W3C-Scan-Sig: titan.w3.org 1d8m4s-0007qV-TS 173834768aabbd8b95ed30c4853846c0
X-Original-To: ietf-http-wg@w3.org
Subject: Alt-Svc usage in HTTP forward proxy implementations
Archived-At: <http://www.w3.org/mid/7CF7F94CB496BF4FAB1676F375F9666A3770E4CA@bgb01xud1012>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33899
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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_7CF7F94CB496BF4FAB1676F375F9666A3770E4CAbgb01xud1012_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello,

I've been doing some research on Alt-Svc and HTTP proxies. There is a load =
of past discussion on this that I do not want to retread over (For referenc=
e, I've included links to some threads I found interesting at the end of th=
e email), what I'm more interested in is how implementations have chosen to=
 do things.

What I haven't been able to find much information on is whether there are a=
ny forward proxy implementations that make use of Alt-Svc for upstream requ=
ests. I was hoping that some of the WG might be able to point me in the rig=
ht direction of some published details, or perhaps make a comment in reply =
to this thread.

Kind regards
Lucas


References


1.       alt-svc and proxies<https://www.ietf.org/mail-archive/web/httpbisa=
/current/msg26397.html>

2.       Intermediaries and Alt-Svc<https://github.com/http2/http2-spec/iss=
ues/462>

3.       Alt-Svc related Chromium bug report (proxy related)<https://lists.=
w3.org/Archives/Public/ietf-http-wg/2014JanMar/1293.html>

4.       Alt-Svc + Proxy Pac<https://www.ietf.org/mail-archive/web/httpbisa=
/current/msg24781.html>

5.       HTTP/QUIC without Alt-Svc?<https://github.com/quicwg/base-drafts/i=
ssues/253>


--_000_7CF7F94CB496BF4FAB1676F375F9666A3770E4CAbgb01xud1012_
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 15 (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:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	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;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:2132629613;
	mso-list-type:hybrid;
	mso-list-template-ids:287101144 134807567 134807577 134807579 134807567 13=
4807577 134807579 134807567 134807577 134807579;}
@list l0:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
--></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-GB" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hello,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I&#8217;ve been doing some research on Alt-Svc and H=
TTP proxies. There is a load of past discussion on this that I do not want =
to retread over (For reference, I&#8217;ve included links to some threads I=
 found interesting at the end of the email), what
 I&#8217;m more interested in is how implementations have chosen to do thin=
gs. <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">What I haven&#8217;t been able to find much informat=
ion on is whether there are any forward proxy implementations that make use=
 of Alt-Svc for upstream requests. I was hoping that some of the WG might b=
e able to point me in the right direction
 of some published details, or perhaps make a comment in reply to this thre=
ad.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Kind regards<o:p></o:p></p>
<p class=3D"MsoNormal">Lucas<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><u>References<o:p></o:p></u></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:36.0pt;text-indent:-18.0pt;m=
so-list:l0 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]><a href=3D"https://www.ietf.org/mail-archive/web/ht=
tpbisa/current/msg26397.html">alt-svc and proxies</a><o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:36.0pt;text-indent:-18.0pt;m=
so-list:l0 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]><a href=3D"https://github.com/http2/http2-spec/issu=
es/462">Intermediaries and Alt-Svc</a><o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:36.0pt;text-indent:-18.0pt;m=
so-list:l0 level1 lfo1">
<![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]><a href=3D"https://lists.w3.org/Archives/Public/iet=
f-http-wg/2014JanMar/1293.html">Alt-Svc related Chromium bug report (proxy =
related)</a><o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:36.0pt;text-indent:-18.0pt;m=
so-list:l0 level1 lfo1">
<![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]><a href=3D"https://www.ietf.org/mail-archive/web/ht=
tpbisa/current/msg24781.html">Alt-Svc &#43; Proxy Pac</a><o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:36.0pt;text-indent:-18.0pt;m=
so-list:l0 level1 lfo1">
<![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]><a href=3D"https://github.com/quicwg/base-drafts/is=
sues/253">HTTP/QUIC without Alt-Svc?</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_7CF7F94CB496BF4FAB1676F375F9666A3770E4CAbgb01xud1012_--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 04:37:10 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E85C12EBCD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 04:37:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.002
X-Spam-Level:
X-Spam-Status: No, score=-7.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EvJRLHP9qroH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 04:37:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0C41D12704B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 04:34:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8mJw-0007ow-GA for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 11:31:48 +0000
Resent-Date: Thu, 11 May 2017 11:31:48 +0000
Resent-Message-Id: <E1d8mJw-0007ow-GA@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <kazuhooku@gmail.com>) id 1d8mJs-0007oB-Op for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 11:31:44 +0000
Received: from mail-pg0-f46.google.com ([74.125.83.46]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <kazuhooku@gmail.com>) id 1d8mJh-0008RP-En for ietf-http-wg@w3.org; Thu, 11 May 2017 11:31:39 +0000
Received: by mail-pg0-f46.google.com with SMTP id u28so13310055pgn.1 for <ietf-http-wg@w3.org>; Thu, 11 May 2017 04:31:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=NMQRluIDUAfSNK2iyTxfKNlqRJnjGQT1pTzUEDoaC6k=; b=f/YDVc7mrGK5LEZiXKSAAFGs/G6hqpj3vlcq3kjeoxAzIK6hsV+Qr6ntmiCnVRWfV9 k2qBF8/6vONf0awKYFXxMd2Tb7ZgKZWAL2xXjbW7NULr3TEJyaQeQ7v378yiWb4qIY6d kkDgLFM5qpOjjvep1b5hu4X+QmmA+ccA4iHnHkgWkjtRADsSyTxaOMkjakzzxwrIRngx jbNDvvX26D1Wc5JGCO1wRcVWiqbuzJF7xCfZTa/CY9naQuvjUexs3HB9SUARP4gsF2lq JvgqUH5i2eI3Nx7ja0AZyNsO6frkH84kn8V0eRvZM2J+66pBV8pycbXmNUakqqACSQXi HnZQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=NMQRluIDUAfSNK2iyTxfKNlqRJnjGQT1pTzUEDoaC6k=; b=Qiijm/ZRnL6nDfb/fHU+Q+TMwBP6hYKY8zcmO0gtuuENX7c1PuAtPnEsaM7UH2XkxM zsGwlQdBDFtIHRcix0nvy4u+adtRRFomLWplKQMILC/AXs1dQo9lJ+IK0kruITDoLVd/ awOjcB6nWods70zyKfmV8b875zrRFiWdW4k8bs4Z69oc9XBVjYBL2VxBg5VbX09UXS3g +BwNvMrmC0WBXGZk8uwuG5XNYjRJg/F1BbG2gyF4+tSFLDEJJtc82Wjy2/+5O1978NKS yw/VLm+JN1O4jR2MevRi8XJ5kXu1rOSGERSto/lxunpG7OWqHd6KtqoAlMiAgHZ2XJzY hLOw==
X-Gm-Message-State: AODbwcDijufXJPNm1hzWO5+JCyGQhyAsVbt5N21911OjB/hFJ2Y+uzd+ hUpnouYbyVatJI/IEgdBVA9Q1CTg8A==
X-Received: by 10.99.45.6 with SMTP id t6mr5812278pgt.209.1494502266625; Thu, 11 May 2017 04:31:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.179.237 with HTTP; Thu, 11 May 2017 04:31:04 -0700 (PDT)
In-Reply-To: <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de>
From: Kazuho Oku <kazuhooku@gmail.com>
Date: Thu, 11 May 2017 20:31:04 +0900
Message-ID: <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com>
To: Stefan Eissing <stefan.eissing@greenbytes.de>
Cc: Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>,  "Kaduk, Ben" <bkaduk@akamai.com>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=74.125.83.46; envelope-from=kazuhooku@gmail.com; helo=mail-pg0-f46.google.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-0.372, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8mJh-0008RP-En bea7cdb13019ec826062cdc1834c753f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33900
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

2017-05-11 17:19 GMT+09:00 Stefan Eissing <stefan.eissing@greenbytes.de>:
>
>> Am 11.05.2017 um 07:33 schrieb Willy Tarreau <w@1wt.eu>:
>>
>> Hi Mark,
>>
>> On Thu, May 11, 2017 at 10:23:12AM +1000, Mark Nottingham wrote:
>>> If an origin doesn't have robust retry/replay protection in place for
>>> non-idempotent requests, it seems operationally simpler and safer for them to
>>> disable 0RT, rather than refusing it on a request-by-request basis. That's
>>> the discussion I think we should have here...
>>
>> That's exactly the situation I'm facing for now with haproxy. A few
>> users have asked us to support 0RTT and by lack of way to 1) decide
>> which requests are really safe, and 2) tell the client it must replay
>> them using 1RTT, for now I refused to enable it. The load balancer
>> and the origin server will have a different view of the acceptability
>> of 0RTT, and all the chain must be able to accept or reject them, and
>> let the client retry.
>
> Even the "origin server" might not be aware what the application's
> committal and guarantee here is.
>
> My thoughts for an implementation is:
>
> - it has to work without the "upper" layer / next hop being aware of it
> - it has to fail in a defined HTTP way. The HTTP request is tagged as
>   possibly replayed, regardless of the actual transport. The answer
>   needs to also work on that transport.
> - The negative answer to a 0-RTT request might come early, might come
>   late. For h2, other streams might have been opened, even answered,
>   in the meantime.
> - The sender selecting 0-RTT should only do so, if it understands the
>   retry answer. (Once that is defined)
> - The sender may well want to select 0-RTT only if it considers the
>   data to be safe for replays *and* it expects the server to come to
>   the same conclusion.
> - So, ideally, sender and receiver have the same notion about what HTTP
>   data is acceptable for 0-RTT.

This is an interesting discussion!

I believe that there is no need for us to require a _client_ to resend
a HTTP request, even in case it sends a HTTP request in 0-RTT and then
turns out that the application running behind tells the "origin
server" that it cannot handle 0-RTT request.

IMO what the origin server should do is buffer the 0-RTT request
(note: in TLS 1.3, a server can cap the size of 0-RTT data), and if
the application refuses to handle the request due to the fact that it
has been sent in 0-RTT, wait until the client proves itself to be a
legitimate client (by sending an 1-RTT data), and then resend the
buffered request to the application.

In HTTP/2, the proof can be obtained by sending a PING frame from the
server after sending ServerFinished message (of TLS 1.3) and waiting
for the response to the PING frame.

So, while I agree that it is beneficial to have an agreement on how
the interaction scheme between the origin server and the application
running behind (possibly as an informational RFC), I do not see a
strong reason that we need to introduce some kind of profile due the
introduction of 0-RTT data in TLS 1.3.

> -Stefan
>
>>
>> I tend to think that a 4xx status code would make sense and would be
>> useful to pass the verdict back to the client. For example we could
>> return "418 not idempotent".
>>
>> Willy
>>
>
>



-- 
Kazuho Oku


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 04:38:40 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9C6DC12EBDA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 04:38:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.002
X-Spam-Level:
X-Spam-Status: No, score=-7.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=greenbytes.de header.b=Xq0B1Hi6; dkim=pass (1024-bit key) header.d=greenbytes.de header.b=jJTRci4x
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YC8QcILI3jaK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 04:38:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BD5D612EBF4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 04:36:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8mMN-0007zP-AI for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 11:34:19 +0000
Resent-Date: Thu, 11 May 2017 11:34:19 +0000
Resent-Message-Id: <E1d8mMN-0007zP-AI@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <stefan.eissing@greenbytes.de>) id 1d8mML-0007yk-Ad for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 11:34:17 +0000
Received: from mail.greenbytes.de ([217.91.35.233]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <stefan.eissing@greenbytes.de>) id 1d8mME-000051-Og for ietf-http-wg@w3.org; Thu, 11 May 2017 11:34:12 +0000
Received: by mail.greenbytes.de (Postfix, from userid 117) id 36A8C15A079A; Thu, 11 May 2017 13:33:48 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1494502428; bh=ceBFDaBIEyBnXAh0Y59DyCleJTqwJgNyqtyuB9zndEk=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=Xq0B1Hi6H99Ecjk59Qa6o9IVIR7SgGGzUcnVo6rdpMlyj8xyO0bgiY0eJtrVgTYpv NgM10vhd4S/E6nCDmJ/jysONBq5mrSJazNOfdTTIRY+Qiq6CPbpTVBo7h81nIg5IxN GOms0chHOW/OgzAFW4GmqM2BJh69cbgHnsA9z/yM=
Received: from delight.greenbytes.local (unknown [217.91.35.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.greenbytes.de (Postfix) with ESMTPSA id CA86B15A0793; Thu, 11 May 2017 13:33:46 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1494502427; bh=ceBFDaBIEyBnXAh0Y59DyCleJTqwJgNyqtyuB9zndEk=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=jJTRci4xB4gcmUUIV0nrLVZJSrqmnzTsW0ZGX6yQisuQ5gFQY70DZNKoPbYzX1Qwb LLKYmyVM1QHtTtS3FaqlCMJMSdHITE3Ps0ZhqdI/ybCL6EQuLzXcV6jRULMmXDDl9b +efLK0Xl9RamSqJlRvp8+x48XqIyeJZy8IR1Eygs=
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Stefan Eissing <stefan.eissing@greenbytes.de>
In-Reply-To: <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com>
Date: Thu, 11 May 2017 13:33:46 +0200
Cc: Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com>
To: Kazuho Oku <kazuhooku@gmail.com>
X-Mailer: Apple Mail (2.3273)
Received-SPF: pass client-ip=217.91.35.233; envelope-from=stefan.eissing@greenbytes.de; helo=mail.greenbytes.de
X-W3C-Hub-Spam-Status: No, score=-5.0
X-W3C-Hub-Spam-Report: AWL=-1.027, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8mME-000051-Og 1ff325811632f50ed7d50925a2af1394
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33901
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 11.05.2017 um 13:31 schrieb Kazuho Oku <kazuhooku@gmail.com>:
>=20
> 2017-05-11 17:19 GMT+09:00 Stefan Eissing =
<stefan.eissing@greenbytes.de>:
>>=20
>>> Am 11.05.2017 um 07:33 schrieb Willy Tarreau <w@1wt.eu>:
>>>=20
>>> Hi Mark,
>>>=20
>>> On Thu, May 11, 2017 at 10:23:12AM +1000, Mark Nottingham wrote:
>>>> If an origin doesn't have robust retry/replay protection in place =
for
>>>> non-idempotent requests, it seems operationally simpler and safer =
for them to
>>>> disable 0RT, rather than refusing it on a request-by-request basis. =
That's
>>>> the discussion I think we should have here...
>>>=20
>>> That's exactly the situation I'm facing for now with haproxy. A few
>>> users have asked us to support 0RTT and by lack of way to 1) decide
>>> which requests are really safe, and 2) tell the client it must =
replay
>>> them using 1RTT, for now I refused to enable it. The load balancer
>>> and the origin server will have a different view of the =
acceptability
>>> of 0RTT, and all the chain must be able to accept or reject them, =
and
>>> let the client retry.
>>=20
>> Even the "origin server" might not be aware what the application's
>> committal and guarantee here is.
>>=20
>> My thoughts for an implementation is:
>>=20
>> - it has to work without the "upper" layer / next hop being aware of =
it
>> - it has to fail in a defined HTTP way. The HTTP request is tagged as
>>  possibly replayed, regardless of the actual transport. The answer
>>  needs to also work on that transport.
>> - The negative answer to a 0-RTT request might come early, might come
>>  late. For h2, other streams might have been opened, even answered,
>>  in the meantime.
>> - The sender selecting 0-RTT should only do so, if it understands the
>>  retry answer. (Once that is defined)
>> - The sender may well want to select 0-RTT only if it considers the
>>  data to be safe for replays *and* it expects the server to come to
>>  the same conclusion.
>> - So, ideally, sender and receiver have the same notion about what =
HTTP
>>  data is acceptable for 0-RTT.
>=20
> This is an interesting discussion!
>=20
> I believe that there is no need for us to require a _client_ to resend
> a HTTP request, even in case it sends a HTTP request in 0-RTT and then
> turns out that the application running behind tells the "origin
> server" that it cannot handle 0-RTT request.
>=20
> IMO what the origin server should do is buffer the 0-RTT request
> (note: in TLS 1.3, a server can cap the size of 0-RTT data), and if
> the application refuses to handle the request due to the fact that it
> has been sent in 0-RTT, wait until the client proves itself to be a
> legitimate client (by sending an 1-RTT data), and then resend the
> buffered request to the application.

Hmm, how many RTTs will this proof take?


> In HTTP/2, the proof can be obtained by sending a PING frame from the
> server after sending ServerFinished message (of TLS 1.3) and waiting
> for the response to the PING frame.
>=20
> So, while I agree that it is beneficial to have an agreement on how
> the interaction scheme between the origin server and the application
> running behind (possibly as an informational RFC), I do not see a
> strong reason that we need to introduce some kind of profile due the
> introduction of 0-RTT data in TLS 1.3.
>=20
>> -Stefan
>>=20
>>>=20
>>> I tend to think that a 4xx status code would make sense and would be
>>> useful to pass the verdict back to the client. For example we could
>>> return "418 not idempotent".
>>>=20
>>> Willy
>>>=20
>>=20
>>=20
>=20
>=20
>=20
> --=20
> Kazuho Oku



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 04:40:42 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8EE4B12940D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 04:40:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.502
X-Spam-Level:
X-Spam-Status: No, score=-6.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zjHz2W8ktBW4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 04:40:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D28B312EC2B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 04:38:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8mO9-0001n0-R0 for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 11:36:09 +0000
Resent-Date: Thu, 11 May 2017 11:36:09 +0000
Resent-Message-Id: <E1d8mO9-0001n0-R0@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <kazuhooku@gmail.com>) id 1d8mO6-0001lY-RL for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 11:36:06 +0000
Received: from mail-pf0-f176.google.com ([209.85.192.176]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <kazuhooku@gmail.com>) id 1d8mO0-0000kc-BX for ietf-http-wg@w3.org; Thu, 11 May 2017 11:36:01 +0000
Received: by mail-pf0-f176.google.com with SMTP id m17so12529893pfg.3 for <ietf-http-wg@w3.org>; Thu, 11 May 2017 04:35:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rlRH4v8vcd1Yk5cO92lUFW939rfVPXeQL+6BM0t0cV4=; b=WRbWksy9rvOosDbzixtkeUxhmCps1Gqo4mbkRzthC6rnhHL/Xi/xWS8s0d0hTqAuZy LfjgT6laEazgfoHnKw1rZe49MJwf/NrmrhIv5bD3+KWafeDdWxoDJu2YcP3YmenwMpIq zu9lpltDAeF0B4iNxkvsiyJ5zOpm9GLoh6eO4fnYibnrJx0q6J5GQEhZkzYTR+ARz2w6 behqDGTQUVLPWn5n871zB25AHEz0Tka97KSkCu012pJE+YtVyDmCknxQbbyN5KXmxXIr 9XiNWncucXFkPf4wLBQfWCu6CF4/4UjtX9NdiE3sBptkuTNIS3pQXPqyXHyIcA+vVeaA W9rQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rlRH4v8vcd1Yk5cO92lUFW939rfVPXeQL+6BM0t0cV4=; b=U2SWrCCGPvcOZmtLZYhfHmrJRkJF0IkZAUr6tyni3LtYbEQLaC75z6KdTLo9sT0wmy 7Bpc32SdjTdMK8GLdzW0yZK5ovF3FgKCN9ChIR451vqa5ExLaM2HpsjEhZMch7LMeii5 URCVOVQmDggAdhOVp5Ku12pRk3SaZBKGjE23R267IF1NAmxctHdXylqjbW4uJ9tNUIOD psuUmMbp1nbIWo/YuaTAU1CNxs78xLK9PlnKMonRlM9UM9yG7XDKp7vqhJED6vU94Leo gdh0qzmKklSqjDN0NLeCSyi7LgLXSrMPtQT1uXNvOIH7qfsV1SOw4IiWP+yGNq0dNb3b 5Spw==
X-Gm-Message-State: AODbwcDBjnDdJxJo/yNjZwIyCqcnIkFgREvzMm6vvrZWy5hiqUXBKyHe EyGVLm+ojFhA3F10Rqf6pkRd7hMbB13Y
X-Received: by 10.84.229.143 with SMTP id c15mr14040174plk.27.1494502533841; Thu, 11 May 2017 04:35:33 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.179.237 with HTTP; Thu, 11 May 2017 04:35:33 -0700 (PDT)
In-Reply-To: <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de>
From: Kazuho Oku <kazuhooku@gmail.com>
Date: Thu, 11 May 2017 20:35:33 +0900
Message-ID: <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com>
To: Stefan Eissing <stefan.eissing@greenbytes.de>
Cc: Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>,  "Kaduk, Ben" <bkaduk@akamai.com>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.192.176; envelope-from=kazuhooku@gmail.com; helo=mail-pf0-f176.google.com
X-W3C-Hub-Spam-Status: No, score=-6.3
X-W3C-Hub-Spam-Report: AWL=-0.018, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8mO0-0000kc-BX df0594dc8810c512fff8b5ca2fd65437
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33902
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

2017-05-11 20:33 GMT+09:00 Stefan Eissing <stefan.eissing@greenbytes.de>:
>
>> Am 11.05.2017 um 13:31 schrieb Kazuho Oku <kazuhooku@gmail.com>:
>>
>> 2017-05-11 17:19 GMT+09:00 Stefan Eissing <stefan.eissing@greenbytes.de>:
>>>
>>>> Am 11.05.2017 um 07:33 schrieb Willy Tarreau <w@1wt.eu>:
>>>>
>>>> Hi Mark,
>>>>
>>>> On Thu, May 11, 2017 at 10:23:12AM +1000, Mark Nottingham wrote:
>>>>> If an origin doesn't have robust retry/replay protection in place for
>>>>> non-idempotent requests, it seems operationally simpler and safer for them to
>>>>> disable 0RT, rather than refusing it on a request-by-request basis. That's
>>>>> the discussion I think we should have here...
>>>>
>>>> That's exactly the situation I'm facing for now with haproxy. A few
>>>> users have asked us to support 0RTT and by lack of way to 1) decide
>>>> which requests are really safe, and 2) tell the client it must replay
>>>> them using 1RTT, for now I refused to enable it. The load balancer
>>>> and the origin server will have a different view of the acceptability
>>>> of 0RTT, and all the chain must be able to accept or reject them, and
>>>> let the client retry.
>>>
>>> Even the "origin server" might not be aware what the application's
>>> committal and guarantee here is.
>>>
>>> My thoughts for an implementation is:
>>>
>>> - it has to work without the "upper" layer / next hop being aware of it
>>> - it has to fail in a defined HTTP way. The HTTP request is tagged as
>>>  possibly replayed, regardless of the actual transport. The answer
>>>  needs to also work on that transport.
>>> - The negative answer to a 0-RTT request might come early, might come
>>>  late. For h2, other streams might have been opened, even answered,
>>>  in the meantime.
>>> - The sender selecting 0-RTT should only do so, if it understands the
>>>  retry answer. (Once that is defined)
>>> - The sender may well want to select 0-RTT only if it considers the
>>>  data to be safe for replays *and* it expects the server to come to
>>>  the same conclusion.
>>> - So, ideally, sender and receiver have the same notion about what HTTP
>>>  data is acceptable for 0-RTT.
>>
>> This is an interesting discussion!
>>
>> I believe that there is no need for us to require a _client_ to resend
>> a HTTP request, even in case it sends a HTTP request in 0-RTT and then
>> turns out that the application running behind tells the "origin
>> server" that it cannot handle 0-RTT request.
>>
>> IMO what the origin server should do is buffer the 0-RTT request
>> (note: in TLS 1.3, a server can cap the size of 0-RTT data), and if
>> the application refuses to handle the request due to the fact that it
>> has been sent in 0-RTT, wait until the client proves itself to be a
>> legitimate client (by sending an 1-RTT data), and then resend the
>> buffered request to the application.
>
> Hmm, how many RTTs will this proof take?

1RTT. The latency will be the same as when the client did not use 0-RTT.
OTOH, the obvious benefit of the proposed approach is less use of
bandwidth since there is no need for a client to resend the request.

>
>
>> In HTTP/2, the proof can be obtained by sending a PING frame from the
>> server after sending ServerFinished message (of TLS 1.3) and waiting
>> for the response to the PING frame.
>>
>> So, while I agree that it is beneficial to have an agreement on how
>> the interaction scheme between the origin server and the application
>> running behind (possibly as an informational RFC), I do not see a
>> strong reason that we need to introduce some kind of profile due the
>> introduction of 0-RTT data in TLS 1.3.
>>
>>> -Stefan
>>>
>>>>
>>>> I tend to think that a 4xx status code would make sense and would be
>>>> useful to pass the verdict back to the client. For example we could
>>>> return "418 not idempotent".
>>>>
>>>> Willy
>>>>
>>>
>>>
>>
>>
>>
>> --
>> Kazuho Oku
>



-- 
Kazuho Oku


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 04:42:22 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 52E1012EBD6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 04:42:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.002
X-Spam-Level:
X-Spam-Status: No, score=-7.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=greenbytes.de header.b=pD17kcdv; dkim=pass (1024-bit key) header.d=greenbytes.de header.b=dG2jyx2P
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nCmFGOh5R81z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 04:42:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 10C5D12EBCA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 04:40:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8mQ5-0003sX-S7 for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 11:38:09 +0000
Resent-Date: Thu, 11 May 2017 11:38:09 +0000
Resent-Message-Id: <E1d8mQ5-0003sX-S7@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <stefan.eissing@greenbytes.de>) id 1d8mQ3-0003rq-Py for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 11:38:07 +0000
Received: from mail.greenbytes.de ([217.91.35.233]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <stefan.eissing@greenbytes.de>) id 1d8mPx-0000oz-4h for ietf-http-wg@w3.org; Thu, 11 May 2017 11:38:02 +0000
Received: by mail.greenbytes.de (Postfix, from userid 117) id 2EB0815A0857; Thu, 11 May 2017 13:37:39 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1494502659; bh=hDzy+6lqjvb/9Kp+GE/GxrkHIXS0Q/yJRc3IVtChoJI=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=pD17kcdvXJXwyA7MA/TVN1dmd83vPPvGTGsbQf65TwKDCMxz6PF1xWIQcqUTkOa+g g3Be5JeqbifK3Y0ipyF2vksvyHBytamdS4/QczVl1fBPNHE+2dn6OcnXQBH/k7HLmy OwBhx7s5dZ8jPMBb/c0mwLr3A9UYCYK0HwJZ8Jo0=
Received: from delight.greenbytes.local (unknown [217.91.35.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.greenbytes.de (Postfix) with ESMTPSA id CC9DF15A0793; Thu, 11 May 2017 13:37:37 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1494502658; bh=hDzy+6lqjvb/9Kp+GE/GxrkHIXS0Q/yJRc3IVtChoJI=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=dG2jyx2PkWnEjjJICK/CXeZp+1UP4d0i3nVKGVAd1QjzCyvoHFEHmqYMfSAL0a5Ud JbZfL+djjd6QSpSX2gMbw+ulFHSWbUMoF6UEDlhg+S/xf3goyP4BLSsYUgomINW4OC 43cYypDbsSDnxs1K+ABGAzp4RQNsIOP37s2XRzao=
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Stefan Eissing <stefan.eissing@greenbytes.de>
In-Reply-To: <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com>
Date: Thu, 11 May 2017 13:37:37 +0200
Cc: Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com>
To: Kazuho Oku <kazuhooku@gmail.com>
X-Mailer: Apple Mail (2.3273)
Received-SPF: pass client-ip=217.91.35.233; envelope-from=stefan.eissing@greenbytes.de; helo=mail.greenbytes.de
X-W3C-Hub-Spam-Status: No, score=-5.0
X-W3C-Hub-Spam-Report: AWL=-0.975, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8mPx-0000oz-4h 4b41a3f87fc571093157096d05155026
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33903
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 11.05.2017 um 13:35 schrieb Kazuho Oku <kazuhooku@gmail.com>:
>=20
> 2017-05-11 20:33 GMT+09:00 Stefan Eissing =
<stefan.eissing@greenbytes.de>:
>>=20
>>> Am 11.05.2017 um 13:31 schrieb Kazuho Oku <kazuhooku@gmail.com>:
>>>=20
>>> 2017-05-11 17:19 GMT+09:00 Stefan Eissing =
<stefan.eissing@greenbytes.de>:
>>>>=20
>>>>> Am 11.05.2017 um 07:33 schrieb Willy Tarreau <w@1wt.eu>:
>>>>>=20
>>>>> Hi Mark,
>>>>>=20
>>>>> On Thu, May 11, 2017 at 10:23:12AM +1000, Mark Nottingham wrote:
>>>>>> If an origin doesn't have robust retry/replay protection in place =
for
>>>>>> non-idempotent requests, it seems operationally simpler and safer =
for them to
>>>>>> disable 0RT, rather than refusing it on a request-by-request =
basis. That's
>>>>>> the discussion I think we should have here...
>>>>>=20
>>>>> That's exactly the situation I'm facing for now with haproxy. A =
few
>>>>> users have asked us to support 0RTT and by lack of way to 1) =
decide
>>>>> which requests are really safe, and 2) tell the client it must =
replay
>>>>> them using 1RTT, for now I refused to enable it. The load balancer
>>>>> and the origin server will have a different view of the =
acceptability
>>>>> of 0RTT, and all the chain must be able to accept or reject them, =
and
>>>>> let the client retry.
>>>>=20
>>>> Even the "origin server" might not be aware what the application's
>>>> committal and guarantee here is.
>>>>=20
>>>> My thoughts for an implementation is:
>>>>=20
>>>> - it has to work without the "upper" layer / next hop being aware =
of it
>>>> - it has to fail in a defined HTTP way. The HTTP request is tagged =
as
>>>> possibly replayed, regardless of the actual transport. The answer
>>>> needs to also work on that transport.
>>>> - The negative answer to a 0-RTT request might come early, might =
come
>>>> late. For h2, other streams might have been opened, even answered,
>>>> in the meantime.
>>>> - The sender selecting 0-RTT should only do so, if it understands =
the
>>>> retry answer. (Once that is defined)
>>>> - The sender may well want to select 0-RTT only if it considers the
>>>> data to be safe for replays *and* it expects the server to come to
>>>> the same conclusion.
>>>> - So, ideally, sender and receiver have the same notion about what =
HTTP
>>>> data is acceptable for 0-RTT.
>>>=20
>>> This is an interesting discussion!
>>>=20
>>> I believe that there is no need for us to require a _client_ to =
resend
>>> a HTTP request, even in case it sends a HTTP request in 0-RTT and =
then
>>> turns out that the application running behind tells the "origin
>>> server" that it cannot handle 0-RTT request.
>>>=20
>>> IMO what the origin server should do is buffer the 0-RTT request
>>> (note: in TLS 1.3, a server can cap the size of 0-RTT data), and if
>>> the application refuses to handle the request due to the fact that =
it
>>> has been sent in 0-RTT, wait until the client proves itself to be a
>>> legitimate client (by sending an 1-RTT data), and then resend the
>>> buffered request to the application.
>>=20
>> Hmm, how many RTTs will this proof take?
>=20
> 1RTT. The latency will be the same as when the client did not use =
0-RTT.
> OTOH, the obvious benefit of the proposed approach is less use of
> bandwidth since there is no need for a client to resend the request.

Ok, so when the server sees the first non-0-RTT byte from the client, =
the
handshake was accepted and the 0-RTT data can be regarded as genuine.

The PING merely triggers the data transfer in case the client does not
send anything on its own, I assume.

>>=20
>>=20
>>> In HTTP/2, the proof can be obtained by sending a PING frame from =
the
>>> server after sending ServerFinished message (of TLS 1.3) and waiting
>>> for the response to the PING frame.
>>>=20
>>> So, while I agree that it is beneficial to have an agreement on how
>>> the interaction scheme between the origin server and the application
>>> running behind (possibly as an informational RFC), I do not see a
>>> strong reason that we need to introduce some kind of profile due the
>>> introduction of 0-RTT data in TLS 1.3.
>>>=20
>>>> -Stefan
>>>>=20
>>>>>=20
>>>>> I tend to think that a 4xx status code would make sense and would =
be
>>>>> useful to pass the verdict back to the client. For example we =
could
>>>>> return "418 not idempotent".
>>>>>=20
>>>>> Willy
>>>>>=20
>>>>=20
>>>>=20
>>>=20
>>>=20
>>>=20
>>> --
>>> Kazuho Oku
>>=20
>=20
>=20
>=20
> --=20
> Kazuho Oku



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 04:43:28 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5A561129AB7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 04:43:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.502
X-Spam-Level:
X-Spam-Status: No, score=-6.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CHfqHTr8ItOv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 04:43:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A569C12EBD9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 04:41:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8mRJ-0004Dh-49 for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 11:39:25 +0000
Resent-Date: Thu, 11 May 2017 11:39:25 +0000
Resent-Message-Id: <E1d8mRJ-0004Dh-49@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <kazuhooku@gmail.com>) id 1d8mRF-0004CV-RW for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 11:39:21 +0000
Received: from mail-pg0-f54.google.com ([74.125.83.54]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <kazuhooku@gmail.com>) id 1d8mR9-0000rT-0w for ietf-http-wg@w3.org; Thu, 11 May 2017 11:39:16 +0000
Received: by mail-pg0-f54.google.com with SMTP id 64so13371987pgb.3 for <ietf-http-wg@w3.org>; Thu, 11 May 2017 04:38:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=m7M05Ufr7cGymMF/nmFedqrZNJABhGC0L8DUrumH7BI=; b=ZkoyaJRjMhgvRHqRO2OLIRcPhaTgkvGR40BFfRHqEyXTtx8daFXAUR9YGYQNSBf6aH ho+5mXVqoJtmvD6wk1t3yU+I1MFl1wPmVSt8hIt0o/WLsGPOiYHW+E98Tktz9WYwzaKZ dWKly0XGX3J+3JnvQer540oWYrT9mX91eHHenbVGGeiHVmMn5AAl1DJL1rQxkc3GugZM ClbL2bavl6vKBWhgK7FH4zrrYlx4QXxOmpw0ix6Eqc5Ja8khNCyHOR8uxnXLHTQu5sJ3 /qBYr0q0WofNPzqeV53p8muPQUSXiMbCm73Q+ObxRsd8KsBS672YQ7xKf3xl6fWQEjZC /CRA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=m7M05Ufr7cGymMF/nmFedqrZNJABhGC0L8DUrumH7BI=; b=M/j6a8UhXPcSOy0KRHe7YDzFlQlZ7Jtgozt1wrwuq99AB8vWoj1For/Z+68BKcv3vd VPlAtiWZZhqgyCVjTWV4GoKsu6vgnS9sixywvIoAsnrdCDYoCaMPRgXtSdrBLfoOYPUw Z5Z3b4/HX+PpYlD5A00lP+0b5SADZyK2D6MRPiv56MnlKzHpnfrd2Zwka+n/sqZSYlvD GL9gJ3dW7zkvEv0PLke2uRppmzXFn9q5h/5p21NnVB88broOk1PNuoouCMPi0FLgna9A 8kM8pjH4lbl6M3Ube/iCX+w85WWfoE1+1ib9EuScV9FImp40cNDr9PqeXWFodYeVK4uM rWZA==
X-Gm-Message-State: AODbwcCzCrCBFuhT1nV4ndlT6Q7LpLNYtPsK0gcTDI2oOqiAPKtA3aUB ju92a/lPzDQijWot41Qk6awoXZe36g==
X-Received: by 10.99.151.9 with SMTP id n9mr10989551pge.199.1494502728389; Thu, 11 May 2017 04:38:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.135.79 with HTTP; Thu, 11 May 2017 04:38:47 -0700 (PDT)
In-Reply-To: <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de>
From: Kazuho Oku <kazuhooku@gmail.com>
Date: Thu, 11 May 2017 20:38:47 +0900
Message-ID: <CANatvzwKvWQA-EgmkUbC2SXNcm9Nw7f0vC4jxZeHWASEn_fUPw@mail.gmail.com>
To: Stefan Eissing <stefan.eissing@greenbytes.de>
Cc: Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>,  "Kaduk, Ben" <bkaduk@akamai.com>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=74.125.83.54; envelope-from=kazuhooku@gmail.com; helo=mail-pg0-f54.google.com
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-0.607, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8mR9-0000rT-0w bd56ca83c2ab74923bf470f418b9789f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/CANatvzwKvWQA-EgmkUbC2SXNcm9Nw7f0vC4jxZeHWASEn_fUPw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33904
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

2017-05-11 20:37 GMT+09:00 Stefan Eissing <stefan.eissing@greenbytes.de>:
>
>> Am 11.05.2017 um 13:35 schrieb Kazuho Oku <kazuhooku@gmail.com>:
>>
>> 2017-05-11 20:33 GMT+09:00 Stefan Eissing <stefan.eissing@greenbytes.de>:
>>>
>>>> Am 11.05.2017 um 13:31 schrieb Kazuho Oku <kazuhooku@gmail.com>:
>>>>
>>>> 2017-05-11 17:19 GMT+09:00 Stefan Eissing <stefan.eissing@greenbytes.de>:
>>>>>
>>>>>> Am 11.05.2017 um 07:33 schrieb Willy Tarreau <w@1wt.eu>:
>>>>>>
>>>>>> Hi Mark,
>>>>>>
>>>>>> On Thu, May 11, 2017 at 10:23:12AM +1000, Mark Nottingham wrote:
>>>>>>> If an origin doesn't have robust retry/replay protection in place for
>>>>>>> non-idempotent requests, it seems operationally simpler and safer for them to
>>>>>>> disable 0RT, rather than refusing it on a request-by-request basis. That's
>>>>>>> the discussion I think we should have here...
>>>>>>
>>>>>> That's exactly the situation I'm facing for now with haproxy. A few
>>>>>> users have asked us to support 0RTT and by lack of way to 1) decide
>>>>>> which requests are really safe, and 2) tell the client it must replay
>>>>>> them using 1RTT, for now I refused to enable it. The load balancer
>>>>>> and the origin server will have a different view of the acceptability
>>>>>> of 0RTT, and all the chain must be able to accept or reject them, and
>>>>>> let the client retry.
>>>>>
>>>>> Even the "origin server" might not be aware what the application's
>>>>> committal and guarantee here is.
>>>>>
>>>>> My thoughts for an implementation is:
>>>>>
>>>>> - it has to work without the "upper" layer / next hop being aware of it
>>>>> - it has to fail in a defined HTTP way. The HTTP request is tagged as
>>>>> possibly replayed, regardless of the actual transport. The answer
>>>>> needs to also work on that transport.
>>>>> - The negative answer to a 0-RTT request might come early, might come
>>>>> late. For h2, other streams might have been opened, even answered,
>>>>> in the meantime.
>>>>> - The sender selecting 0-RTT should only do so, if it understands the
>>>>> retry answer. (Once that is defined)
>>>>> - The sender may well want to select 0-RTT only if it considers the
>>>>> data to be safe for replays *and* it expects the server to come to
>>>>> the same conclusion.
>>>>> - So, ideally, sender and receiver have the same notion about what HTTP
>>>>> data is acceptable for 0-RTT.
>>>>
>>>> This is an interesting discussion!
>>>>
>>>> I believe that there is no need for us to require a _client_ to resend
>>>> a HTTP request, even in case it sends a HTTP request in 0-RTT and then
>>>> turns out that the application running behind tells the "origin
>>>> server" that it cannot handle 0-RTT request.
>>>>
>>>> IMO what the origin server should do is buffer the 0-RTT request
>>>> (note: in TLS 1.3, a server can cap the size of 0-RTT data), and if
>>>> the application refuses to handle the request due to the fact that it
>>>> has been sent in 0-RTT, wait until the client proves itself to be a
>>>> legitimate client (by sending an 1-RTT data), and then resend the
>>>> buffered request to the application.
>>>
>>> Hmm, how many RTTs will this proof take?
>>
>> 1RTT. The latency will be the same as when the client did not use 0-RTT.
>> OTOH, the obvious benefit of the proposed approach is less use of
>> bandwidth since there is no need for a client to resend the request.
>
> Ok, so when the server sees the first non-0-RTT byte from the client, the
> handshake was accepted and the 0-RTT data can be regarded as genuine.
>
> The PING merely triggers the data transfer in case the client does not
> send anything on its own, I assume.

Yes. That is what I have been thinking. Thank you for clarifying that.

>>>
>>>
>>>> In HTTP/2, the proof can be obtained by sending a PING frame from the
>>>> server after sending ServerFinished message (of TLS 1.3) and waiting
>>>> for the response to the PING frame.
>>>>
>>>> So, while I agree that it is beneficial to have an agreement on how
>>>> the interaction scheme between the origin server and the application
>>>> running behind (possibly as an informational RFC), I do not see a
>>>> strong reason that we need to introduce some kind of profile due the
>>>> introduction of 0-RTT data in TLS 1.3.
>>>>
>>>>> -Stefan
>>>>>
>>>>>>
>>>>>> I tend to think that a 4xx status code would make sense and would be
>>>>>> useful to pass the verdict back to the client. For example we could
>>>>>> return "418 not idempotent".
>>>>>>
>>>>>> Willy
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Kazuho Oku
>>>
>>
>>
>>
>> --
>> Kazuho Oku
>



-- 
Kazuho Oku


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 04:51:55 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2014112EBB6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 04:51:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.002
X-Spam-Level:
X-Spam-Status: No, score=-7.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=greenbytes.de header.b=OppGuveR; dkim=pass (1024-bit key) header.d=greenbytes.de header.b=JCPunjWb
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZFY7azMMlc-I for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 04:51:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D42EE12EBAE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 04:49:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8mYM-0003xO-So for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 11:46:42 +0000
Resent-Date: Thu, 11 May 2017 11:46:42 +0000
Resent-Message-Id: <E1d8mYM-0003xO-So@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <stefan.eissing@greenbytes.de>) id 1d8mYK-0003um-Rn for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 11:46:40 +0000
Received: from mail.greenbytes.de ([217.91.35.233]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <stefan.eissing@greenbytes.de>) id 1d8mYD-00017b-VW for ietf-http-wg@w3.org; Thu, 11 May 2017 11:46:35 +0000
Received: by mail.greenbytes.de (Postfix, from userid 117) id CC30D15A0857; Thu, 11 May 2017 13:46:11 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1494503171; bh=wBqorXtlEE/gpPAnwmnQB2BPdBnIv8QNifEw3MS5ohM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=OppGuveR3pTofvX8elKAk/q4oTg+TwwissSsw94M3f38eaYbJ2iyLwD3UmbvOXeDS O4bU1afMRCs9dPYUExffjqN6mLptCba5pFSyiXHHxh1f7an0IpKXk3v0NKfLN1xCLu ShnpPORF7v1qJ7tXHXUqKGEWRHpn0piEGl6bb34Q=
Received: from delight.greenbytes.local (unknown [217.91.35.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.greenbytes.de (Postfix) with ESMTPSA id A0C1E15A06F2; Thu, 11 May 2017 13:46:10 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1494503170; bh=wBqorXtlEE/gpPAnwmnQB2BPdBnIv8QNifEw3MS5ohM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=JCPunjWbG1JUmDPdRTypIEsRTTyA8USRrUBUtG9Vx3m/aJpvl01I9yN7mO6vlSqaZ hs3u5bgBS+L8K/A2X4I+/YaIGPEMQswCgsEm3khrQf65KReljU/HL8ZgsGiGEitXR1 Dz/6M3H2S1H6wUSRvXKPLnu+v86qbe8XhJyskW1o=
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Stefan Eissing <stefan.eissing@greenbytes.de>
In-Reply-To: <CANatvzwKvWQA-EgmkUbC2SXNcm9Nw7f0vC4jxZeHWASEn_fUPw@mail.gmail.com>
Date: Thu, 11 May 2017 13:46:10 +0200
Cc: Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <37D885E7-8BEB-4685-816A-BC9CD61F2230@greenbytes.de>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CANatvzwKvWQA-EgmkUbC2SXNcm9Nw7f0vC4jxZeHWASEn_fUPw@mail.gmail.com>
To: Kazuho Oku <kazuhooku@gmail.com>
X-Mailer: Apple Mail (2.3273)
Received-SPF: pass client-ip=217.91.35.233; envelope-from=stefan.eissing@greenbytes.de; helo=mail.greenbytes.de
X-W3C-Hub-Spam-Status: No, score=-4.9
X-W3C-Hub-Spam-Report: AWL=-0.929, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8mYD-00017b-VW a33689e57c7c0db16ec621d89130b787
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/37D885E7-8BEB-4685-816A-BC9CD61F2230@greenbytes.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33905
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 11.05.2017 um 13:38 schrieb Kazuho Oku <kazuhooku@gmail.com>:
>=20
> 2017-05-11 20:37 GMT+09:00 Stefan Eissing =
<stefan.eissing@greenbytes.de>:
>>=20
>>> Am 11.05.2017 um 13:35 schrieb Kazuho Oku <kazuhooku@gmail.com>:
>>>=20
>>> 2017-05-11 20:33 GMT+09:00 Stefan Eissing =
<stefan.eissing@greenbytes.de>:
>>>>=20
>>>>> Am 11.05.2017 um 13:31 schrieb Kazuho Oku <kazuhooku@gmail.com>:
>>>>>=20
>>>>> 2017-05-11 17:19 GMT+09:00 Stefan Eissing =
<stefan.eissing@greenbytes.de>:
>>>>>>=20
>>>>>>> Am 11.05.2017 um 07:33 schrieb Willy Tarreau <w@1wt.eu>:
>>>>>>>=20
>>>>>>> Hi Mark,
>>>>>>>=20
>>>>>>> On Thu, May 11, 2017 at 10:23:12AM +1000, Mark Nottingham wrote:
>>>>>>>> If an origin doesn't have robust retry/replay protection in =
place for
>>>>>>>> non-idempotent requests, it seems operationally simpler and =
safer for them to
>>>>>>>> disable 0RT, rather than refusing it on a request-by-request =
basis. That's
>>>>>>>> the discussion I think we should have here...
>>>>>>>=20
>>>>>>> That's exactly the situation I'm facing for now with haproxy. A =
few
>>>>>>> users have asked us to support 0RTT and by lack of way to 1) =
decide
>>>>>>> which requests are really safe, and 2) tell the client it must =
replay
>>>>>>> them using 1RTT, for now I refused to enable it. The load =
balancer
>>>>>>> and the origin server will have a different view of the =
acceptability
>>>>>>> of 0RTT, and all the chain must be able to accept or reject =
them, and
>>>>>>> let the client retry.
>>>>>>=20
>>>>>> Even the "origin server" might not be aware what the =
application's
>>>>>> committal and guarantee here is.
>>>>>>=20
>>>>>> My thoughts for an implementation is:
>>>>>>=20
>>>>>> - it has to work without the "upper" layer / next hop being aware =
of it
>>>>>> - it has to fail in a defined HTTP way. The HTTP request is =
tagged as
>>>>>> possibly replayed, regardless of the actual transport. The answer
>>>>>> needs to also work on that transport.
>>>>>> - The negative answer to a 0-RTT request might come early, might =
come
>>>>>> late. For h2, other streams might have been opened, even =
answered,
>>>>>> in the meantime.
>>>>>> - The sender selecting 0-RTT should only do so, if it understands =
the
>>>>>> retry answer. (Once that is defined)
>>>>>> - The sender may well want to select 0-RTT only if it considers =
the
>>>>>> data to be safe for replays *and* it expects the server to come =
to
>>>>>> the same conclusion.
>>>>>> - So, ideally, sender and receiver have the same notion about =
what HTTP
>>>>>> data is acceptable for 0-RTT.
>>>>>=20
>>>>> This is an interesting discussion!
>>>>>=20
>>>>> I believe that there is no need for us to require a _client_ to =
resend
>>>>> a HTTP request, even in case it sends a HTTP request in 0-RTT and =
then
>>>>> turns out that the application running behind tells the "origin
>>>>> server" that it cannot handle 0-RTT request.
>>>>>=20
>>>>> IMO what the origin server should do is buffer the 0-RTT request
>>>>> (note: in TLS 1.3, a server can cap the size of 0-RTT data), and =
if
>>>>> the application refuses to handle the request due to the fact that =
it
>>>>> has been sent in 0-RTT, wait until the client proves itself to be =
a
>>>>> legitimate client (by sending an 1-RTT data), and then resend the
>>>>> buffered request to the application.
>>>>=20
>>>> Hmm, how many RTTs will this proof take?
>>>=20
>>> 1RTT. The latency will be the same as when the client did not use =
0-RTT.
>>> OTOH, the obvious benefit of the proposed approach is less use of
>>> bandwidth since there is no need for a client to resend the request.
>>=20
>> Ok, so when the server sees the first non-0-RTT byte from the client, =
the
>> handshake was accepted and the 0-RTT data can be regarded as genuine.
>>=20
>> The PING merely triggers the data transfer in case the client does =
not
>> send anything on its own, I assume.
>=20
> Yes. That is what I have been thinking. Thank you for clarifying that.

Excellent, very nice thinking, Kazuho! This strategy really solves any
interop issues for origin servers. Nice.

In case of proxies/intermediates, the case is different, I think.=20

If a proxy receives 0-RTT data, it can only make direct use of it inside
upstream 0-RTT data on a new connection. If it sends 0-RTT data on an
established connection, the server cannot detect the replay weakness.

A proxy, on forwarding 0-RTT data on an established connection, must =
first
verify the client handshake.

Does that make sense?


>>>>=20
>>>>=20
>>>>> In HTTP/2, the proof can be obtained by sending a PING frame from =
the
>>>>> server after sending ServerFinished message (of TLS 1.3) and =
waiting
>>>>> for the response to the PING frame.
>>>>>=20
>>>>> So, while I agree that it is beneficial to have an agreement on =
how
>>>>> the interaction scheme between the origin server and the =
application
>>>>> running behind (possibly as an informational RFC), I do not see a
>>>>> strong reason that we need to introduce some kind of profile due =
the
>>>>> introduction of 0-RTT data in TLS 1.3.
>>>>>=20
>>>>>> -Stefan
>>>>>>=20
>>>>>>>=20
>>>>>>> I tend to think that a 4xx status code would make sense and =
would be
>>>>>>> useful to pass the verdict back to the client. For example we =
could
>>>>>>> return "418 not idempotent".
>>>>>>>=20
>>>>>>> Willy
>>>>>>>=20
>>>>>>=20
>>>>>>=20
>>>>>=20
>>>>>=20
>>>>>=20
>>>>> --
>>>>> Kazuho Oku
>>>>=20
>>>=20
>>>=20
>>>=20
>>> --
>>> Kazuho Oku
>>=20
>=20
>=20
>=20
> --=20
> Kazuho Oku



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 05:09:56 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3D8C912EC4D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 05:09:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.502
X-Spam-Level:
X-Spam-Status: No, score=-6.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qjQzS-JNb5Hf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 05:09:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 818D312EBAD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 05:07:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8mpI-0004va-RL for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 12:04:12 +0000
Resent-Date: Thu, 11 May 2017 12:04:12 +0000
Resent-Message-Id: <E1d8mpI-0004va-RL@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <kazuhooku@gmail.com>) id 1d8mpF-0004n2-2U for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 12:04:09 +0000
Received: from mail-pg0-f43.google.com ([74.125.83.43]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <kazuhooku@gmail.com>) id 1d8mhN-0001Wi-9A for ietf-http-wg@w3.org; Thu, 11 May 2017 11:56:02 +0000
Received: by mail-pg0-f43.google.com with SMTP id u187so13596197pgb.0 for <ietf-http-wg@w3.org>; Thu, 11 May 2017 04:55:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bG6EMP6XvpF+9MB/x/pEb7mKhVSdLswp2a1Q4Qsr0uo=; b=SxXbS8Nv+ACFrD7p3Vd88/FLX+GlVY+WdUJFJBZn7SidesVB52JvMbBj1/M8en+OSg 7rhf3mhJHoV8IK2cLFEqqPQi3oNJRY+hSinwd6AmNhGwF3m3LE8fNdpJ/sW5sbltB16x 4fIskDesQoSi+C//ICoLTi0PUj4R2NwMfJpsdW2F4pNaU1KlnhEWznzgH6OtbW4sV6SP pJnWXVqlPxSHIzmuEPwhy8l/PQ7D9jmGmihyWVw9rXaSOcgP645IZbdTyI3LP/B/BRv+ MBwOYyrXQynM6LJzfOUig8P0ZvLR6D1cTp0HxgW+C68D8998HynBKFOX7ZNWGiYA3554 KhOg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bG6EMP6XvpF+9MB/x/pEb7mKhVSdLswp2a1Q4Qsr0uo=; b=lBTcyn25Hgt0MICT8MPY+Ts6vC7z5ogMVgPm2eb1fAx59GYcC6rkwy41QoowIrHWOD ABMJDlpexEjxNmVes8gfav2xZ03Xgl0fQT5gWfni30OMQNVltw6+5U82lKFito1srOuw naakwVw0Gmeso6RORt3Xf+npM+DCf/4h3VF+5hj2OnJ/HTB0XlS5ld2J23I6KssqefRJ ALrFFfA4o1+7BWDmU+KCVA8V7pc+E2fhq/FhJ0MWy1BYjSWKwrgbT3R93jKzeDCRUJOC /nQ91RacISzJGYhzQYUsTml0jQKuEMfQ7AvrS9IP+h+spqDO2vUrnG7amLGltQd5YYYf z9jw==
X-Gm-Message-State: AODbwcBCmq8zXY7KQtSuTzAWbXA2mVsCCQY2+AUf+s4cH17l8Xd/YwLy WwRfqRcRSjuWqiUitQXvAzw7ybJRzQ==
X-Received: by 10.99.127.80 with SMTP id p16mr11984892pgn.180.1494503734579; Thu, 11 May 2017 04:55:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.135.79 with HTTP; Thu, 11 May 2017 04:55:33 -0700 (PDT)
In-Reply-To: <37D885E7-8BEB-4685-816A-BC9CD61F2230@greenbytes.de>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CANatvzwKvWQA-EgmkUbC2SXNcm9Nw7f0vC4jxZeHWASEn_fUPw@mail.gmail.com> <37D885E7-8BEB-4685-816A-BC9CD61F2230@greenbytes.de>
From: Kazuho Oku <kazuhooku@gmail.com>
Date: Thu, 11 May 2017 20:55:33 +0900
Message-ID: <CANatvzxo6Z7QUrb7T9s=AR9W284x5FkMggjTKFKM4HoNNe+dxA@mail.gmail.com>
To: Stefan Eissing <stefan.eissing@greenbytes.de>
Cc: Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>,  "Kaduk, Ben" <bkaduk@akamai.com>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=74.125.83.43; envelope-from=kazuhooku@gmail.com; helo=mail-pg0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-5.5
X-W3C-Hub-Spam-Report: AWL=0.807, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8mhN-0001Wi-9A 1b4c9d374a6aa56a506fdf12af8995bd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/CANatvzxo6Z7QUrb7T9s=AR9W284x5FkMggjTKFKM4HoNNe+dxA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33906
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

2017-05-11 20:46 GMT+09:00 Stefan Eissing <stefan.eissing@greenbytes.de>:
>
>> Am 11.05.2017 um 13:38 schrieb Kazuho Oku <kazuhooku@gmail.com>:
>>
>> 2017-05-11 20:37 GMT+09:00 Stefan Eissing <stefan.eissing@greenbytes.de>:
>>>
>>>> Am 11.05.2017 um 13:35 schrieb Kazuho Oku <kazuhooku@gmail.com>:
>>>>
>>>> 2017-05-11 20:33 GMT+09:00 Stefan Eissing <stefan.eissing@greenbytes.de>:
>>>>>
>>>>>> Am 11.05.2017 um 13:31 schrieb Kazuho Oku <kazuhooku@gmail.com>:
>>>>>>
>>>>>> 2017-05-11 17:19 GMT+09:00 Stefan Eissing <stefan.eissing@greenbytes.de>:
>>>>>>>
>>>>>>>> Am 11.05.2017 um 07:33 schrieb Willy Tarreau <w@1wt.eu>:
>>>>>>>>
>>>>>>>> Hi Mark,
>>>>>>>>
>>>>>>>> On Thu, May 11, 2017 at 10:23:12AM +1000, Mark Nottingham wrote:
>>>>>>>>> If an origin doesn't have robust retry/replay protection in place for
>>>>>>>>> non-idempotent requests, it seems operationally simpler and safer for them to
>>>>>>>>> disable 0RT, rather than refusing it on a request-by-request basis. That's
>>>>>>>>> the discussion I think we should have here...
>>>>>>>>
>>>>>>>> That's exactly the situation I'm facing for now with haproxy. A few
>>>>>>>> users have asked us to support 0RTT and by lack of way to 1) decide
>>>>>>>> which requests are really safe, and 2) tell the client it must replay
>>>>>>>> them using 1RTT, for now I refused to enable it. The load balancer
>>>>>>>> and the origin server will have a different view of the acceptability
>>>>>>>> of 0RTT, and all the chain must be able to accept or reject them, and
>>>>>>>> let the client retry.
>>>>>>>
>>>>>>> Even the "origin server" might not be aware what the application's
>>>>>>> committal and guarantee here is.
>>>>>>>
>>>>>>> My thoughts for an implementation is:
>>>>>>>
>>>>>>> - it has to work without the "upper" layer / next hop being aware of it
>>>>>>> - it has to fail in a defined HTTP way. The HTTP request is tagged as
>>>>>>> possibly replayed, regardless of the actual transport. The answer
>>>>>>> needs to also work on that transport.
>>>>>>> - The negative answer to a 0-RTT request might come early, might come
>>>>>>> late. For h2, other streams might have been opened, even answered,
>>>>>>> in the meantime.
>>>>>>> - The sender selecting 0-RTT should only do so, if it understands the
>>>>>>> retry answer. (Once that is defined)
>>>>>>> - The sender may well want to select 0-RTT only if it considers the
>>>>>>> data to be safe for replays *and* it expects the server to come to
>>>>>>> the same conclusion.
>>>>>>> - So, ideally, sender and receiver have the same notion about what HTTP
>>>>>>> data is acceptable for 0-RTT.
>>>>>>
>>>>>> This is an interesting discussion!
>>>>>>
>>>>>> I believe that there is no need for us to require a _client_ to resend
>>>>>> a HTTP request, even in case it sends a HTTP request in 0-RTT and then
>>>>>> turns out that the application running behind tells the "origin
>>>>>> server" that it cannot handle 0-RTT request.
>>>>>>
>>>>>> IMO what the origin server should do is buffer the 0-RTT request
>>>>>> (note: in TLS 1.3, a server can cap the size of 0-RTT data), and if
>>>>>> the application refuses to handle the request due to the fact that it
>>>>>> has been sent in 0-RTT, wait until the client proves itself to be a
>>>>>> legitimate client (by sending an 1-RTT data), and then resend the
>>>>>> buffered request to the application.
>>>>>
>>>>> Hmm, how many RTTs will this proof take?
>>>>
>>>> 1RTT. The latency will be the same as when the client did not use 0-RTT.
>>>> OTOH, the obvious benefit of the proposed approach is less use of
>>>> bandwidth since there is no need for a client to resend the request.
>>>
>>> Ok, so when the server sees the first non-0-RTT byte from the client, the
>>> handshake was accepted and the 0-RTT data can be regarded as genuine.
>>>
>>> The PING merely triggers the data transfer in case the client does not
>>> send anything on its own, I assume.
>>
>> Yes. That is what I have been thinking. Thank you for clarifying that.
>
> Excellent, very nice thinking, Kazuho! This strategy really solves any
> interop issues for origin servers. Nice.
>
> In case of proxies/intermediates, the case is different, I think.
>
> If a proxy receives 0-RTT data, it can only make direct use of it inside
> upstream 0-RTT data on a new connection. If it sends 0-RTT data on an
> established connection, the server cannot detect the replay weakness.
>
> A proxy, on forwarding 0-RTT data on an established connection, must first
> verify the client handshake.
>
> Does that make sense?

Ah. Thank you for noticing that

I think that you are right in pointing out that the proposed scheme
does not work well if we have HTTP proxies relaying HTTPS requests.

>
>>>>>
>>>>>
>>>>>> In HTTP/2, the proof can be obtained by sending a PING frame from the
>>>>>> server after sending ServerFinished message (of TLS 1.3) and waiting
>>>>>> for the response to the PING frame.
>>>>>>
>>>>>> So, while I agree that it is beneficial to have an agreement on how
>>>>>> the interaction scheme between the origin server and the application
>>>>>> running behind (possibly as an informational RFC), I do not see a
>>>>>> strong reason that we need to introduce some kind of profile due the
>>>>>> introduction of 0-RTT data in TLS 1.3.
>>>>>>
>>>>>>> -Stefan
>>>>>>>
>>>>>>>>
>>>>>>>> I tend to think that a 4xx status code would make sense and would be
>>>>>>>> useful to pass the verdict back to the client. For example we could
>>>>>>>> return "418 not idempotent".
>>>>>>>>
>>>>>>>> Willy
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Kazuho Oku
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Kazuho Oku
>>>
>>
>>
>>
>> --
>> Kazuho Oku
>



-- 
Kazuho Oku


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 06:32:06 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 840EE12EC17 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 06:32:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.001
X-Spam-Level:
X-Spam-Status: No, score=-7.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wa8xrwS-gF3a for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 06:32:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1CF2A12EC60 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 06:29:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8o6R-0000qL-9X for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 13:25:59 +0000
Resent-Date: Thu, 11 May 2017 13:25:59 +0000
Resent-Message-Id: <E1d8o6R-0000qL-9X@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <rch@google.com>) id 1d8o6M-0000nQ-Lk for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 13:25:54 +0000
Received: from mail-wr0-f176.google.com ([209.85.128.176]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <rch@google.com>) id 1d8o6F-0005Ug-Oo for ietf-http-wg@w3.org; Thu, 11 May 2017 13:25:49 +0000
Received: by mail-wr0-f176.google.com with SMTP id z52so20552542wrc.2 for <ietf-http-wg@w3.org>; Thu, 11 May 2017 06:25:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=52XCJZWk2V5myiQg/vHfcXGs/cPE47qf/QJf2e7iXmg=; b=o9t2aFwde8muUI8/D+VRlfJfVitagGzqrGakih1dRwpiK7kbLyrUtNJT6O3zeKJDb0 bIj6yB8eWlwYmPeGNxmAial6sHJeerbcosPh651NkadhH/EA7zRGamXsdh/i4r/OF5hx GAKgB4zBnXs1yhGmLRYxyL90nnxPReqY7KGQecWLJ3dBL299EaD1qPKBjP7PusHaSGnM IK/8H5/CitDivXXgRCplkbpcwyFkWNeBjZX9cprQiBgKdi5gpEpHyBwgDUsFOfAXx3Ic cr4nBs5CrX/Sel1sZ3yhjG+qIKgx9O2YEwqiB+nWjc1+zpt1zfRNUsYaULnojMOtRZ5R 5+CA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=52XCJZWk2V5myiQg/vHfcXGs/cPE47qf/QJf2e7iXmg=; b=Ef+IzzMCkSuVdk7i8O2XXcK7z1v9o71+IligtBG5jv7Q3vIjWQjCYHJOGxQozChFgN s6ZHkTiZQlxH9/232+SoOBcwsko5ipR6MjhnLDKPFjFqYQe4BQA5sK82Q+onK5YwthAD Wg+TxNCFKytJKUphds3F8tKxp5txjZiKmTdXAnJRttkyq6cltmt0ZGca4N3yWlasg0qs a0mGxlvaP1Kr29hwLaPFVRgAyknUN42fHpb8i9FIAqBLnk4mUqKRF9JEZc+EDb66QPSV 003tymzxbYnznU1xRAz1VPuJWAAal8ydCRf1Lrjg2uqaQEHnPxUBE6UeZvfauzvf0hFA Sjlg==
X-Gm-Message-State: AODbwcAZuwbcgHzGCNWVq/LTeLZqIMqDFN7CT/yUvZUT4VGlwSsvbG8d UeYLY/UHikVpRVf1lRLVUZyDBTomqJOHvjA=
X-Received: by 10.223.176.83 with SMTP id g19mr248711wra.12.1494509120758; Thu, 11 May 2017 06:25:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.131.5 with HTTP; Thu, 11 May 2017 06:25:19 -0700 (PDT)
In-Reply-To: <7CF7F94CB496BF4FAB1676F375F9666A3770E4CA@bgb01xud1012>
References: <7CF7F94CB496BF4FAB1676F375F9666A3770E4CA@bgb01xud1012>
From: Ryan Hamilton <rch@google.com>
Date: Thu, 11 May 2017 06:25:19 -0700
Message-ID: <CAJ_4DfTP5wBvh+A_JfQ_PXV0TQ6XLZOs8Ld5RrFttFk3d_jY4g@mail.gmail.com>
To: Lucas Pardue <Lucas.Pardue@bbc.co.uk>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a1147dba641f51d054f3f85fe"
Received-SPF: pass client-ip=209.85.128.176; envelope-from=rch@google.com; helo=mail-wr0-f176.google.com
X-W3C-Hub-Spam-Status: No, score=-6.4
X-W3C-Hub-Spam-Report: AWL=0.363, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8o6F-0005Ug-Oo e450335dad4ba6924773d89c4f7d3843
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Alt-Svc usage in HTTP forward proxy implementations
Archived-At: <http://www.w3.org/mid/CAJ_4DfTP5wBvh+A_JfQ_PXV0TQ6XLZOs8Ld5RrFttFk3d_jY4g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33907
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--001a1147dba641f51d054f3f85fe
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

FWIW, Chrome only honors Alt-Svc for HTTPS requests
<https://cs.chromium.org/chromium/src/net/http/http_stream_factory_impl_job=
_controller.cc?rcl=3D38ac4c9a36f237bcddf1ae1e723a7ee00c841f64&l=3D946>.
Forward proxies are, basically, out of the loop for HTTPS because they just
tunnel the bytes of the CONNECT request. As a result, Alt-Svc does not play
a role with forward proxies in Chrome.

On Thu, May 11, 2017 at 4:15 AM, Lucas Pardue <Lucas.Pardue@bbc.co.uk>
wrote:

> Hello,
>
>
>
> I=E2=80=99ve been doing some research on Alt-Svc and HTTP proxies. There =
is a load
> of past discussion on this that I do not want to retread over (For
> reference, I=E2=80=99ve included links to some threads I found interestin=
g at the
> end of the email), what I=E2=80=99m more interested in is how implementat=
ions have
> chosen to do things.
>
>
>
> What I haven=E2=80=99t been able to find much information on is whether t=
here are
> any forward proxy implementations that make use of Alt-Svc for upstream
> requests. I was hoping that some of the WG might be able to point me in t=
he
> right direction of some published details, or perhaps make a comment in
> reply to this thread.
>
>
>
> Kind regards
>
> Lucas
>
>
>
>
>
> *References*
>
>
>
> 1.       alt-svc and proxies
> <https://www.ietf.org/mail-archive/web/httpbisa/current/msg26397.html>
>
> 2.       Intermediaries and Alt-Svc
> <https://github.com/http2/http2-spec/issues/462>
>
> 3.       Alt-Svc related Chromium bug report (proxy related)
> <https://lists.w3.org/Archives/Public/ietf-http-wg/2014JanMar/1293.html>
>
> 4.       Alt-Svc + Proxy Pac
> <https://www.ietf.org/mail-archive/web/httpbisa/current/msg24781.html>
>
> 5.       HTTP/QUIC without Alt-Svc?
> <https://github.com/quicwg/base-drafts/issues/253>
>
>
>

--001a1147dba641f51d054f3f85fe
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:trebuche=
t ms,sans-serif">FWIW, <a href=3D"https://cs.chromium.org/chromium/src/net/=
http/http_stream_factory_impl_job_controller.cc?rcl=3D38ac4c9a36f237bcddf1a=
e1e723a7ee00c841f64&amp;l=3D946" class=3D"cremed">Chrome only honors Alt-Sv=
c for HTTPS requests</a>. Forward proxies are, basically, out of the loop f=
or HTTPS because they just tunnel the bytes of the CONNECT request. As a re=
sult, Alt-Svc does not play a role with forward proxies in Chrome.</div></d=
iv><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, May 11=
, 2017 at 4:15 AM, Lucas Pardue <span dir=3D"ltr">&lt;<a href=3D"mailto:Luc=
as.Pardue@bbc.co.uk" target=3D"_blank">Lucas.Pardue@bbc.co.uk</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">





<div lang=3D"EN-GB" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"m_-6659720002809515907WordSection1">
<p class=3D"MsoNormal">Hello,<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">I=E2=80=99ve been doing some research on Alt-Svc and=
 HTTP proxies. There is a load of past discussion on this that I do not wan=
t to retread over (For reference, I=E2=80=99ve included links to some threa=
ds I found interesting at the end of the email), what
 I=E2=80=99m more interested in is how implementations have chosen to do th=
ings. <u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">What I haven=E2=80=99t been able to find much inform=
ation on is whether there are any forward proxy implementations that make u=
se of Alt-Svc for upstream requests. I was hoping that some of the WG might=
 be able to point me in the right direction
 of some published details, or perhaps make a comment in reply to this thre=
ad.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">Kind regards<u></u><u></u></p>
<p class=3D"MsoNormal">Lucas<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal"><u>References<u></u><u></u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"m_-6659720002809515907MsoPlainText" style=3D"margin-left:36.0pt=
">
<u></u><span>1.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
</span></span><u></u><a href=3D"https://www.ietf.org/mail-archive/web/httpb=
isa/current/msg26397.html" target=3D"_blank">alt-svc and proxies</a><u></u>=
<u></u></p>
<p class=3D"m_-6659720002809515907MsoPlainText" style=3D"margin-left:36.0pt=
">
<u></u><span>2.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
</span></span><u></u><a href=3D"https://github.com/http2/http2-spec/issues/=
462" target=3D"_blank">Intermediaries and Alt-Svc</a><u></u><u></u></p>
<p class=3D"m_-6659720002809515907MsoPlainText" style=3D"margin-left:36.0pt=
">
<u></u><span>3.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
</span></span><u></u><a href=3D"https://lists.w3.org/Archives/Public/ietf-h=
ttp-wg/2014JanMar/1293.html" target=3D"_blank">Alt-Svc related Chromium bug=
 report (proxy related)</a><u></u><u></u></p>
<p class=3D"m_-6659720002809515907MsoPlainText" style=3D"margin-left:36.0pt=
">
<u></u><span>4.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
</span></span><u></u><a href=3D"https://www.ietf.org/mail-archive/web/httpb=
isa/current/msg24781.html" target=3D"_blank">Alt-Svc + Proxy Pac</a><u></u>=
<u></u></p>
<p class=3D"m_-6659720002809515907MsoPlainText" style=3D"margin-left:36.0pt=
">
<u></u><span>5.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
</span></span><u></u><a href=3D"https://github.com/quicwg/base-drafts/issue=
s/253" target=3D"_blank">HTTP/QUIC without Alt-Svc?</a><u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>

</blockquote></div><br></div>

--001a1147dba641f51d054f3f85fe--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 06:59:50 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 634B312EBE8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 06:59:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b4e0DBzA1EE9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 06:59:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A79FE12EC86 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 06:55:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8oWE-00063v-Bf for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 13:52:38 +0000
Resent-Date: Thu, 11 May 2017 13:52:38 +0000
Resent-Message-Id: <E1d8oWE-00063v-Bf@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <w@1wt.eu>) id 1d8oWA-000632-PN for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 13:52:34 +0000
Received: from wtarreau.pck.nerim.net ([62.212.114.60] helo=1wt.eu) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <w@1wt.eu>) id 1d8oW4-0005ef-2A for ietf-http-wg@w3.org; Thu, 11 May 2017 13:52:29 +0000
Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id v4BDppe9013663; Thu, 11 May 2017 15:51:51 +0200
Date: Thu, 11 May 2017 15:51:51 +0200
From: Willy Tarreau <w@1wt.eu>
To: Stefan Eissing <stefan.eissing@greenbytes.de>
Cc: Kazuho Oku <kazuhooku@gmail.com>, Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Message-ID: <20170511135151.GB13597@1wt.eu>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CANatvzwKvWQA-EgmkUbC2SXNcm9Nw7f0vC4jxZeHWASEn_fUPw@mail.gmail.com> <37D885E7-8BEB-4685-816A-BC9CD61F2230@greenbytes.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <37D885E7-8BEB-4685-816A-BC9CD61F2230@greenbytes.de>
User-Agent: Mutt/1.6.1 (2016-04-27)
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-7.0
X-W3C-Hub-Spam-Report: AWL=0.943, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d8oW4-0005ef-2A 686688d7dadd5565cc902add684e0242
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/20170511135151.GB13597@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33908
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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, May 11, 2017 at 01:46:10PM +0200, Stefan Eissing wrote:
> >> The PING merely triggers the data transfer in case the client does not
> >> send anything on its own, I assume.
> > 
> > Yes. That is what I have been thinking. Thank you for clarifying that.
> 
> Excellent, very nice thinking, Kazuho! This strategy really solves any
> interop issues for origin servers. Nice.
> 
> In case of proxies/intermediates, the case is different, I think. 
> 
> If a proxy receives 0-RTT data, it can only make direct use of it inside
> upstream 0-RTT data on a new connection. If it sends 0-RTT data on an
> established connection, the server cannot detect the replay weakness.
> 
> A proxy, on forwarding 0-RTT data on an established connection, must first
> verify the client handshake.

It's even worse. Proxies/load balancers have to take routing decisions inline
and immediately. It's not realistic to hold a request pending and want for
some possibly subsequent TLS layer events while you're blocking at L7. I
think we're adding quite a number of layering violations here unfortunately
:-(

In short when you receive this request that you know was transported over
0-RTT somewhere in the chain, you have to give a verdict : pass or reject.
Also very often the TLS decapsulation is handled by a TLS offloader which
is not HTTP-aware. The most HTTP aware ones are able to add a header
before passing the request to the next layer, which is pretty similar to
the load balancer situation. But clearly the origin server can have multiple
layers of intermediaries between it and the client.

Also in practice, 0-RTT will be effective at multiple places :

          0RTT      0RTT     clear/TLS+keep-alive
  client  ----> CDN ----> LB ----> server

In this chain the CDN will not know whether 0RTT is valid or not for the
client, and it will pass the request using 0RTT again to the origin's edge
made of the load balancer which has no clue either about the validity of
0RTT here. Only the origin server will possibly know. But 0RTT will have
been used twice in this diagram. We're in the exact situation where we
want any agent in the chain to be able to say "4xx retry this please"
so that the closest agent to the client does it first and saves a lot on
RTT to fix the problem.

Willy


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 07:00:59 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F16DD129438 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 07:00:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yrZAwOGrZLTn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 07:00:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CE5E3130A94 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 06:56:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8oXZ-00068G-8G for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 13:54:01 +0000
Resent-Date: Thu, 11 May 2017 13:54:01 +0000
Resent-Message-Id: <E1d8oXZ-00068G-8G@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <Lucas.Pardue@bbc.co.uk>) id 1d8oXV-00067V-Fw for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 13:53:57 +0000
Received: from mailout0.cwwtf.bbc.co.uk ([132.185.160.179]) by mimas.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <Lucas.Pardue@bbc.co.uk>) id 1d8oXO-0005jX-Ar for ietf-http-wg@w3.org; Thu, 11 May 2017 13:53:52 +0000
Received: from BGB01XI1006.national.core.bbc.co.uk ([10.184.50.56]) by mailout0.cwwtf.bbc.co.uk (8.15.2/8.15.2) with ESMTP id v4BDlxc8025654; Thu, 11 May 2017 14:47:59 +0100 (BST)
Received: from BGB01XUD1012.national.core.bbc.co.uk ([10.161.14.10]) by BGB01XI1006.national.core.bbc.co.uk ([10.184.50.56]) with mapi id 14.03.0319.002; Thu, 11 May 2017 14:47:59 +0100
From: Lucas Pardue <Lucas.Pardue@bbc.co.uk>
To: Ryan Hamilton <rch@google.com>
CC: HTTP Working Group <ietf-http-wg@w3.org>
Thread-Topic: Alt-Svc usage in HTTP forward proxy implementations
Thread-Index: AdLKRsi5c7NTAgXDQlqrACI3ubw/xwACt5GAAAJLK9A=
Date: Thu, 11 May 2017 13:47:58 +0000
Message-ID: <7CF7F94CB496BF4FAB1676F375F9666A3770E53E@bgb01xud1012>
References: <7CF7F94CB496BF4FAB1676F375F9666A3770E4CA@bgb01xud1012> <CAJ_4DfTP5wBvh+A_JfQ_PXV0TQ6XLZOs8Ld5RrFttFk3d_jY4g@mail.gmail.com>
In-Reply-To: <CAJ_4DfTP5wBvh+A_JfQ_PXV0TQ6XLZOs8Ld5RrFttFk3d_jY4g@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.19.161.212]
x-exclaimer-md-config: 1cd3ac1c-62e5-43f2-8404-6b688271c769
x-tm-as-product-ver: SMEX-11.0.0.4179-8.100.1062-23062.006
x-tm-as-result: No--26.374600-0.000000-31
x-tm-as-user-approved-sender: Yes
x-tm-as-user-blocked-sender: No
Content-Type: multipart/alternative; boundary="_000_7CF7F94CB496BF4FAB1676F375F9666A3770E53Ebgb01xud1012_"
MIME-Version: 1.0
Received-SPF: pass client-ip=132.185.160.179; envelope-from=Lucas.Pardue@bbc.co.uk; helo=mailout0.cwwtf.bbc.co.uk
X-W3C-Hub-Spam-Status: No, score=-4.9
X-W3C-Hub-Spam-Report: AWL=-1.210, BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_NW=0.5
X-W3C-Scan-Sig: mimas.w3.org 1d8oXO-0005jX-Ar 21c8b5fdcaac7d3b55d88053b2381544
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Alt-Svc usage in HTTP forward proxy implementations
Archived-At: <http://www.w3.org/mid/7CF7F94CB496BF4FAB1676F375F9666A3770E53E@bgb01xud1012>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33909
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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_7CF7F94CB496BF4FAB1676F375F9666A3770E53Ebgb01xud1012_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

SGkgUnlhbiwNCg0KSSB1bmRlcnN0YW5kIHRoYXQga2luZCBvZiBjYXNlLCB3aXRoIENPTk5FQ1Qg
dGhlIGZvcndhcmQgcHJveHkgaXMgb3V0IG9mIGx1Y2suIEkgYWxzbyBhcHByZWNpYXRlIHRoYXQg
SFRUUFMgaXMgdGhlIGRpcmVjdGlvbiBvZiB0cmF2ZWwuIEhvd2V2ZXIsIHRvIGNsYXJpZnkgbXkg
bGluZSBvZiB0aG91Z2h0LCBJIHdhcyB0aGlua2luZyBtb3JlIHRoZSBmb2xsb3dpbmcgaHlwb3Ro
ZXRpY2FsIGNhc2UgKEnigJltIHVzaW5nIENocm9tZSBidXQgaXQgY291bGQgYmUgYW55IFVBKToN
Cg0KDQrCtyAgICAgICAgIENocm9tZSBtYWtlcyBhIHJlcXVlc3QgdG8gaHR0cDovL2V4YW1wbGUu
Y29tL2Zvby5odG1sIHZpYSBhIGh0dHAgZm9yd2FyZCBwcm94eSwgbGV0cyBjYWxsIGl0IERhdmUu
DQoNCsK3ICAgICAgICAgRGF2ZSBtYWtlcyB0aGUgcmVxdWVzdCBmb3IgaHR0cDovL2V4YW1wbGUu
Y29tL2Zvby5odG1sIGFuZCByZWNlaXZlcyBhIHJlc3BvbnNlIHRoYXQgaGFzIGFuIEFsdC1TdmMg
aGVhZGVyIGZpZWxkIHN1Y2ggYXMgaDI94oCdOjQ0M+KAnS4NCg0KwrcgICAgICAgICBEYXZlIGlz
IEFsdC1TdmMgYXdhcmUgYW5kIGgyIGNhcGFibGUsIGl0IHJlbWVtYmVycyB0aGUgQWx0LVN2YyBm
b3Ig4oCcbmV4dCB0aW1l4oCdLCBhbmQgcmVtb3ZlcyBpdCBmcm9tIHRoZSByZXNwb25zZSB0byBw
YXNzZWQgdG8gQ2hyb21lLg0KDQrCtyAgICAgICAgIENocm9tZSBpcyBub3QgYXdhcmUgdGhhdCBo
dHRwOi8vZXhhbXBsZS5jb20gaGFzIGFuIEFsdC1TdmMNCg0KwrcgICAgICAgICBDaHJvbWUgbWFr
ZXMgc3Vic2VxdWVudCByZXF1ZXN0IGZvciBodHRwOi8vZXhhbXBsZS5jb20vYmFyLmh0bWwgdmlh
IERhdmUNCg0KwrcgICAgICAgICBEYXZlIG1ha2VzIHRoZSByZXF1ZXN0IHRvIGV4YW1wbGUuY29t
IHVzaW5nIGgyIG9uIHBvcnQgNDQzDQoNCsK3ICAgICAgICAgQ2hyb21lIHdhcyBuZXZlciBjbHVl
ZCBpbiB0byB3aGF0IGhhcHBlbmVkDQpMdWNhcw0KDQpGcm9tOiBSeWFuIEhhbWlsdG9uIFttYWls
dG86cmNoQGdvb2dsZS5jb21dDQpTZW50OiAxMSBNYXkgMjAxNyAxNDoyNQ0KVG86IEx1Y2FzIFBh
cmR1ZSA8THVjYXMuUGFyZHVlQGJiYy5jby51az4NCkNjOiBIVFRQIFdvcmtpbmcgR3JvdXAgPGll
dGYtaHR0cC13Z0B3My5vcmc+DQpTdWJqZWN0OiBSZTogQWx0LVN2YyB1c2FnZSBpbiBIVFRQIGZv
cndhcmQgcHJveHkgaW1wbGVtZW50YXRpb25zDQoNCkZXSVcsIENocm9tZSBvbmx5IGhvbm9ycyBB
bHQtU3ZjIGZvciBIVFRQUyByZXF1ZXN0czxodHRwczovL2NzLmNocm9taXVtLm9yZy9jaHJvbWl1
bS9zcmMvbmV0L2h0dHAvaHR0cF9zdHJlYW1fZmFjdG9yeV9pbXBsX2pvYl9jb250cm9sbGVyLmNj
P3JjbD0zOGFjNGM5YTM2ZjIzN2JjZGRmMWFlMWU3MjNhN2VlMDBjODQxZjY0Jmw9OTQ2Pi4gRm9y
d2FyZCBwcm94aWVzIGFyZSwgYmFzaWNhbGx5LCBvdXQgb2YgdGhlIGxvb3AgZm9yIEhUVFBTIGJl
Y2F1c2UgdGhleSBqdXN0IHR1bm5lbCB0aGUgYnl0ZXMgb2YgdGhlIENPTk5FQ1QgcmVxdWVzdC4g
QXMgYSByZXN1bHQsIEFsdC1TdmMgZG9lcyBub3QgcGxheSBhIHJvbGUgd2l0aCBmb3J3YXJkIHBy
b3hpZXMgaW4gQ2hyb21lLg0KDQpPbiBUaHUsIE1heSAxMSwgMjAxNyBhdCA0OjE1IEFNLCBMdWNh
cyBQYXJkdWUgPEx1Y2FzLlBhcmR1ZUBiYmMuY28udWs8bWFpbHRvOkx1Y2FzLlBhcmR1ZUBiYmMu
Y28udWs+PiB3cm90ZToNCkhlbGxvLA0KDQpJ4oCZdmUgYmVlbiBkb2luZyBzb21lIHJlc2VhcmNo
IG9uIEFsdC1TdmMgYW5kIEhUVFAgcHJveGllcy4gVGhlcmUgaXMgYSBsb2FkIG9mIHBhc3QgZGlz
Y3Vzc2lvbiBvbiB0aGlzIHRoYXQgSSBkbyBub3Qgd2FudCB0byByZXRyZWFkIG92ZXIgKEZvciBy
ZWZlcmVuY2UsIEnigJl2ZSBpbmNsdWRlZCBsaW5rcyB0byBzb21lIHRocmVhZHMgSSBmb3VuZCBp
bnRlcmVzdGluZyBhdCB0aGUgZW5kIG9mIHRoZSBlbWFpbCksIHdoYXQgSeKAmW0gbW9yZSBpbnRl
cmVzdGVkIGluIGlzIGhvdyBpbXBsZW1lbnRhdGlvbnMgaGF2ZSBjaG9zZW4gdG8gZG8gdGhpbmdz
Lg0KDQpXaGF0IEkgaGF2ZW7igJl0IGJlZW4gYWJsZSB0byBmaW5kIG11Y2ggaW5mb3JtYXRpb24g
b24gaXMgd2hldGhlciB0aGVyZSBhcmUgYW55IGZvcndhcmQgcHJveHkgaW1wbGVtZW50YXRpb25z
IHRoYXQgbWFrZSB1c2Ugb2YgQWx0LVN2YyBmb3IgdXBzdHJlYW0gcmVxdWVzdHMuIEkgd2FzIGhv
cGluZyB0aGF0IHNvbWUgb2YgdGhlIFdHIG1pZ2h0IGJlIGFibGUgdG8gcG9pbnQgbWUgaW4gdGhl
IHJpZ2h0IGRpcmVjdGlvbiBvZiBzb21lIHB1Ymxpc2hlZCBkZXRhaWxzLCBvciBwZXJoYXBzIG1h
a2UgYSBjb21tZW50IGluIHJlcGx5IHRvIHRoaXMgdGhyZWFkLg0KDQpLaW5kIHJlZ2FyZHMNCkx1
Y2FzDQoNCg0KUmVmZXJlbmNlcw0KDQoNCjEuICAgICAgIGFsdC1zdmMgYW5kIHByb3hpZXM8aHR0
cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbC1hcmNoaXZlL3dlYi9odHRwYmlzYS9jdXJyZW50L21zZzI2
Mzk3Lmh0bWw+DQoNCjIuICAgICAgIEludGVybWVkaWFyaWVzIGFuZCBBbHQtU3ZjPGh0dHBzOi8v
Z2l0aHViLmNvbS9odHRwMi9odHRwMi1zcGVjL2lzc3Vlcy80NjI+DQoNCjMuICAgICAgIEFsdC1T
dmMgcmVsYXRlZCBDaHJvbWl1bSBidWcgcmVwb3J0IChwcm94eSByZWxhdGVkKTxodHRwczovL2xp
c3RzLnczLm9yZy9BcmNoaXZlcy9QdWJsaWMvaWV0Zi1odHRwLXdnLzIwMTRKYW5NYXIvMTI5My5o
dG1sPg0KDQo0LiAgICAgICBBbHQtU3ZjICsgUHJveHkgUGFjPGh0dHBzOi8vd3d3LmlldGYub3Jn
L21haWwtYXJjaGl2ZS93ZWIvaHR0cGJpc2EvY3VycmVudC9tc2cyNDc4MS5odG1sPg0KDQo1LiAg
ICAgICBIVFRQL1FVSUMgd2l0aG91dCBBbHQtU3ZjPzxodHRwczovL2dpdGh1Yi5jb20vcXVpY3dn
L2Jhc2UtZHJhZnRzL2lzc3Vlcy8yNTM+DQoNCg0KDQoNCg0KLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLQ0KDQpodHRwOi8vd3d3LmJiYy5jby51aw0KVGhpcyBlLW1haWwgKGFuZCBhbnkgYXR0
YWNobWVudHMpIGlzIGNvbmZpZGVudGlhbCBhbmQgbWF5IGNvbnRhaW4gcGVyc29uYWwgdmlld3Mg
d2hpY2ggYXJlIG5vdCB0aGUgdmlld3Mgb2YgdGhlIEJCQyB1bmxlc3Mgc3BlY2lmaWNhbGx5IHN0
YXRlZC4NCklmIHlvdSBoYXZlIHJlY2VpdmVkIGl0IGluIGVycm9yLCBwbGVhc2UgZGVsZXRlIGl0
IGZyb20geW91ciBzeXN0ZW0uDQpEbyBub3QgdXNlLCBjb3B5IG9yIGRpc2Nsb3NlIHRoZSBpbmZv
cm1hdGlvbiBpbiBhbnkgd2F5IG5vciBhY3QgaW4gcmVsaWFuY2Ugb24gaXQgYW5kIG5vdGlmeSB0
aGUgc2VuZGVyIGltbWVkaWF0ZWx5Lg0KUGxlYXNlIG5vdGUgdGhhdCB0aGUgQkJDIG1vbml0b3Jz
IGUtbWFpbHMgc2VudCBvciByZWNlaXZlZC4NCkZ1cnRoZXIgY29tbXVuaWNhdGlvbiB3aWxsIHNp
Z25pZnkgeW91ciBjb25zZW50IHRvIHRoaXMuDQoNCi0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0K

--_000_7CF7F94CB496BF4FAB1676F375F9666A3770E53Ebgb01xud1012_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+DQo8aGVhZD4NCjwhLS0gVGVtcGxhdGUgZ2VuZXJhdGVkIGJ5IEV4Y2xh
aW1lciBNYWlsIERpc2NsYWltZXJzIG9uIDAyOjQ3OjU5IFRodXJzZGF5LCAxMSBNYXkgMjAxNyAt
LT4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIgY29udGVudD0idGV4dC9odG1sOyBj
aGFyc2V0PXV0Zi04Ij4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+UC41ZWUzYWFmNi02MjY0LTQ0
NDEtYjE4OC02MTYwMjM5Zjg0MzIgew0KCU1BUkdJTjogMGNtIDBjbSAwcHQNCn0NCkxJLjVlZTNh
YWY2LTYyNjQtNDQ0MS1iMTg4LTYxNjAyMzlmODQzMiB7DQoJTUFSR0lOOiAwY20gMGNtIDBwdA0K
fQ0KRElWLjVlZTNhYWY2LTYyNjQtNDQ0MS1iMTg4LTYxNjAyMzlmODQzMiB7DQoJTUFSR0lOOiAw
Y20gMGNtIDBwdA0KfQ0KVEFCTEUuNWVlM2FhZjYtNjI2NC00NDQxLWIxODgtNjE2MDIzOWY4NDMy
VGFibGUgew0KCU1BUkdJTjogMGNtIDBjbSAwcHQNCn0NCkRJVi5TZWN0aW9uMSB7DQoJcGFnZTog
U2VjdGlvbjENCn0NCjwvc3R5bGU+DQo8bWV0YSBuYW1lPSJHZW5lcmF0b3IiIGNvbnRlbnQ9Ik1p
Y3Jvc29mdCBXb3JkIDE1IChmaWx0ZXJlZCBtZWRpdW0pIj4NCjxzdHlsZT48IS0tDQovKiBGb250
IERlZmluaXRpb25zICovDQpAZm9udC1mYWNlDQoJe2ZvbnQtZmFtaWx5OldpbmdkaW5nczsNCglw
YW5vc2UtMTo1IDAgMCAwIDAgMCAwIDAgMCAwO30NCkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6
IkNhbWJyaWEgTWF0aCI7DQoJcGFub3NlLTE6MiA0IDUgMyA1IDQgNiAzIDIgNDt9DQpAZm9udC1m
YWNlDQoJe2ZvbnQtZmFtaWx5OkNhbGlicmk7DQoJcGFub3NlLTE6MiAxNSA1IDIgMiAyIDQgMyAy
IDQ7fQ0KQGZvbnQtZmFjZQ0KCXtmb250LWZhbWlseToiVHJlYnVjaGV0IE1TIjsNCglwYW5vc2Ut
MToyIDExIDYgMyAyIDIgMiAyIDIgNDt9DQovKiBTdHlsZSBEZWZpbml0aW9ucyAqLw0KcC5Nc29O
b3JtYWwsIGxpLk1zb05vcm1hbCwgZGl2Lk1zb05vcm1hbA0KCXttYXJnaW46MGNtOw0KCW1hcmdp
bi1ib3R0b206LjAwMDFwdDsNCglmb250LXNpemU6MTIuMHB0Ow0KCWZvbnQtZmFtaWx5OiJUaW1l
cyBOZXcgUm9tYW4iLHNlcmlmO30NCmE6bGluaywgc3Bhbi5Nc29IeXBlcmxpbmsNCgl7bXNvLXN0
eWxlLXByaW9yaXR5Ojk5Ow0KCWNvbG9yOmJsdWU7DQoJdGV4dC1kZWNvcmF0aW9uOnVuZGVybGlu
ZTt9DQphOnZpc2l0ZWQsIHNwYW4uTXNvSHlwZXJsaW5rRm9sbG93ZWQNCgl7bXNvLXN0eWxlLXBy
aW9yaXR5Ojk5Ow0KCWNvbG9yOnB1cnBsZTsNCgl0ZXh0LWRlY29yYXRpb246dW5kZXJsaW5lO30N
CnAuTXNvTGlzdFBhcmFncmFwaCwgbGkuTXNvTGlzdFBhcmFncmFwaCwgZGl2Lk1zb0xpc3RQYXJh
Z3JhcGgNCgl7bXNvLXN0eWxlLXByaW9yaXR5OjM0Ow0KCW1hcmdpbi10b3A6MGNtOw0KCW1hcmdp
bi1yaWdodDowY207DQoJbWFyZ2luLWJvdHRvbTowY207DQoJbWFyZ2luLWxlZnQ6MzYuMHB0Ow0K
CW1hcmdpbi1ib3R0b206LjAwMDFwdDsNCglmb250LXNpemU6MTIuMHB0Ow0KCWZvbnQtZmFtaWx5
OiJUaW1lcyBOZXcgUm9tYW4iLHNlcmlmO30NCnAubXNvbm9ybWFsMCwgbGkubXNvbm9ybWFsMCwg
ZGl2Lm1zb25vcm1hbDANCgl7bXNvLXN0eWxlLW5hbWU6bXNvbm9ybWFsOw0KCW1zby1tYXJnaW4t
dG9wLWFsdDphdXRvOw0KCW1hcmdpbi1yaWdodDowY207DQoJbXNvLW1hcmdpbi1ib3R0b20tYWx0
OmF1dG87DQoJbWFyZ2luLWxlZnQ6MGNtOw0KCWZvbnQtc2l6ZToxMi4wcHQ7DQoJZm9udC1mYW1p
bHk6IlRpbWVzIE5ldyBSb21hbiIsc2VyaWY7fQ0KcC5tLTY2NTk3MjAwMDI4MDk1MTU5MDdtc29w
bGFpbnRleHQsIGxpLm0tNjY1OTcyMDAwMjgwOTUxNTkwN21zb3BsYWludGV4dCwgZGl2Lm0tNjY1
OTcyMDAwMjgwOTUxNTkwN21zb3BsYWludGV4dA0KCXttc28tc3R5bGUtbmFtZTptXy02NjU5NzIw
MDAyODA5NTE1OTA3bXNvcGxhaW50ZXh0Ow0KCW1zby1tYXJnaW4tdG9wLWFsdDphdXRvOw0KCW1h
cmdpbi1yaWdodDowY207DQoJbXNvLW1hcmdpbi1ib3R0b20tYWx0OmF1dG87DQoJbWFyZ2luLWxl
ZnQ6MGNtOw0KCWZvbnQtc2l6ZToxMi4wcHQ7DQoJZm9udC1mYW1pbHk6IlRpbWVzIE5ldyBSb21h
biIsc2VyaWY7fQ0Kc3Bhbi5FbWFpbFN0eWxlMTkNCgl7bXNvLXN0eWxlLXR5cGU6cGVyc29uYWwt
cmVwbHk7DQoJZm9udC1mYW1pbHk6IkNhbGlicmkiLHNhbnMtc2VyaWY7DQoJY29sb3I6d2luZG93
dGV4dDt9DQouTXNvQ2hwRGVmYXVsdA0KCXttc28tc3R5bGUtdHlwZTpleHBvcnQtb25seTsNCglm
b250LWZhbWlseToiQ2FsaWJyaSIsc2Fucy1zZXJpZjsNCgltc28tZmFyZWFzdC1sYW5ndWFnZTpF
Ti1VUzt9DQpAcGFnZSBXb3JkU2VjdGlvbjENCgl7c2l6ZTo2MTIuMHB0IDc5Mi4wcHQ7DQoJbWFy
Z2luOjcyLjBwdCA3Mi4wcHQgNzIuMHB0IDcyLjBwdDt9DQpkaXYuV29yZFNlY3Rpb24xDQoJe3Bh
Z2U6V29yZFNlY3Rpb24xO30NCi8qIExpc3QgRGVmaW5pdGlvbnMgKi8NCkBsaXN0IGwwDQoJe21z
by1saXN0LWlkOjE1MDY2MzIzOTM7DQoJbXNvLWxpc3QtdHlwZTpoeWJyaWQ7DQoJbXNvLWxpc3Qt
dGVtcGxhdGUtaWRzOjQ2NjcyNDQ4IDEzNDgwNzU1MyAxMzQ4MDc1NTUgMTM0ODA3NTU3IDEzNDgw
NzU1MyAxMzQ4MDc1NTUgMTM0ODA3NTU3IDEzNDgwNzU1MyAxMzQ4MDc1NTUgMTM0ODA3NTU3O30N
CkBsaXN0IGwwOmxldmVsMQ0KCXttc28tbGV2ZWwtbnVtYmVyLWZvcm1hdDpidWxsZXQ7DQoJbXNv
LWxldmVsLXRleHQ674K3Ow0KCW1zby1sZXZlbC10YWItc3RvcDpub25lOw0KCW1zby1sZXZlbC1u
dW1iZXItcG9zaXRpb246bGVmdDsNCgl0ZXh0LWluZGVudDotMTguMHB0Ow0KCWZvbnQtZmFtaWx5
OlN5bWJvbDt9DQpAbGlzdCBsMDpsZXZlbDINCgl7bXNvLWxldmVsLW51bWJlci1mb3JtYXQ6YnVs
bGV0Ow0KCW1zby1sZXZlbC10ZXh0Om87DQoJbXNvLWxldmVsLXRhYi1zdG9wOm5vbmU7DQoJbXNv
LWxldmVsLW51bWJlci1wb3NpdGlvbjpsZWZ0Ow0KCXRleHQtaW5kZW50Oi0xOC4wcHQ7DQoJZm9u
dC1mYW1pbHk6IkNvdXJpZXIgTmV3Ijt9DQpAbGlzdCBsMDpsZXZlbDMNCgl7bXNvLWxldmVsLW51
bWJlci1mb3JtYXQ6YnVsbGV0Ow0KCW1zby1sZXZlbC10ZXh0Ou+CpzsNCgltc28tbGV2ZWwtdGFi
LXN0b3A6bm9uZTsNCgltc28tbGV2ZWwtbnVtYmVyLXBvc2l0aW9uOmxlZnQ7DQoJdGV4dC1pbmRl
bnQ6LTE4LjBwdDsNCglmb250LWZhbWlseTpXaW5nZGluZ3M7fQ0KQGxpc3QgbDA6bGV2ZWw0DQoJ
e21zby1sZXZlbC1udW1iZXItZm9ybWF0OmJ1bGxldDsNCgltc28tbGV2ZWwtdGV4dDrvgrc7DQoJ
bXNvLWxldmVsLXRhYi1zdG9wOm5vbmU7DQoJbXNvLWxldmVsLW51bWJlci1wb3NpdGlvbjpsZWZ0
Ow0KCXRleHQtaW5kZW50Oi0xOC4wcHQ7DQoJZm9udC1mYW1pbHk6U3ltYm9sO30NCkBsaXN0IGww
OmxldmVsNQ0KCXttc28tbGV2ZWwtbnVtYmVyLWZvcm1hdDpidWxsZXQ7DQoJbXNvLWxldmVsLXRl
eHQ6bzsNCgltc28tbGV2ZWwtdGFiLXN0b3A6bm9uZTsNCgltc28tbGV2ZWwtbnVtYmVyLXBvc2l0
aW9uOmxlZnQ7DQoJdGV4dC1pbmRlbnQ6LTE4LjBwdDsNCglmb250LWZhbWlseToiQ291cmllciBO
ZXciO30NCkBsaXN0IGwwOmxldmVsNg0KCXttc28tbGV2ZWwtbnVtYmVyLWZvcm1hdDpidWxsZXQ7
DQoJbXNvLWxldmVsLXRleHQ674KnOw0KCW1zby1sZXZlbC10YWItc3RvcDpub25lOw0KCW1zby1s
ZXZlbC1udW1iZXItcG9zaXRpb246bGVmdDsNCgl0ZXh0LWluZGVudDotMTguMHB0Ow0KCWZvbnQt
ZmFtaWx5OldpbmdkaW5nczt9DQpAbGlzdCBsMDpsZXZlbDcNCgl7bXNvLWxldmVsLW51bWJlci1m
b3JtYXQ6YnVsbGV0Ow0KCW1zby1sZXZlbC10ZXh0Ou+CtzsNCgltc28tbGV2ZWwtdGFiLXN0b3A6
bm9uZTsNCgltc28tbGV2ZWwtbnVtYmVyLXBvc2l0aW9uOmxlZnQ7DQoJdGV4dC1pbmRlbnQ6LTE4
LjBwdDsNCglmb250LWZhbWlseTpTeW1ib2w7fQ0KQGxpc3QgbDA6bGV2ZWw4DQoJe21zby1sZXZl
bC1udW1iZXItZm9ybWF0OmJ1bGxldDsNCgltc28tbGV2ZWwtdGV4dDpvOw0KCW1zby1sZXZlbC10
YWItc3RvcDpub25lOw0KCW1zby1sZXZlbC1udW1iZXItcG9zaXRpb246bGVmdDsNCgl0ZXh0LWlu
ZGVudDotMTguMHB0Ow0KCWZvbnQtZmFtaWx5OiJDb3VyaWVyIE5ldyI7fQ0KQGxpc3QgbDA6bGV2
ZWw5DQoJe21zby1sZXZlbC1udW1iZXItZm9ybWF0OmJ1bGxldDsNCgltc28tbGV2ZWwtdGV4dDrv
gqc7DQoJbXNvLWxldmVsLXRhYi1zdG9wOm5vbmU7DQoJbXNvLWxldmVsLW51bWJlci1wb3NpdGlv
bjpsZWZ0Ow0KCXRleHQtaW5kZW50Oi0xOC4wcHQ7DQoJZm9udC1mYW1pbHk6V2luZ2RpbmdzO30N
Cm9sDQoJe21hcmdpbi1ib3R0b206MGNtO30NCnVsDQoJe21hcmdpbi1ib3R0b206MGNtO30NCi0t
Pjwvc3R5bGU+PCEtLVtpZiBndGUgbXNvIDldPjx4bWw+DQo8bzpzaGFwZWRlZmF1bHRzIHY6ZXh0
PSJlZGl0IiBzcGlkbWF4PSIxMDI2IiAvPg0KPC94bWw+PCFbZW5kaWZdLS0+PCEtLVtpZiBndGUg
bXNvIDldPjx4bWw+DQo8bzpzaGFwZWxheW91dCB2OmV4dD0iZWRpdCI+DQo8bzppZG1hcCB2OmV4
dD0iZWRpdCIgZGF0YT0iMSIgLz4NCjwvbzpzaGFwZWxheW91dD48L3htbD48IVtlbmRpZl0tLT4N
CjwvaGVhZD4NCjxib2R5IGxhbmc9IkVOLUdCIiBsaW5rPSJibHVlIiB2bGluaz0icHVycGxlIj4N
CjxwIGNsYXNzPSI1ZWUzYWFmNi02MjY0LTQ0NDEtYjE4OC02MTYwMjM5Zjg0MzIiPjwvcD4NCjxk
aXYgY2xhc3M9IldvcmRTZWN0aW9uMSI+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBzdHls
ZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7LHNhbnMt
c2VyaWY7bXNvLWZhcmVhc3QtbGFuZ3VhZ2U6RU4tVVMiPkhpIFJ5YW4sDQo8bzpwPjwvbzpwPjwv
c3Bhbj48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBzdHlsZT0iZm9udC1zaXplOjEx
LjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7LHNhbnMtc2VyaWY7bXNvLWZhcmVh
c3QtbGFuZ3VhZ2U6RU4tVVMiPjxvOnA+Jm5ic3A7PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNz
PSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZx
dW90O0NhbGlicmkmcXVvdDssc2Fucy1zZXJpZjttc28tZmFyZWFzdC1sYW5ndWFnZTpFTi1VUyI+
SSB1bmRlcnN0YW5kIHRoYXQga2luZCBvZiBjYXNlLCB3aXRoIENPTk5FQ1QgdGhlIGZvcndhcmQg
cHJveHkgaXMgb3V0IG9mIGx1Y2suIEkgYWxzbyBhcHByZWNpYXRlIHRoYXQgSFRUUFMgaXMgdGhl
IGRpcmVjdGlvbiBvZiB0cmF2ZWwuIEhvd2V2ZXIsDQogdG8gY2xhcmlmeSBteSBsaW5lIG9mIHRo
b3VnaHQsIEkgd2FzIHRoaW5raW5nIG1vcmUgdGhlIGZvbGxvd2luZyBoeXBvdGhldGljYWwgY2Fz
ZSAoSeKAmW0gdXNpbmcgQ2hyb21lIGJ1dCBpdCBjb3VsZCBiZSBhbnkgVUEpOjxvOnA+PC9vOnA+
PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxlPSJmb250LXNpemU6
MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDssc2Fucy1zZXJpZjttc28tZmFy
ZWFzdC1sYW5ndWFnZTpFTi1VUyI+PG86cD4mbmJzcDs8L286cD48L3NwYW4+PC9wPg0KPHAgY2xh
c3M9Ik1zb0xpc3RQYXJhZ3JhcGgiIHN0eWxlPSJ0ZXh0LWluZGVudDotMTguMHB0O21zby1saXN0
OmwwIGxldmVsMSBsZm8xIj48IVtpZiAhc3VwcG9ydExpc3RzXT48c3BhbiBzdHlsZT0iZm9udC1z
aXplOjExLjBwdDtmb250LWZhbWlseTpTeW1ib2w7bXNvLWZhcmVhc3QtbGFuZ3VhZ2U6RU4tVVMi
PjxzcGFuIHN0eWxlPSJtc28tbGlzdDpJZ25vcmUiPsK3PHNwYW4gc3R5bGU9ImZvbnQ6Ny4wcHQg
JnF1b3Q7VGltZXMgTmV3IFJvbWFuJnF1b3Q7Ij4mbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz
cDsmbmJzcDsmbmJzcDsmbmJzcDsNCjwvc3Bhbj48L3NwYW4+PC9zcGFuPjwhW2VuZGlmXT48c3Bh
biBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7
LHNhbnMtc2VyaWY7bXNvLWZhcmVhc3QtbGFuZ3VhZ2U6RU4tVVMiPkNocm9tZSBtYWtlcyBhIHJl
cXVlc3QgdG8gaHR0cDovL2V4YW1wbGUuY29tL2Zvby5odG1sIHZpYSBhIGh0dHAgZm9yd2FyZCBw
cm94eSwgbGV0cyBjYWxsIGl0IERhdmUuDQo8bzpwPjwvbzpwPjwvc3Bhbj48L3A+DQo8cCBjbGFz
cz0iTXNvTGlzdFBhcmFncmFwaCIgc3R5bGU9InRleHQtaW5kZW50Oi0xOC4wcHQ7bXNvLWxpc3Q6
bDAgbGV2ZWwxIGxmbzEiPjwhW2lmICFzdXBwb3J0TGlzdHNdPjxzcGFuIHN0eWxlPSJmb250LXNp
emU6MTEuMHB0O2ZvbnQtZmFtaWx5OlN5bWJvbDttc28tZmFyZWFzdC1sYW5ndWFnZTpFTi1VUyI+
PHNwYW4gc3R5bGU9Im1zby1saXN0Oklnbm9yZSI+wrc8c3BhbiBzdHlsZT0iZm9udDo3LjBwdCAm
cXVvdDtUaW1lcyBOZXcgUm9tYW4mcXVvdDsiPiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNw
OyZuYnNwOyZuYnNwOyZuYnNwOw0KPC9zcGFuPjwvc3Bhbj48L3NwYW4+PCFbZW5kaWZdPjxzcGFu
IHN0eWxlPSJmb250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDss
c2Fucy1zZXJpZjttc28tZmFyZWFzdC1sYW5ndWFnZTpFTi1VUyI+RGF2ZSBtYWtlcyB0aGUgcmVx
dWVzdCBmb3IgaHR0cDovL2V4YW1wbGUuY29tL2Zvby5odG1sIGFuZCByZWNlaXZlcyBhIHJlc3Bv
bnNlIHRoYXQgaGFzIGFuIEFsdC1TdmMgaGVhZGVyIGZpZWxkIHN1Y2ggYXMgaDI94oCdOjQ0M+KA
nS48bzpwPjwvbzpwPjwvc3Bhbj48L3A+DQo8cCBjbGFzcz0iTXNvTGlzdFBhcmFncmFwaCIgc3R5
bGU9InRleHQtaW5kZW50Oi0xOC4wcHQ7bXNvLWxpc3Q6bDAgbGV2ZWwxIGxmbzEiPjwhW2lmICFz
dXBwb3J0TGlzdHNdPjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OlN5
bWJvbDttc28tZmFyZWFzdC1sYW5ndWFnZTpFTi1VUyI+PHNwYW4gc3R5bGU9Im1zby1saXN0Okln
bm9yZSI+wrc8c3BhbiBzdHlsZT0iZm9udDo3LjBwdCAmcXVvdDtUaW1lcyBOZXcgUm9tYW4mcXVv
dDsiPiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOw0KPC9z
cGFuPjwvc3Bhbj48L3NwYW4+PCFbZW5kaWZdPjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTEuMHB0
O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDssc2Fucy1zZXJpZjttc28tZmFyZWFzdC1s
YW5ndWFnZTpFTi1VUyI+RGF2ZSBpcyBBbHQtU3ZjIGF3YXJlIGFuZCBoMiBjYXBhYmxlLCBpdCBy
ZW1lbWJlcnMgdGhlIEFsdC1TdmMgZm9yIOKAnG5leHQgdGltZeKAnSwgYW5kIHJlbW92ZXMgaXQg
ZnJvbSB0aGUgcmVzcG9uc2UgdG8gcGFzc2VkIHRvIENocm9tZS48bzpwPjwvbzpwPjwvc3Bhbj48
L3A+DQo8cCBjbGFzcz0iTXNvTGlzdFBhcmFncmFwaCIgc3R5bGU9InRleHQtaW5kZW50Oi0xOC4w
cHQ7bXNvLWxpc3Q6bDAgbGV2ZWwxIGxmbzEiPjwhW2lmICFzdXBwb3J0TGlzdHNdPjxzcGFuIHN0
eWxlPSJmb250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OlN5bWJvbDttc28tZmFyZWFzdC1sYW5n
dWFnZTpFTi1VUyI+PHNwYW4gc3R5bGU9Im1zby1saXN0Oklnbm9yZSI+wrc8c3BhbiBzdHlsZT0i
Zm9udDo3LjBwdCAmcXVvdDtUaW1lcyBOZXcgUm9tYW4mcXVvdDsiPiZuYnNwOyZuYnNwOyZuYnNw
OyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOw0KPC9zcGFuPjwvc3Bhbj48L3NwYW4+PCFb
ZW5kaWZdPjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0Nh
bGlicmkmcXVvdDssc2Fucy1zZXJpZjttc28tZmFyZWFzdC1sYW5ndWFnZTpFTi1VUyI+Q2hyb21l
IGlzIG5vdCBhd2FyZSB0aGF0DQo8YSBocmVmPSJodHRwOi8vZXhhbXBsZS5jb20iPmh0dHA6Ly9l
eGFtcGxlLmNvbTwvYT4gaGFzIGFuIEFsdC1TdmM8bzpwPjwvbzpwPjwvc3Bhbj48L3A+DQo8cCBj
bGFzcz0iTXNvTGlzdFBhcmFncmFwaCIgc3R5bGU9InRleHQtaW5kZW50Oi0xOC4wcHQ7bXNvLWxp
c3Q6bDAgbGV2ZWwxIGxmbzEiPjwhW2lmICFzdXBwb3J0TGlzdHNdPjxzcGFuIHN0eWxlPSJmb250
LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OlN5bWJvbDttc28tZmFyZWFzdC1sYW5ndWFnZTpFTi1V
UyI+PHNwYW4gc3R5bGU9Im1zby1saXN0Oklnbm9yZSI+wrc8c3BhbiBzdHlsZT0iZm9udDo3LjBw
dCAmcXVvdDtUaW1lcyBOZXcgUm9tYW4mcXVvdDsiPiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZu
YnNwOyZuYnNwOyZuYnNwOyZuYnNwOw0KPC9zcGFuPjwvc3Bhbj48L3NwYW4+PCFbZW5kaWZdPjxz
cGFuIHN0eWxlPSJmb250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVv
dDssc2Fucy1zZXJpZjttc28tZmFyZWFzdC1sYW5ndWFnZTpFTi1VUyI+Q2hyb21lIG1ha2VzIHN1
YnNlcXVlbnQgcmVxdWVzdCBmb3INCjxhIGhyZWY9Imh0dHA6Ly9leGFtcGxlLmNvbS9iYXIuaHRt
bCI+aHR0cDovL2V4YW1wbGUuY29tL2Jhci5odG1sPC9hPiB2aWEgRGF2ZTxvOnA+PC9vOnA+PC9z
cGFuPjwvcD4NCjxwIGNsYXNzPSJNc29MaXN0UGFyYWdyYXBoIiBzdHlsZT0idGV4dC1pbmRlbnQ6
LTE4LjBwdDttc28tbGlzdDpsMCBsZXZlbDEgbGZvMSI+PCFbaWYgIXN1cHBvcnRMaXN0c10+PHNw
YW4gc3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6U3ltYm9sO21zby1mYXJlYXN0
LWxhbmd1YWdlOkVOLVVTIj48c3BhbiBzdHlsZT0ibXNvLWxpc3Q6SWdub3JlIj7CtzxzcGFuIHN0
eWxlPSJmb250OjcuMHB0ICZxdW90O1RpbWVzIE5ldyBSb21hbiZxdW90OyI+Jm5ic3A7Jm5ic3A7
Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7DQo8L3NwYW4+PC9zcGFuPjwvc3Bh
bj48IVtlbmRpZl0+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6JnF1
b3Q7Q2FsaWJyaSZxdW90OyxzYW5zLXNlcmlmO21zby1mYXJlYXN0LWxhbmd1YWdlOkVOLVVTIj5E
YXZlIG1ha2VzIHRoZSByZXF1ZXN0IHRvIGV4YW1wbGUuY29tIHVzaW5nIGgyIG9uIHBvcnQgNDQz
PG86cD48L286cD48L3NwYW4+PC9wPg0KPHAgY2xhc3M9Ik1zb0xpc3RQYXJhZ3JhcGgiIHN0eWxl
PSJ0ZXh0LWluZGVudDotMTguMHB0O21zby1saXN0OmwwIGxldmVsMSBsZm8xIj48IVtpZiAhc3Vw
cG9ydExpc3RzXT48c3BhbiBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTpTeW1i
b2w7bXNvLWZhcmVhc3QtbGFuZ3VhZ2U6RU4tVVMiPjxzcGFuIHN0eWxlPSJtc28tbGlzdDpJZ25v
cmUiPsK3PHNwYW4gc3R5bGU9ImZvbnQ6Ny4wcHQgJnF1b3Q7VGltZXMgTmV3IFJvbWFuJnF1b3Q7
Ij4mbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsNCjwvc3Bh
bj48L3NwYW4+PC9zcGFuPjwhW2VuZGlmXT48c3BhbiBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtm
b250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7LHNhbnMtc2VyaWY7bXNvLWZhcmVhc3QtbGFu
Z3VhZ2U6RU4tVVMiPkNocm9tZSB3YXMgbmV2ZXIgY2x1ZWQgaW4gdG8gd2hhdCBoYXBwZW5lZDxv
OnA+PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxlPSJm
b250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDssc2Fucy1zZXJp
Zjttc28tZmFyZWFzdC1sYW5ndWFnZTpFTi1VUyI+PG86cD48L286cD48L3NwYW4+PC9wPg0KPHAg
Y2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1p
bHk6JnF1b3Q7Q2FsaWJyaSZxdW90OyxzYW5zLXNlcmlmO21zby1mYXJlYXN0LWxhbmd1YWdlOkVO
LVVTIj5MdWNhczxvOnA+PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxz
cGFuIHN0eWxlPSJmb250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVv
dDssc2Fucy1zZXJpZjttc28tZmFyZWFzdC1sYW5ndWFnZTpFTi1VUyI+PG86cD4mbmJzcDs8L286
cD48L3NwYW4+PC9wPg0KPGRpdiBzdHlsZT0iYm9yZGVyOm5vbmU7Ym9yZGVyLWxlZnQ6c29saWQg
Ymx1ZSAxLjVwdDtwYWRkaW5nOjBjbSAwY20gMGNtIDQuMHB0Ij4NCjxkaXY+DQo8ZGl2IHN0eWxl
PSJib3JkZXI6bm9uZTtib3JkZXItdG9wOnNvbGlkICNFMUUxRTEgMS4wcHQ7cGFkZGluZzozLjBw
dCAwY20gMGNtIDBjbSI+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48Yj48c3BhbiBsYW5nPSJFTi1V
UyIgc3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6JnF1b3Q7Q2FsaWJyaSZxdW90
OyxzYW5zLXNlcmlmIj5Gcm9tOjwvc3Bhbj48L2I+PHNwYW4gbGFuZz0iRU4tVVMiIHN0eWxlPSJm
b250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDssc2Fucy1zZXJp
ZiI+IFJ5YW4gSGFtaWx0b24gW21haWx0bzpyY2hAZ29vZ2xlLmNvbV0NCjxicj4NCjxiPlNlbnQ6
PC9iPiAxMSBNYXkgMjAxNyAxNDoyNTxicj4NCjxiPlRvOjwvYj4gTHVjYXMgUGFyZHVlICZsdDtM
dWNhcy5QYXJkdWVAYmJjLmNvLnVrJmd0Ozxicj4NCjxiPkNjOjwvYj4gSFRUUCBXb3JraW5nIEdy
b3VwICZsdDtpZXRmLWh0dHAtd2dAdzMub3JnJmd0Ozxicj4NCjxiPlN1YmplY3Q6PC9iPiBSZTog
QWx0LVN2YyB1c2FnZSBpbiBIVFRQIGZvcndhcmQgcHJveHkgaW1wbGVtZW50YXRpb25zPG86cD48
L286cD48L3NwYW4+PC9wPg0KPC9kaXY+DQo8L2Rpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxv
OnA+Jm5ic3A7PC9vOnA+PC9wPg0KPGRpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48
c3BhbiBzdHlsZT0iZm9udC1mYW1pbHk6JnF1b3Q7VHJlYnVjaGV0IE1TJnF1b3Q7LHNhbnMtc2Vy
aWYiPkZXSVcsIDxhIGhyZWY9Imh0dHBzOi8vY3MuY2hyb21pdW0ub3JnL2Nocm9taXVtL3NyYy9u
ZXQvaHR0cC9odHRwX3N0cmVhbV9mYWN0b3J5X2ltcGxfam9iX2NvbnRyb2xsZXIuY2M/cmNsPTM4
YWM0YzlhMzZmMjM3YmNkZGYxYWUxZTcyM2E3ZWUwMGM4NDFmNjQmYW1wO2w9OTQ2Ij4NCkNocm9t
ZSBvbmx5IGhvbm9ycyBBbHQtU3ZjIGZvciBIVFRQUyByZXF1ZXN0czwvYT4uIEZvcndhcmQgcHJv
eGllcyBhcmUsIGJhc2ljYWxseSwgb3V0IG9mIHRoZSBsb29wIGZvciBIVFRQUyBiZWNhdXNlIHRo
ZXkganVzdCB0dW5uZWwgdGhlIGJ5dGVzIG9mIHRoZSBDT05ORUNUIHJlcXVlc3QuIEFzIGEgcmVz
dWx0LCBBbHQtU3ZjIGRvZXMgbm90IHBsYXkgYSByb2xlIHdpdGggZm9yd2FyZCBwcm94aWVzIGlu
IENocm9tZS48bzpwPjwvbzpwPjwvc3Bhbj48L3A+DQo8L2Rpdj4NCjwvZGl2Pg0KPGRpdj4NCjxw
IGNsYXNzPSJNc29Ob3JtYWwiPjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0KPGRpdj4NCjxwIGNsYXNz
PSJNc29Ob3JtYWwiPk9uIFRodSwgTWF5IDExLCAyMDE3IGF0IDQ6MTUgQU0sIEx1Y2FzIFBhcmR1
ZSAmbHQ7PGEgaHJlZj0ibWFpbHRvOkx1Y2FzLlBhcmR1ZUBiYmMuY28udWsiIHRhcmdldD0iX2Js
YW5rIj5MdWNhcy5QYXJkdWVAYmJjLmNvLnVrPC9hPiZndDsgd3JvdGU6PG86cD48L286cD48L3A+
DQo8YmxvY2txdW90ZSBzdHlsZT0iYm9yZGVyOm5vbmU7Ym9yZGVyLWxlZnQ6c29saWQgI0NDQ0ND
QyAxLjBwdDtwYWRkaW5nOjBjbSAwY20gMGNtIDYuMHB0O21hcmdpbi1sZWZ0OjQuOHB0O21hcmdp
bi1yaWdodDowY20iPg0KPGRpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIiBzdHlsZT0i
bXNvLW1hcmdpbi10b3AtYWx0OmF1dG87bXNvLW1hcmdpbi1ib3R0b20tYWx0OmF1dG8iPkhlbGxv
LDxvOnA+PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCIgc3R5bGU9Im1zby1tYXJnaW4t
dG9wLWFsdDphdXRvO21zby1tYXJnaW4tYm90dG9tLWFsdDphdXRvIj4mbmJzcDs8bzpwPjwvbzpw
PjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiIHN0eWxlPSJtc28tbWFyZ2luLXRvcC1hbHQ6YXV0
bzttc28tbWFyZ2luLWJvdHRvbS1hbHQ6YXV0byI+SeKAmXZlIGJlZW4gZG9pbmcgc29tZSByZXNl
YXJjaCBvbiBBbHQtU3ZjIGFuZCBIVFRQIHByb3hpZXMuIFRoZXJlIGlzIGEgbG9hZCBvZiBwYXN0
IGRpc2N1c3Npb24gb24gdGhpcyB0aGF0IEkgZG8gbm90IHdhbnQgdG8gcmV0cmVhZCBvdmVyIChG
b3IgcmVmZXJlbmNlLCBJ4oCZdmUgaW5jbHVkZWQgbGlua3MgdG8gc29tZQ0KIHRocmVhZHMgSSBm
b3VuZCBpbnRlcmVzdGluZyBhdCB0aGUgZW5kIG9mIHRoZSBlbWFpbCksIHdoYXQgSeKAmW0gbW9y
ZSBpbnRlcmVzdGVkIGluIGlzIGhvdyBpbXBsZW1lbnRhdGlvbnMgaGF2ZSBjaG9zZW4gdG8gZG8g
dGhpbmdzLg0KPG86cD48L286cD48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIiBzdHlsZT0ibXNv
LW1hcmdpbi10b3AtYWx0OmF1dG87bXNvLW1hcmdpbi1ib3R0b20tYWx0OmF1dG8iPiZuYnNwOzxv
OnA+PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCIgc3R5bGU9Im1zby1tYXJnaW4tdG9w
LWFsdDphdXRvO21zby1tYXJnaW4tYm90dG9tLWFsdDphdXRvIj5XaGF0IEkgaGF2ZW7igJl0IGJl
ZW4gYWJsZSB0byBmaW5kIG11Y2ggaW5mb3JtYXRpb24gb24gaXMgd2hldGhlciB0aGVyZSBhcmUg
YW55IGZvcndhcmQgcHJveHkgaW1wbGVtZW50YXRpb25zIHRoYXQgbWFrZSB1c2Ugb2YgQWx0LVN2
YyBmb3IgdXBzdHJlYW0gcmVxdWVzdHMuIEkgd2FzIGhvcGluZyB0aGF0IHNvbWUNCiBvZiB0aGUg
V0cgbWlnaHQgYmUgYWJsZSB0byBwb2ludCBtZSBpbiB0aGUgcmlnaHQgZGlyZWN0aW9uIG9mIHNv
bWUgcHVibGlzaGVkIGRldGFpbHMsIG9yIHBlcmhhcHMgbWFrZSBhIGNvbW1lbnQgaW4gcmVwbHkg
dG8gdGhpcyB0aHJlYWQuPG86cD48L286cD48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIiBzdHls
ZT0ibXNvLW1hcmdpbi10b3AtYWx0OmF1dG87bXNvLW1hcmdpbi1ib3R0b20tYWx0OmF1dG8iPiZu
YnNwOzxvOnA+PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCIgc3R5bGU9Im1zby1tYXJn
aW4tdG9wLWFsdDphdXRvO21zby1tYXJnaW4tYm90dG9tLWFsdDphdXRvIj5LaW5kIHJlZ2FyZHM8
bzpwPjwvbzpwPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiIHN0eWxlPSJtc28tbWFyZ2luLXRv
cC1hbHQ6YXV0bzttc28tbWFyZ2luLWJvdHRvbS1hbHQ6YXV0byI+THVjYXM8bzpwPjwvbzpwPjwv
cD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiIHN0eWxlPSJtc28tbWFyZ2luLXRvcC1hbHQ6YXV0bztt
c28tbWFyZ2luLWJvdHRvbS1hbHQ6YXV0byI+Jm5ic3A7PG86cD48L286cD48L3A+DQo8cCBjbGFz
cz0iTXNvTm9ybWFsIiBzdHlsZT0ibXNvLW1hcmdpbi10b3AtYWx0OmF1dG87bXNvLW1hcmdpbi1i
b3R0b20tYWx0OmF1dG8iPiZuYnNwOzxvOnA+PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1h
bCIgc3R5bGU9Im1zby1tYXJnaW4tdG9wLWFsdDphdXRvO21zby1tYXJnaW4tYm90dG9tLWFsdDph
dXRvIj48dT5SZWZlcmVuY2VzPC91PjxvOnA+PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1h
bCIgc3R5bGU9Im1zby1tYXJnaW4tdG9wLWFsdDphdXRvO21zby1tYXJnaW4tYm90dG9tLWFsdDph
dXRvIj4mbmJzcDs8bzpwPjwvbzpwPjwvcD4NCjxwIGNsYXNzPSJtLTY2NTk3MjAwMDI4MDk1MTU5
MDdtc29wbGFpbnRleHQiIHN0eWxlPSJtYXJnaW4tbGVmdDozNi4wcHQiPjEuPHNwYW4gc3R5bGU9
ImZvbnQtc2l6ZTo3LjBwdCI+Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7DQo8
L3NwYW4+PGEgaHJlZj0iaHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbC1hcmNoaXZlL3dlYi9odHRw
YmlzYS9jdXJyZW50L21zZzI2Mzk3Lmh0bWwiIHRhcmdldD0iX2JsYW5rIj5hbHQtc3ZjIGFuZCBw
cm94aWVzPC9hPjxvOnA+PC9vOnA+PC9wPg0KPHAgY2xhc3M9Im0tNjY1OTcyMDAwMjgwOTUxNTkw
N21zb3BsYWludGV4dCIgc3R5bGU9Im1hcmdpbi1sZWZ0OjM2LjBwdCI+Mi48c3BhbiBzdHlsZT0i
Zm9udC1zaXplOjcuMHB0Ij4mbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsNCjwv
c3Bhbj48YSBocmVmPSJodHRwczovL2dpdGh1Yi5jb20vaHR0cDIvaHR0cDItc3BlYy9pc3N1ZXMv
NDYyIiB0YXJnZXQ9Il9ibGFuayI+SW50ZXJtZWRpYXJpZXMgYW5kIEFsdC1TdmM8L2E+PG86cD48
L286cD48L3A+DQo8cCBjbGFzcz0ibS02NjU5NzIwMDAyODA5NTE1OTA3bXNvcGxhaW50ZXh0IiBz
dHlsZT0ibWFyZ2luLWxlZnQ6MzYuMHB0Ij4zLjxzcGFuIHN0eWxlPSJmb250LXNpemU6Ny4wcHQi
PiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOw0KPC9zcGFuPjxhIGhyZWY9Imh0
dHBzOi8vbGlzdHMudzMub3JnL0FyY2hpdmVzL1B1YmxpYy9pZXRmLWh0dHAtd2cvMjAxNEphbk1h
ci8xMjkzLmh0bWwiIHRhcmdldD0iX2JsYW5rIj5BbHQtU3ZjIHJlbGF0ZWQgQ2hyb21pdW0gYnVn
IHJlcG9ydCAocHJveHkgcmVsYXRlZCk8L2E+PG86cD48L286cD48L3A+DQo8cCBjbGFzcz0ibS02
NjU5NzIwMDAyODA5NTE1OTA3bXNvcGxhaW50ZXh0IiBzdHlsZT0ibWFyZ2luLWxlZnQ6MzYuMHB0
Ij40LjxzcGFuIHN0eWxlPSJmb250LXNpemU6Ny4wcHQiPiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNw
OyZuYnNwOyZuYnNwOw0KPC9zcGFuPjxhIGhyZWY9Imh0dHBzOi8vd3d3LmlldGYub3JnL21haWwt
YXJjaGl2ZS93ZWIvaHR0cGJpc2EvY3VycmVudC9tc2cyNDc4MS5odG1sIiB0YXJnZXQ9Il9ibGFu
ayI+QWx0LVN2YyAmIzQzOyBQcm94eSBQYWM8L2E+PG86cD48L286cD48L3A+DQo8cCBjbGFzcz0i
bS02NjU5NzIwMDAyODA5NTE1OTA3bXNvcGxhaW50ZXh0IiBzdHlsZT0ibWFyZ2luLWxlZnQ6MzYu
MHB0Ij41LjxzcGFuIHN0eWxlPSJmb250LXNpemU6Ny4wcHQiPiZuYnNwOyZuYnNwOyZuYnNwOyZu
YnNwOyZuYnNwOyZuYnNwOw0KPC9zcGFuPjxhIGhyZWY9Imh0dHBzOi8vZ2l0aHViLmNvbS9xdWlj
d2cvYmFzZS1kcmFmdHMvaXNzdWVzLzI1MyIgdGFyZ2V0PSJfYmxhbmsiPkhUVFAvUVVJQyB3aXRo
b3V0IEFsdC1TdmM/PC9hPjxvOnA+PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCIgc3R5
bGU9Im1zby1tYXJnaW4tdG9wLWFsdDphdXRvO21zby1tYXJnaW4tYm90dG9tLWFsdDphdXRvIj4m
bmJzcDs8bzpwPjwvbzpwPjwvcD4NCjwvZGl2Pg0KPC9kaXY+DQo8L2Jsb2NrcXVvdGU+DQo8L2Rp
dj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0KPC9kaXY+DQo8
L2Rpdj4NCjwvZGl2Pg0KPHA+PC9wPg0KPHAgY2xhc3M9IjVlZTNhYWY2LTYyNjQtNDQ0MS1iMTg4
LTYxNjAyMzlmODQzMiI+Jm5ic3A7PC9wPg0KPHAgY2xhc3M9IjVlZTNhYWY2LTYyNjQtNDQ0MS1i
MTg4LTYxNjAyMzlmODQzMiI+LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLTxicj4NCjxmb250
IHNpemU9IjMiIGZhY2U9IlRpbWVzIE5ldyBSb21hbiI+PGZvbnQgc2l6ZT0iMyIgZmFjZT0iVGlt
ZXMgTmV3IFJvbWFuIj48Zm9udCBzaXplPSIzIiBmYWNlPSJUaW1lcyBOZXcgUm9tYW4iPjxicj4N
Cjxmb250IHNpemU9IjMiIGZhY2U9IlRpbWVzIE5ldyBSb21hbiI+PGEgaHJlZj0iaHR0cDovL3d3
dy5iYmMuY28udWsiIHRhcmdldD0iX2JsYW5rIj5odHRwOi8vd3d3LjxzcGFuIGNsYXNzPSJpbCI+
YmJjPC9zcGFuPi48c3BhbiBjbGFzcz0iaWwiPmNvPC9zcGFuPi48c3BhbiBjbGFzcz0iaWwiPnVr
PC9zcGFuPjwvYT48YnI+DQpUaGlzIGUtbWFpbCAoYW5kIGFueSBhdHRhY2htZW50cykgaXMgY29u
ZmlkZW50aWFsIGFuZCBtYXkgY29udGFpbiBwZXJzb25hbCB2aWV3cyB3aGljaCBhcmUgbm90IHRo
ZSB2aWV3cyBvZiB0aGUNCjxzcGFuIGNsYXNzPSJpbCI+QkJDPC9zcGFuPiB1bmxlc3Mgc3BlY2lm
aWNhbGx5IHN0YXRlZC48YnI+DQpJZiB5b3UgaGF2ZSByZWNlaXZlZCBpdCBpbiBlcnJvciwgcGxl
YXNlIGRlbGV0ZSBpdCBmcm9tIHlvdXIgc3lzdGVtLjxicj4NCkRvIG5vdCB1c2UsIGNvcHkgb3Ig
ZGlzY2xvc2UgdGhlIGluZm9ybWF0aW9uIGluIGFueSB3YXkgbm9yIGFjdCBpbiByZWxpYW5jZSBv
biBpdCBhbmQgbm90aWZ5IHRoZSBzZW5kZXIgaW1tZWRpYXRlbHkuPGJyPg0KUGxlYXNlIG5vdGUg
dGhhdCB0aGUgPHNwYW4gY2xhc3M9ImlsIj5CQkM8L3NwYW4+IG1vbml0b3JzIGUtbWFpbHMgc2Vu
dCBvciByZWNlaXZlZC48YnI+DQpGdXJ0aGVyIGNvbW11bmljYXRpb24gd2lsbCBzaWduaWZ5IHlv
dXIgY29uc2VudCB0byB0aGlzLjwvZm9udD48L2ZvbnQ+PC9mb250PjwvZm9udD48L3A+DQo8cCBj
bGFzcz0iNWVlM2FhZjYtNjI2NC00NDQxLWIxODgtNjE2MDIzOWY4NDMyIj4tLS0tLS0tLS0tLS0t
LS0tLS0tLS08L3A+DQo8L2JvZHk+DQo8L2h0bWw+DQo=

--_000_7CF7F94CB496BF4FAB1676F375F9666A3770E53Ebgb01xud1012_--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 07:13:35 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EA5E912EC24 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 07:13:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04ydpWGcK9eJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 07:13:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 063DE12EC1C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 07:07:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8ohO-0005go-I7 for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 14:04:10 +0000
Resent-Date: Thu, 11 May 2017 14:04:10 +0000
Resent-Message-Id: <E1d8ohO-0005go-I7@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <w@1wt.eu>) id 1d8ohG-0005e3-6n for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 14:04:02 +0000
Received: from wtarreau.pck.nerim.net ([62.212.114.60] helo=1wt.eu) by titan.w3.org with esmtp (Exim 4.84_2) (envelope-from <w@1wt.eu>) id 1d8ogf-00087F-1w for ietf-http-wg@w3.org; Thu, 11 May 2017 14:03:53 +0000
Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id v4BE2mBc013674; Thu, 11 May 2017 16:02:48 +0200
Date: Thu, 11 May 2017 16:02:48 +0200
From: Willy Tarreau <w@1wt.eu>
To: Stefan Eissing <stefan.eissing@greenbytes.de>
Cc: Kazuho Oku <kazuhooku@gmail.com>, Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Message-ID: <20170511140248.GC13597@1wt.eu>
References: <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CANatvzwKvWQA-EgmkUbC2SXNcm9Nw7f0vC4jxZeHWASEn_fUPw@mail.gmail.com> <37D885E7-8BEB-4685-816A-BC9CD61F2230@greenbytes.de> <20170511135151.GB13597@1wt.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20170511135151.GB13597@1wt.eu>
User-Agent: Mutt/1.6.1 (2016-04-27)
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-7.0
X-W3C-Hub-Spam-Report: AWL=0.943, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8ogf-00087F-1w 28de4292af8da819089147ce0fd70580
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/20170511140248.GC13597@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33910
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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, May 11, 2017 at 03:51:51PM +0200, Willy Tarreau wrote:
(...)
> Also in practice, 0-RTT will be effective at multiple places :
> 
>           0RTT      0RTT     clear/TLS+keep-alive
>   client  ----> CDN ----> LB ----> server
> 
> In this chain the CDN will not know whether 0RTT is valid or not for the
> client, and it will pass the request using 0RTT again to the origin's edge
> made of the load balancer which has no clue either about the validity of
> 0RTT here. Only the origin server will possibly know. But 0RTT will have
> been used twice in this diagram. We're in the exact situation where we
> want any agent in the chain to be able to say "4xx retry this please"
> so that the closest agent to the client does it first and saves a lot on
> RTT to fix the problem.

Another point is that given the problem here is to properly map HTTP
semantics on top of a potentially unsafe transport, I really think it
totally makes sense to use HTTP semantics (such as status codes) to
address it. It also means for example that clients will be able to
send POST requests (or those more than a few MSS) with Expect:100
letting the other end decide whether or not to return a 100 or a 4xx,
so for zero extra cost compared to the 1-RTT we can benefit from some
optimally safe opportunistic attempts to use 0-RTT most of the time
in a way where safety can be decided at the same place the action will
be taken.

Willy


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 07:31:15 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6B31F12FC15 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 07:31:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.401
X-Spam-Level:
X-Spam-Status: No, score=-6.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aJb5Com8RdJP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 07:31:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5286312F3CB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 07:24:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8oyS-00024S-Jg for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 14:21:48 +0000
Resent-Date: Thu, 11 May 2017 14:21:48 +0000
Resent-Message-Id: <E1d8oyS-00024S-Jg@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <nygren@gmail.com>) id 1d8oyO-00022x-R7 for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 14:21:44 +0000
Received: from mail-qk0-f177.google.com ([209.85.220.177]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <nygren@gmail.com>) id 1d8oyE-0000ic-Kw for ietf-http-wg@w3.org; Thu, 11 May 2017 14:21:39 +0000
Received: by mail-qk0-f177.google.com with SMTP id u75so23353113qka.3 for <ietf-http-wg@w3.org>; Thu, 11 May 2017 07:21:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=p44uM1V/y1cxYO11k6YOd9WjqeSrhUzWDoNKFriDddQ=; b=f2K5rc4hUquxZd3dagpPKR5ZzlRlP4AlI7hBfhSGYPd1QWRG2gNFCCIIHJH0LoZ1pK 653R+SnG+SoEn2+S+e73d5lVbgUxsKMx+8RcZaTiOao2OjwmOv1WvOgDzpscWw4nMPLp mck5W61P17zD9S5CaEWa0B9h21cO1I/sRy8jyQWZjwzA80gzGP509RqPpaX/UrU+VIrc a/pHcZPsG4MrwfPC70zzEYf9R2vCTtT5Des434sEvAA0MwV5Ek/1TDANP4BAIdl2yKGa 1NtBDCBAV1vLo5npOMaTJRDdKpKAh3XD/mYdXnXoN3V9wQ3rcki6pr1/ux195dVnMm07 EE1w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=p44uM1V/y1cxYO11k6YOd9WjqeSrhUzWDoNKFriDddQ=; b=QJLe3wpzLr4RyrkmqtybYow91dWI4KjKbT9tFgk+usgFPryGrK2TQ4ewuYIpnlugXL 5qTAUklVkTLKUA60LIQGeMxugssRf9nr+x4/WYF5aX/gCiN3HcDVNb+5gBwuEmcfYGN5 FUjmqUnCz3oux5L45fAmdgo+9adS0sNEoHWvRVaCmC4jvOuzE3HEUnKalIvVoytK5clr bH9tKOJyfo3BlgafveKZPzZj4n1jUjfaZB09bnWiKd8r2TyW2vBQTPeBDvBfN4JUfuBI kXnK/qBZGR90SGSTSlZUIbD1VT/xk0xy6sB5IwblKpFn9BOHesqwZgsc42IYYk+hzMVJ 4SXQ==
X-Gm-Message-State: AODbwcCvVe6aHMHFN4BH7doI+2iOp6/xf67BztLHJBQMdrPivwqd0G1O AVGc5hGy/2bPQk1Ed8LNDbovFlEjHA==
X-Received: by 10.55.19.93 with SMTP id d90mr641139qkh.181.1494512468460; Thu, 11 May 2017 07:21:08 -0700 (PDT)
MIME-Version: 1.0
Sender: nygren@gmail.com
Received: by 10.12.172.151 with HTTP; Thu, 11 May 2017 07:21:07 -0700 (PDT)
In-Reply-To: <20170511140248.GC13597@1wt.eu>
References: <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CANatvzwKvWQA-EgmkUbC2SXNcm9Nw7f0vC4jxZeHWASEn_fUPw@mail.gmail.com> <37D885E7-8BEB-4685-816A-BC9CD61F2230@greenbytes.de> <20170511135151.GB13597@1wt.eu> <20170511140248.GC13597@1wt.eu>
From: Erik Nygren <erik@nygren.org>
Date: Thu, 11 May 2017 10:21:07 -0400
X-Google-Sender-Auth: 9oTyQIJwiyL242RrdTIs2NYhSoQ
Message-ID: <CAKC-DJgoQfXas6P8omad=C9Fiv-WeKVawhs9TeYaY+9zntwN6w@mail.gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Stefan Eissing <stefan.eissing@greenbytes.de>, Kazuho Oku <kazuhooku@gmail.com>,  Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>,  "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Content-Type: multipart/alternative; boundary="001a114005becb8fad054f404cae"
Received-SPF: pass client-ip=209.85.220.177; envelope-from=nygren@gmail.com; helo=mail-qk0-f177.google.com
X-W3C-Hub-Spam-Status: No, score=-4.5
X-W3C-Hub-Spam-Report: AWL=-1.291, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8oyE-0000ic-Kw a81e4ce856e97fc3bcbdb0bbe0aa8599
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/CAKC-DJgoQfXas6P8omad=C9Fiv-WeKVawhs9TeYaY+9zntwN6w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33911
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--001a114005becb8fad054f404cae
Content-Type: text/plain; charset="UTF-8"

On Thu, May 11, 2017 at 10:02 AM, Willy Tarreau <w@1wt.eu> wrote:

>
> Another point is that given the problem here is to properly map HTTP
> semantics on top of a potentially unsafe transport, I really think it
> totally makes sense to use HTTP semantics (such as status codes) to
> address it. It also means for example that clients will be able to
> send POST requests (or those more than a few MSS) with Expect:100
> letting the other end decide whether or not to return a 100 or a 4xx,
> so for zero extra cost compared to the 1-RTT we can benefit from some
> optimally safe opportunistic attempts to use 0-RTT most of the time
> in a way where safety can be decided at the same place the action will
> be taken.


I agree we certainly will need an HTTP status code here and require
clients that implement sending 0-RTT early data to understand that status
code
before sending the early data.   (This may be one reason there's urgency to
specify
something soon before clients start implementing without a specification.)

I really like Kazuho's idea for HTTP/2 connections.  There may also be a way
for H2 proxies to translate between that and status codes.  (ie, if they
get the HTTP 4xx
status code from upstream they can make sure that an 1-RTT connection is
established
and verified, possibly sending an H2 PING to do so, before resending the
HTTP request
as "early data verified by 1RTT handshake".)

Note that all of this only works for providing safety against replay
if the decision on when to require 1-RTT is deterministic for a given
request.
For example, doing an H2 PING along with the server_hello and waiting for
its
response before processing the request only helps if this will always happen
for a given early_data request.  The early data can always be replayed so
just
because it gets verified by one full 1-RTT handshake doesn't mean that same
early data can't just get replayed without a 1-RTT handshake by an attacker
immediately afterwards.

       Erik

--001a114005becb8fad054f404cae
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On T=
hu, May 11, 2017 at 10:02 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><b=
lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le=
ft:1px solid rgb(204,204,204);padding-left:1ex"><span class=3D"gmail-"><br>
</span>Another point is that given the problem here is to properly map HTTP=
<br>
semantics on top of a potentially unsafe transport, I really think it<br>
totally makes sense to use HTTP semantics (such as status codes) to<br>
address it. It also means for example that clients will be able to<br>
send POST requests (or those more than a few MSS) with Expect:100<br>
letting the other end decide whether or not to return a 100 or a 4xx,<br>
so for zero extra cost compared to the 1-RTT we can benefit from some<br>
optimally safe opportunistic attempts to use 0-RTT most of the time<br>
in a way where safety can be decided at the same place the action will<br>
be taken.</blockquote><div><br></div><div>I agree we certainly will need an=
 HTTP status code here and require<br></div><div>clients that implement sen=
ding 0-RTT early data to understand that status code<br></div><div>before s=
ending the early data. =C2=A0 (This may be one reason there&#39;s urgency t=
o specify<br></div><div>something soon before clients start implementing wi=
thout a specification.)<br></div><div><br></div><div>I really like Kazuho&#=
39;s idea for HTTP/2 connections.=C2=A0 There may also be a way<br></div><d=
iv>for H2 proxies to translate between that and status codes.=C2=A0 (ie, if=
 they get the HTTP 4xx<br></div><div>status code from upstream they can mak=
e sure that an 1-RTT connection is established<br></div><div>and verified, =
possibly sending an H2 PING to do so, before resending the HTTP request<br>=
as &quot;early data verified by 1RTT handshake&quot;.)<br></div><div><br></=
div><div>Note that all of this only works for providing safety against repl=
ay<br></div><div>if the decision on when to require 1-RTT is deterministic =
for a given request.<br></div></div>For example, doing an H2 PING along wit=
h the server_hello and waiting for its<br></div><div class=3D"gmail_extra">=
response before processing the request only helps if this will always happe=
n<br></div><div class=3D"gmail_extra">for a given early_data request.=C2=A0=
 The early data can always be replayed so just<br></div><div class=3D"gmail=
_extra">because it gets verified by one full 1-RTT handshake doesn&#39;t me=
an that same<br></div><div class=3D"gmail_extra">early data can&#39;t just =
get replayed without a 1-RTT handshake by an attacker<br></div><div class=
=3D"gmail_extra">immediately afterwards.<br><br></div><div class=3D"gmail_e=
xtra">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Erik<br><br></div><div class=3D"=
gmail_extra"><br></div></div>

--001a114005becb8fad054f404cae--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 07:38:08 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5CB4E131472 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 07:38:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.502
X-Spam-Level:
X-Spam-Status: No, score=-6.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iUnfY900fSpA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 07:38:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8C24712FC15 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 07:31:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8p4p-0004HT-U9 for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 14:28:23 +0000
Resent-Date: Thu, 11 May 2017 14:28:23 +0000
Resent-Message-Id: <E1d8p4p-0004HT-U9@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <kazuhooku@gmail.com>) id 1d8p4m-0004Gd-Um for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 14:28:20 +0000
Received: from mail-pg0-f53.google.com ([74.125.83.53]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <kazuhooku@gmail.com>) id 1d8p4g-00013i-CG for ietf-http-wg@w3.org; Thu, 11 May 2017 14:28:15 +0000
Received: by mail-pg0-f53.google.com with SMTP id 64so15483430pgb.3 for <ietf-http-wg@w3.org>; Thu, 11 May 2017 07:27:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yoNGVTV708ICqbrg2b78vT9gON1UoQYN34vLN3moJN4=; b=uD1ne+YomKRRFOW3Lrdw+7DFb6TnOt+5pus0tH3kjOHrWy9hEdBxUl1JT9wDZYRZ9y VAZVtyzoqZzwMngjBMwjXnaNUE0EipymN8s4lRK6HxuE4FWSjegW5drNBFh9doEsNZyW yWoq3kgfc+kuPl7kFZtth0xc02h9E3bDkEFLNYuQOuQ00C5APdJz78H1sAToQbAST7Nu u/aNMGCom24mzgSl2uzVhUSrNpJc0ErbtO/Wyu2Ypwsgauo1Pv0ZTYTtnKMYOwM28jM7 h24IenzvTaW96ZrL70t/VFalVLEZGQupvpwPOVPxHlVicSWiWBrY9U6H59Zh4nFJGljx f0Tw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yoNGVTV708ICqbrg2b78vT9gON1UoQYN34vLN3moJN4=; b=NY50EpvV8WqnMAEUVCaPsGWuOPDYyPXWW/ku7tX+6KSxLjvao1F/bOaYZpjquCpHqS O7rCMudBnXPFMIWa+Ysa+tnus9WElTnwjpXNdXjhMppHLsxN+JylfZtHQrbQa7E9M+Rp iCotX/zqk0VLSH7ek6RiV1DHeddQOOs1Dafu1NJr9OauM/S+GeEfSFLFMNzVel5yla4n XfEItGdGnhq7CJt6ZWanCvd7NcQQ+uL25gGPxkpHssXazMVm5oRVyJiuN9I2xIkopwjd aCK9LMZdxAYaqE/G1SXKDWoKj7Jo8boA0qCnDBI8kfJYg1jC7CcdVzw0WYuspYTIR3JS AZcg==
X-Gm-Message-State: AODbwcC28QBIDz0bAbGKrZ9u8JOLwlsF9cPiVpI2ANm8J1+PX14rtNlD gMPR4fwKfwEhn/xaq7xb2JjQ4kekKA==
X-Received: by 10.99.113.6 with SMTP id m6mr640195pgc.188.1494512867321; Thu, 11 May 2017 07:27:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.135.79 with HTTP; Thu, 11 May 2017 07:27:46 -0700 (PDT)
In-Reply-To: <20170511135151.GB13597@1wt.eu>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CANatvzwKvWQA-EgmkUbC2SXNcm9Nw7f0vC4jxZeHWASEn_fUPw@mail.gmail.com> <37D885E7-8BEB-4685-816A-BC9CD61F2230@greenbytes.de> <20170511135151.GB13597@1wt.eu>
From: Kazuho Oku <kazuhooku@gmail.com>
Date: Thu, 11 May 2017 23:27:46 +0900
Message-ID: <CANatvzzCx3LemwjP51TWH3T6gvOW9WUzDSb7yYJVJdQ5otgbEA@mail.gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Stefan Eissing <stefan.eissing@greenbytes.de>, Mark Nottingham <mnot@mnot.net>,  Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>,  "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=74.125.83.53; envelope-from=kazuhooku@gmail.com; helo=mail-pg0-f53.google.com
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-0.614, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8p4g-00013i-CG d761d78fd0639167c106a659aae0757f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/CANatvzzCx3LemwjP51TWH3T6gvOW9WUzDSb7yYJVJdQ5otgbEA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33912
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

2017-05-11 22:51 GMT+09:00 Willy Tarreau <w@1wt.eu>:
> On Thu, May 11, 2017 at 01:46:10PM +0200, Stefan Eissing wrote:
>> >> The PING merely triggers the data transfer in case the client does not
>> >> send anything on its own, I assume.
>> >
>> > Yes. That is what I have been thinking. Thank you for clarifying that.
>>
>> Excellent, very nice thinking, Kazuho! This strategy really solves any
>> interop issues for origin servers. Nice.
>>
>> In case of proxies/intermediates, the case is different, I think.
>>
>> If a proxy receives 0-RTT data, it can only make direct use of it inside
>> upstream 0-RTT data on a new connection. If it sends 0-RTT data on an
>> established connection, the server cannot detect the replay weakness.
>>
>> A proxy, on forwarding 0-RTT data on an established connection, must first
>> verify the client handshake.
>
> It's even worse. Proxies/load balancers have to take routing decisions inline
> and immediately. It's not realistic to hold a request pending and want for
> some possibly subsequent TLS layer events while you're blocking at L7. I
> think we're adding quite a number of layering violations here unfortunately
> :-(
>
> In short when you receive this request that you know was transported over
> 0-RTT somewhere in the chain, you have to give a verdict : pass or reject.
> Also very often the TLS decapsulation is handled by a TLS offloader which
> is not HTTP-aware. The most HTTP aware ones are able to add a header
> before passing the request to the next layer, which is pretty similar to
> the load balancer situation. But clearly the origin server can have multiple
> layers of intermediaries between it and the client.

It is true that TLS 1.3 introduces two class of data: 0-RTT and 1-RTT.
Applications need to distinguish between the two if they are willing
to handle 0-RTT data.

I believe that 0-RTT data is a nice feature of TLS 1.3, and would not
like to see its use constrained by how some deployments are designed.

That said, I would argue that TLS offloaders are already sending
metadata (e.g., the cipher suite being used) to the backend server,
and that it could possibly be extended so that the applications
running behind the offloaders can distinguish between 0-RTT and 1-RTT
data.

One simple method (but likely to be effective way) of sending such
metadata would be to advertise a small 0-RTT window (e.g., one or two
MTUs) from the TLS offloader, and if client uses 0-RTT data, postpone
establishing the connection from the TLS offloader to the backend
until the offloader receives all the 0-RTT data (actually, I believe
that there is high chance that you would be receiving 0-RTT data while
doing Diffie-Hellman operations to resume the connection). Once all
the 0-RTT data are received, the offloader will connect to the
backend, send a chunk of metadata including the selected cipher suite
_and_ the amount of 0-RTT application data that would follow the
metadata.

> Also in practice, 0-RTT will be effective at multiple places :
>
>           0RTT      0RTT     clear/TLS+keep-alive
>   client  ----> CDN ----> LB ----> server
>
> In this chain the CDN will not know whether 0RTT is valid or not for the
> client, and it will pass the request using 0RTT again to the origin's edge
> made of the load balancer which has no clue either about the validity of
> 0RTT here. Only the origin server will possibly know. But 0RTT will have
> been used twice in this diagram. We're in the exact situation where we
> want any agent in the chain to be able to say "4xx retry this please"
> so that the closest agent to the client does it first and saves a lot on
> RTT to fix the problem.

My view is that this is an issue behind origin and that it should be
handled as such, instead creating a profile that requires a user-agent
to resend a HTTP request. I am not against defining how servers
running behind the origin should resend the requests (for better
interoperability).

> Willy



-- 
Kazuho Oku


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 07:41:51 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B20271314B8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 07:41:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.791
X-Spam-Level:
X-Spam-Status: No, score=-3.791 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EhfWY7hvyeIE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 07:41:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5586C12ECA2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 07:34:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8p8e-00025k-QN for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 14:32:20 +0000
Resent-Date: Thu, 11 May 2017 14:32:20 +0000
Resent-Message-Id: <E1d8p8e-00025k-QN@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <wesley.olis@gmail.com>) id 1d8p8a-00020F-20 for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 14:32:16 +0000
Received: from mail-qt0-f170.google.com ([209.85.216.170]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <wesley.olis@gmail.com>) id 1d8p8R-0007ZB-Nz for ietf-http-wg@w3.org; Thu, 11 May 2017 14:32:10 +0000
Received: by mail-qt0-f170.google.com with SMTP id v27so6127609qtg.2 for <ietf-http-wg@w3.org>; Thu, 11 May 2017 07:31:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=WDgLRCgUKVbM0CH8UtjreAiXndWcG1xYrwlbzQV4SYo=; b=gAwUJg06lZ48OvyrygAMw5OYo1pRdfMU1IMaLWzg3vWwp3s3k0pzFLHRnuw5iiWHng zP1I7KKumSRtFdAXwEaVuj5Ij2jv+N8OUylCzhFOzDdE/AAdDvUUilClXpOFWuL2UqHn yWCmX6lItm+l8IYZH82AzyRgw1XwbzpM0XVnEcWv00GRBz10LGMTz41FMbH1/E1HzTnb INpRSXhhRBycwmM6uRem34u1K+yosY4CW4pWTCfw5Qlv1N6PEKGp7sCUx5AaTwyE/vEk +z/Em5CqwiGO4JkBVFYBElND1YW9DcvRvR4CP315fEvNCQiIqhbN6hF2XFs5Ba1zFKYH 6Orw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WDgLRCgUKVbM0CH8UtjreAiXndWcG1xYrwlbzQV4SYo=; b=thz3c7NsRLpAoyOpHxruy2sWOtrzE04E+RrZS/aJadC3mB/NJHD1gDQoHdLi7SzdVn ahCz/T7chsM3Bf9Fi3OkKxyJpv5WVCZazLbo4Kt20erhOBVqkWNGkCsscVDib6S6Y5wM I5zONozzM0otprdarnMCvYKoCnjE1qkDV4ezM+ylJ/jloGaalca1UWgclJ2HYOtC4OzF bvOUNw6idr1Zw7iuBhKEugLUEYqSwWlsraXqjR9pn1YZpGfMHmXd/azWmgbC/dCzhZH3 fG8J3PLzf0S6fuahzMFSB0IVj89LWh3yVKqdCzIPsJbOVL3zDTPf+3B9OQA1a2nvB3/M aKqA==
X-Gm-Message-State: AODbwcDWs//fotZ87GgK0Cxqcg/ifm1xHe636LadL/ajDFpcpea7rfUn 4Ac9y3GhkIvwqHXoUVPNKk7Kd8xIOgc2
X-Received: by 10.237.34.113 with SMTP id o46mr775971qtc.292.1494513101105; Thu, 11 May 2017 07:31:41 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.132.229 with HTTP; Thu, 11 May 2017 07:31:40 -0700 (PDT)
From: Wesley Oliver <wesley.olis@gmail.com>
Date: Thu, 11 May 2017 16:31:40 +0200
Message-ID: <CACvHZ2ZVrn-uPp9GwOHNNXEnnMYMS0KUs+B11xwP3i5WdVP=Ng@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="001a113e30bc80f2e1054f40727f"
Received-SPF: pass client-ip=209.85.216.170; envelope-from=wesley.olis@gmail.com; helo=mail-qt0-f170.google.com
X-W3C-Hub-Spam-Status: No, score=-1.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, W3C_AA=-1, W3C_DB=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d8p8R-0007ZB-Nz c282cce5db71454573eb6713ff0716fc
X-Original-To: ietf-http-wg@w3.org
Subject: 2017-05-11- Internet Protocol sub QoS Packet Prioritization for  Multiplexing Streams (Http-Quick)
Archived-At: <http://www.w3.org/mid/CACvHZ2ZVrn-uPp9GwOHNNXEnnMYMS0KUs+B11xwP3i5WdVP=Ng@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33913
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--001a113e30bc80f2e1054f40727f
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi,

I would like to get this idea out in the wild, it is a high level concept
on looking were and how one can improve and get around the limitations of
bufferbloat and TCP/IP-congestion window problems.
As of current I understand that this is architecture limitation which we
can't improve past with out implement new IP layer functionality to go
forward with.

I would like to still submit this to the Internet Protocol working group,
as the title suggests it is not just limited to the quick-http protocol.

Kind Regards,

Wesley Oliver

https://docs.google.com/document/d/1kjL7R46GMITykS8T61Nv83CX2zsFz4zjxV51WoM=
QXp8/edit

Internet Protocol sub QoS Packet Prioritization for Multiplexing Streams
(Http-Quick)

to address the issues of bufferbloat and TCP Congestion window.

https://datatracker.ietf.org/doc/rfc7540/?include_text=3D1

Abstract

The HTTP Application level communication protocol that runs on top of the
TCP/IP or UDP/IP transit layer has been given a lot of attention by google
in an attempt to improve the speed at which web pages load and increase the
efficiency of the bandwidth usage.  These core improvement concepts have
been included and form the base of http 2.0. Google has also started
working on quick, which runs http 2.0 protocol over UDP to address session
issues of TCP associated with mobile device were their ip address
continually is changing and a new TCP/IP session needs be negotiated, which
would slow down add additional overhead to page loads and interactive
communication like websockets.

This document attempts to tackle bufferbloat and tcp congestion window,
which hampers change the packet ordering while in transit. New packets
can=E2=80=99t be prioritized over already transmitted ones that are in tran=
sit,
such that they reached the endpoint before lower prioritized packets.

Sub QoS packet prioritization protocol in transit.

At each node in the network, packets with higher priority will be fast
forwarded to the front of the que to be retransmitted to the next node,
routers will be free to go crazy into how they implement this behaviour to
make it as efficient as possible.

If this node doesn=E2=80=99t have enough memory to buffer higher prioritize=
d
packets, then it can drop a packet or multiple packets and transmit a
resource constrained packet with their sequence numbers, a range  of
sequence numbers back to the source. Those packets will then have to be
retransmitted. This would be new functionality in the extended IP layer,
The details of which would have to be investigated.

This resource constrained packet which contains IP network level packet
numbers would require them to be correlated back to transport layer packet
numbers. Which would require a callback interface from the IP layer,
publish the IP packet number for each change of the sub Qos prioritization
change to an application or transport layer buffer/callback. Such that the
transport layer or application layer could retransmitted the packet.

Typically a new factor would develop for connections that would be adjusted
dependent on the link quality and bandwidth and size of buffers, which
would once again control, how many packets can be in transit at a time, as
to reduce the number packets that node/routers will be dropping, as this
would once again degrade performance, but is the only way to open the door
to such we can future improve dependent resource multiplexing.

Implementation

Their are typically two implementation that are required for this
improvement to be realised one for ipv4 and the other ipv6. Each would add
a header byte to the IP payload respective which will act as a sub Qos
Packet prioritization for packet routing/forwarding.

Ipv4

In Ipv4 the proposal is to implement a new IP protocol versions number, to
identify this enhanced IP protocol without adding any extra overhead to
processing. The protocol will remain identical to the original, except that
the first byte in the payload of the packet will be the packet priority.
Which routes can now read and sub Qos reprioritize their packets.

Ipv6

In Ipv6 the proposal is to implement an extension protocol that adds this
additional priority byte for packets, with constraint that the extension
protocol must always come after QoS extension protocol.

Language and Library usage

Traditionally a high level protocol such as quick, TCP, UDP will run a top
of the IP layer in which the change to support this new feature will occur.
In most these protocols one will write their payload into a buffer, which
will then be package up from Transport Layer into IP packets.

The details of implementation of source code implementation and specific
buffers is not know,

So this discussion will take a slight high level theoretical approach until
getting into the network stack code to solve the problem.

The IP layer will have to expose an extension hook for the interface, which
must allow any high level application to write to a buffer a byte offset
and priority but, that the ip level, will later assemble together with the
Transport layer level protocol.

How to achieve this because the Transport layer protocol will end up
padding the application buffer, from which the offset taken for IP level.
Which would cause the the ip level buffer to have different offset, which
would not correlate.

One could do a machine learning process, where by x number of packets are
sent, assuming TCP protocol headers size is constant, to learn the how much
buffering their is. After which could just correct for the fixed offset
while interlacing the two buffer streams. This does require a warm up
period so one would experience degraded performance, except for persistent
connections, however, only could look at attempting to implement a cache
for the application initiating the connections.

Assuming that there is not a lot of pipeline and buffer of TCP/IP buffer
into the IP packets. In other words for each set of payload bytes that TCP
will encode it will directly call into the IP layer and not put on a buffer
to be process, where that next function will then encode it at IP level. In
other words for each IP packet placed on the buffer to be flush over the
wire, only one and exactly only one TCP payload will be read off the TCP
buffer.
In this case we can look to have the IP layer, compare the prioritization
buffer offset with that of the current TCP ( Application buffer) current
reposition, such correctly pair them.

If all of the previous methods for pairing fail, then the only way for this
to gain tractions would be for each transport layer protocol to implement a
prioritization buffer and correct the offsets for its headers and trails
and then write the correct offset to the ip layer buffers.

This would mean that we would have to wait a lot longer for every other
protocol to support the improve transport layer protocols opposed to be
able to immediately taking advantage of IP layer improvement.

Alternatives consider:

Hacking TCP protocol is possible it has space, but would serious violate
how the protocol was to work, due to the TCP reassembly of packet ordering
which would require modification to not block higher prioritized packets.
No would really appreciate this either and it is not simple.

UDP would be a lot easier as it could be implemented in the Google's quick
version of the protocol. It would overcome the TCP congestion window issues
and blocking behaviour of the protocol, nevertheless, it would not solve
the low level hard route buffer problems, As route would have to be upgrade
with detail support of quick datagram inspection, which would result in a
lot of work and over kill, which very few vendors would be will to free
implement firmware updates for.

Conclusion

Addressing this problem at the appropriate level of the network stack in
this case the IP layer (Network), would be the right solution, as it would
require the smallest changes at lower level of technicality to routing
device by each vendor.



--=20
--=20
Web Site that I have developed:
http://www.swimdynamics.co.za


Skype: wezley_oliver
MSN messenger: wesley.olis@gmail.com

--001a113e30bc80f2e1054f40727f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>I would like to get this idea out i=
n the wild, it is a high level concept on looking were and how one can impr=
ove and get around the limitations of bufferbloat and TCP/IP-congestion win=
dow problems.</div><div>As of current I understand that this is architectur=
e limitation which we can&#39;t improve past with out implement new IP laye=
r functionality to go forward with.</div><div><br></div><div>I would like t=
o still submit this to the Internet Protocol working group, as the title su=
ggests it is not just limited to the quick-http protocol.</div><div><br></d=
iv><div>Kind Regards,</div><div><br></div><div>Wesley Oliver</div><div><br>=
</div><div><a href=3D"https://docs.google.com/document/d/1kjL7R46GMITykS8T6=
1Nv83CX2zsFz4zjxV51WoMQXp8/edit">https://docs.google.com/document/d/1kjL7R4=
6GMITykS8T61Nv83CX2zsFz4zjxV51WoMQXp8/edit</a><br></div><div><br></div><div=
><span id=3D"gmail-docs-internal-guid-1d760b77-f7ec-0bfb-23c7-9d9ba32bd4ed"=
><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt;=
text-align:center"><span style=3D"font-size:11pt;font-family:arial;color:rg=
b(0,0,0);background-color:transparent;font-weight:700;vertical-align:baseli=
ne;white-space:pre-wrap">Internet Protocol sub QoS Packet Prioritization fo=
r Multiplexing Streams (Http-Quick)</span></p><p dir=3D"ltr" style=3D"line-=
height:1.38;margin-top:0pt;margin-bottom:0pt;text-align:center"><span style=
=3D"font-size:11pt;font-family:arial;color:rgb(0,0,0);background-color:tran=
sparent;font-weight:700;vertical-align:baseline;white-space:pre-wrap">to ad=
dress the issues of bufferbloat and TCP Congestion window.</span></p><p dir=
=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><a hre=
f=3D"https://datatracker.ietf.org/doc/rfc7540/?include_text=3D1" style=3D"t=
ext-decoration-line:none"><span style=3D"font-size:14pt;font-family:arial;b=
ackground-color:transparent;font-weight:700;text-decoration-line:underline;=
vertical-align:baseline;white-space:pre-wrap">https://datatracker.ietf.org/=
doc/rfc7540/?include_text=3D1</span></a></p><p dir=3D"ltr" style=3D"line-he=
ight:1.38;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;f=
ont-family:arial;color:rgb(0,0,0);background-color:transparent;font-weight:=
700;vertical-align:baseline;white-space:pre-wrap">Abstract</span></p><br><p=
 dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><s=
pan style=3D"font-size:11pt;font-family:arial;color:rgb(0,0,0);background-c=
olor:transparent;vertical-align:baseline;white-space:pre-wrap">The HTTP App=
lication level communication protocol that runs on top of the TCP/IP or UDP=
/IP transit layer has been given a lot of attention by google in an attempt=
 to improve the speed at which web pages load and increase the efficiency o=
f the bandwidth usage.=C2=A0 These core improvement concepts have been incl=
uded and form the base of http 2.0. Google has also started working on quic=
k, which runs http 2.0 protocol over UDP to address session issues of TCP a=
ssociated with mobile device were their ip address continually is changing =
and a new TCP/IP session needs be negotiated, which would slow down add add=
itional overhead to page loads and interactive communication like websocket=
s.</span></p><br><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;ma=
rgin-bottom:0pt"><span style=3D"font-size:11pt;font-family:arial;color:rgb(=
0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre=
-wrap">This document attempts to tackle bufferbloat and tcp congestion wind=
ow, which hampers change the packet ordering while in transit. New packets =
can=E2=80=99t be prioritized over already transmitted ones that are in tran=
sit, such that they reached the endpoint before lower prioritized packets.<=
/span></p><br><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margi=
n-bottom:0pt"><span style=3D"font-size:11pt;font-family:arial;color:rgb(0,0=
,0);background-color:transparent;font-weight:700;vertical-align:baseline;wh=
ite-space:pre-wrap">Sub QoS packet prioritization protocol in transit.</spa=
n></p><br><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bo=
ttom:0pt"><span style=3D"font-size:11pt;font-family:arial;color:rgb(0,0,0);=
background-color:transparent;vertical-align:baseline;white-space:pre-wrap">=
At each node in the network, packets with higher priority will be fast forw=
arded to the front of the que to be retransmitted to the next node, routers=
 will be free to go crazy into how they implement this behaviour to make it=
 as efficient as possible.</span></p><br><p dir=3D"ltr" style=3D"line-heigh=
t:1.38;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font=
-family:arial;color:rgb(0,0,0);background-color:transparent;vertical-align:=
baseline;white-space:pre-wrap">If this node doesn=E2=80=99t have enough mem=
ory to buffer higher prioritized packets, then it can drop a packet or mult=
iple packets and transmit a resource constrained packet with their sequence=
 numbers, a range =C2=A0of sequence numbers back to the source. Those packe=
ts will then have to be retransmitted. This would be new functionality in t=
he extended IP layer, The details of which would have to be investigated.</=
span></p><br><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin=
-bottom:0pt"><span style=3D"font-size:11pt;font-family:arial;color:rgb(0,0,=
0);background-color:transparent;vertical-align:baseline;white-space:pre-wra=
p">This resource constrained packet which contains IP network level packet =
numbers would require them to be correlated back to transport layer packet =
numbers. Which would require a callback interface from the IP layer, publis=
h the IP packet number for each change of the sub Qos prioritization change=
 to an application or transport layer buffer/callback. Such that the transp=
ort layer or application layer could retransmitted the packet.</span></p><b=
r><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt=
"><span style=3D"font-size:11pt;font-family:arial;color:rgb(0,0,0);backgrou=
nd-color:transparent;vertical-align:baseline;white-space:pre-wrap">Typicall=
y a new factor would develop for connections that would be adjusted depende=
nt on the link quality and bandwidth and size of buffers, which would once =
again control, how many packets can be in transit at a time, as to reduce t=
he number packets that node/routers will be dropping, as this would once ag=
ain degrade performance, but is the only way to open the door to such we ca=
n future improve dependent resource multiplexing.</span><span style=3D"font=
-size:11pt;font-family:arial;color:rgb(0,0,0);background-color:transparent;=
font-weight:700;vertical-align:baseline;white-space:pre-wrap">=0C</span></p=
><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"=
><span style=3D"font-size:11pt;font-family:arial;color:rgb(0,0,0);backgroun=
d-color:transparent;font-weight:700;vertical-align:baseline;white-space:pre=
-wrap">Implementation</span></p><br><p dir=3D"ltr" style=3D"line-height:1.3=
8;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-fami=
ly:arial;color:rgb(0,0,0);background-color:transparent;vertical-align:basel=
ine;white-space:pre-wrap">Their are typically two implementation that are r=
equired for this improvement to be realised one for ipv4 and the other ipv6=
. Each would add a header byte to the IP payload respective which will act =
as a sub Qos Packet prioritization for packet routing/forwarding.</span></p=
><br><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:=
0pt"><span style=3D"font-size:11pt;font-family:arial;color:rgb(0,0,0);backg=
round-color:transparent;font-weight:700;vertical-align:baseline;white-space=
:pre-wrap">Ipv4</span></p><br><p dir=3D"ltr" style=3D"line-height:1.38;marg=
in-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:ari=
al;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;wh=
ite-space:pre-wrap">In Ipv4 the proposal is to implement a new IP protocol =
versions number, to identify this enhanced IP protocol without adding any e=
xtra overhead to processing. The protocol will remain identical to the orig=
inal, except that the first byte in the payload of the packet will be the p=
acket priority.=C2=A0 Which routes can now read and sub Qos reprioritize th=
eir packets.</span></p><br><p dir=3D"ltr" style=3D"line-height:1.38;margin-=
top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:arial;=
color:rgb(0,0,0);background-color:transparent;font-weight:700;vertical-alig=
n:baseline;white-space:pre-wrap">Ipv6</span></p><br><p dir=3D"ltr" style=3D=
"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-siz=
e:11pt;font-family:arial;color:rgb(0,0,0);background-color:transparent;vert=
ical-align:baseline;white-space:pre-wrap">In Ipv6 the proposal is to implem=
ent an extension protocol that adds this additional priority byte for packe=
ts, with constraint that the extension protocol must always come after QoS =
extension protocol.</span></p><br><p dir=3D"ltr" style=3D"line-height:1.38;=
margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family=
:arial;color:rgb(0,0,0);background-color:transparent;font-weight:700;vertic=
al-align:baseline;white-space:pre-wrap">Language and Library usage</span></=
p><br><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom=
:0pt"><span style=3D"font-size:11pt;font-family:arial;color:rgb(0,0,0);back=
ground-color:transparent;vertical-align:baseline;white-space:pre-wrap">Trad=
itionally a high level protocol such as quick, TCP, UDP will run a top of t=
he IP layer in which the change to support this new feature will occur. In =
most these protocols one will write their payload into a buffer, which will=
 then be package up from Transport Layer into IP packets.</span></p><p dir=
=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span =
style=3D"font-size:11pt;font-family:arial;color:rgb(0,0,0);background-color=
:transparent;vertical-align:baseline;white-space:pre-wrap">The details of i=
mplementation of source code implementation and specific buffers is not kno=
w,</span></p><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin=
-bottom:0pt"><span style=3D"font-size:11pt;font-family:arial;color:rgb(0,0,=
0);background-color:transparent;vertical-align:baseline;white-space:pre-wra=
p">So this discussion will take a slight high level theoretical approach un=
til getting into the network stack code to solve the problem.</span></p><br=
><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"=
><span style=3D"font-size:11pt;font-family:arial;color:rgb(0,0,0);backgroun=
d-color:transparent;vertical-align:baseline;white-space:pre-wrap">The IP la=
yer will have to expose an extension hook for the interface, which must all=
ow any high level application to write to a buffer a byte offset and priori=
ty but, that the ip level, will later assemble together with the Transport =
layer level protocol.</span></p><br><p dir=3D"ltr" style=3D"line-height:1.3=
8;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-fami=
ly:arial;color:rgb(0,0,0);background-color:transparent;vertical-align:basel=
ine;white-space:pre-wrap">How to achieve this because the Transport layer p=
rotocol will end up padding the application buffer, from which the offset t=
aken for IP level. Which would cause the the ip level buffer to have differ=
ent offset, which would not correlate.</span></p><br><p dir=3D"ltr" style=
=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-=
size:11pt;font-family:arial;color:rgb(0,0,0);background-color:transparent;v=
ertical-align:baseline;white-space:pre-wrap">One could do a machine learnin=
g process, where by x number of packets are sent, assuming TCP protocol hea=
ders size is constant, to learn the how much buffering their is. After whic=
h could just correct for the fixed offset while interlacing the two buffer =
streams. This does require a warm up period so one would experience degrade=
d performance, except for persistent connections, however, only could look =
at attempting to implement a cache for the application initiating the conne=
ctions.</span></p><br><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0=
pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:arial;color=
:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-spac=
e:pre-wrap">Assuming that there is not a lot of pipeline and buffer of TCP/=
IP buffer into the IP packets. In other words for each set of payload bytes=
 that TCP will encode it will directly call into the IP layer and not put o=
n a buffer to be process, where that next function will then encode it at I=
P level. In other words for each IP packet placed on the buffer to be flush=
 over the wire, only one and exactly only one TCP payload will be read off =
the TCP buffer.</span><span style=3D"font-size:11pt;font-family:arial;color=
:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-spac=
e:pre-wrap"><br class=3D"gmail-kix-line-break"></span><span style=3D"font-s=
ize:11pt;font-family:arial;color:rgb(0,0,0);background-color:transparent;ve=
rtical-align:baseline;white-space:pre-wrap">In this case we can look to hav=
e the IP layer, compare the prioritization buffer offset with that of the c=
urrent TCP ( Application buffer) current reposition, such correctly pair th=
em.</span></p><br><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;m=
argin-bottom:0pt"><span style=3D"font-size:11pt;font-family:arial;color:rgb=
(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pr=
e-wrap">If all of the previous methods for pairing fail, then the only way =
for this to gain tractions would be for each transport layer protocol to im=
plement a prioritization buffer and correct the offsets for its headers and=
 trails and then write the correct offset to the ip layer buffers.</span></=
p><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt=
"><span style=3D"font-size:11pt;font-family:arial;color:rgb(0,0,0);backgrou=
nd-color:transparent;vertical-align:baseline;white-space:pre-wrap">This wou=
ld mean that we would have to wait a lot longer for every other protocol to=
 support the improve transport layer protocols opposed to be able to immedi=
ately taking advantage of IP layer improvement.</span></p><br><p dir=3D"ltr=
" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style=
=3D"font-size:11pt;font-family:arial;color:rgb(0,0,0);background-color:tran=
sparent;font-weight:700;vertical-align:baseline;white-space:pre-wrap">Alter=
natives consider:</span></p><br><p dir=3D"ltr" style=3D"line-height:1.38;ma=
rgin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:a=
rial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;=
white-space:pre-wrap">Hacking TCP protocol is possible it has space, but wo=
uld serious violate how the protocol was to work, due to the TCP reassembly=
 of packet ordering which would require modification to not block higher pr=
ioritized packets. No would really appreciate this either and it is not sim=
ple.</span></p><br><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;=
margin-bottom:0pt"><span style=3D"font-size:11pt;font-family:arial;color:rg=
b(0,0,0);background-color:transparent;vertical-align:baseline;white-space:p=
re-wrap">UDP would be a lot easier as it could be implemented in the Google=
&#39;s quick version of the protocol. It would overcome the TCP congestion =
window issues and blocking behaviour of the protocol, nevertheless, it woul=
d not solve the low level hard route buffer problems, As route would have t=
o be upgrade with detail support of quick datagram inspection, which would =
result in a lot of work and over kill, which very few vendors would be will=
 to free implement firmware updates for.</span></p><br><p dir=3D"ltr" style=
=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-=
size:11pt;font-family:arial;color:rgb(0,0,0);background-color:transparent;f=
ont-weight:700;vertical-align:baseline;white-space:pre-wrap">Conclusion</sp=
an></p><br><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-b=
ottom:0pt"><span style=3D"font-size:11pt;font-family:arial;color:rgb(0,0,0)=
;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"=
>Addressing this problem at the appropriate level of the network stack in t=
his case the IP layer (Network), would be the right solution, as it would r=
equire the smallest changes at lower level of technicality to routing devic=
e by each vendor.</span></p><br><br></span></div><div><div><br></div>-- <br=
><div class=3D"gmail_signature">-- <br>Web Site that I have developed:<br><=
a href=3D"http://www.swimdynamics.co.za" target=3D"_blank">http://www.swimd=
ynamics.co.za</a><br><br><br>Skype: wezley_oliver<br>MSN messenger: <a href=
=3D"mailto:wesley.olis@gmail.com" target=3D"_blank">wesley.olis@gmail.com</=
a></div>
</div></div>

--001a113e30bc80f2e1054f40727f--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 07:48:33 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D77561293D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 07:48:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RKuG22uRibIU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 07:48:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4502812EC42 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 07:41:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8pF6-0005m1-C0 for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 14:39:00 +0000
Resent-Date: Thu, 11 May 2017 14:39:00 +0000
Resent-Message-Id: <E1d8pF6-0005m1-C0@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <w@1wt.eu>) id 1d8pF3-0005lA-N3 for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 14:38:57 +0000
Received: from wtarreau.pck.nerim.net ([62.212.114.60] helo=1wt.eu) by titan.w3.org with esmtp (Exim 4.84_2) (envelope-from <w@1wt.eu>) id 1d8pEx-0001W2-7V for ietf-http-wg@w3.org; Thu, 11 May 2017 14:38:52 +0000
Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id v4BEcMio013713; Thu, 11 May 2017 16:38:22 +0200
Date: Thu, 11 May 2017 16:38:22 +0200
From: Willy Tarreau <w@1wt.eu>
To: Erik Nygren <erik@nygren.org>
Cc: Stefan Eissing <stefan.eissing@greenbytes.de>, Kazuho Oku <kazuhooku@gmail.com>, Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Message-ID: <20170511143822.GE13597@1wt.eu>
References: <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CANatvzwKvWQA-EgmkUbC2SXNcm9Nw7f0vC4jxZeHWASEn_fUPw@mail.gmail.com> <37D885E7-8BEB-4685-816A-BC9CD61F2230@greenbytes.de> <20170511135151.GB13597@1wt.eu> <20170511140248.GC13597@1wt.eu> <CAKC-DJgoQfXas6P8omad=C9Fiv-WeKVawhs9TeYaY+9zntwN6w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAKC-DJgoQfXas6P8omad=C9Fiv-WeKVawhs9TeYaY+9zntwN6w@mail.gmail.com>
User-Agent: Mutt/1.6.1 (2016-04-27)
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-7.0
X-W3C-Hub-Spam-Report: AWL=0.941, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8pEx-0001W2-7V 5b4f5f53d1c0ebfab6f26e69049dfad0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/20170511143822.GE13597@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33914
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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, May 11, 2017 at 10:21:07AM -0400, Erik Nygren wrote:
> I agree we certainly will need an HTTP status code here and require
> clients that implement sending 0-RTT early data to understand that status
> code
> before sending the early data.   (This may be one reason there's urgency to
> specify
> something soon before clients start implementing without a specification.)

Yes definitely!

> I really like Kazuho's idea for HTTP/2 connections.  There may also be a way
> for H2 proxies to translate between that and status codes.  (ie, if they
> get the HTTP 4xx
> status code from upstream they can make sure that an 1-RTT connection is
> established
> and verified, possibly sending an H2 PING to do so, before resending the
> HTTP request
> as "early data verified by 1RTT handshake".)

For me the H2 ping is mainly a challenge on the connection, equivalent
the RTT achieved by Expect+100 do. On a protocol point of view that's
fine. But I hardly see how to make this thing pass over multiple layers.
You want to validate end-to-end (or at least more than hop-by-hop) and
the ping will only act to the next hop, while the problem caused by
the client and detected by the origin across the LB is still not solved.

> Note that all of this only works for providing safety against replay
> if the decision on when to require 1-RTT is deterministic for a given
> request.

That's why the status code makes it possible to go as far as we want.

Ideally I'd prefer a new Expect: + 100. But that's not doable without
a body. It would look like this :

  client                             server
  ------                             ------
  POST /some-url HTTP/1.1
  Host: some-host
  Expect: replay-safe
                                     HTTP/1.1 418 unsafe try again
                                 or
                                     HTTP/1.1 100 continue
  ... body ...

On 2.0 we possibly have other options like sending a window update
or priority frame (just thinking), but none of these would easily
address the end-to-end nature of what we want to validate :-/

> For example, doing an H2 PING along with the server_hello and waiting for
> its
> response before processing the request only helps if this will always happen
> for a given early_data request.  The early data can always be replayed so
> just
> because it gets verified by one full 1-RTT handshake doesn't mean that same
> early data can't just get replayed without a 1-RTT handshake by an attacker
> immediately afterwards.

One more reason for asking the client to retransmit everything we decided
is not trusted.

Willy


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 08:01:56 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1CB72131465 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 08:01:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IO73T-X1WHpP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 08:01:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BEDD7126FB3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 07:55:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8pRv-0007xD-9f for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 14:52:15 +0000
Resent-Date: Thu, 11 May 2017 14:52:15 +0000
Resent-Message-Id: <E1d8pRv-0007xD-9f@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <w@1wt.eu>) id 1d8pRr-0007wS-OM for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 14:52:11 +0000
Received: from wtarreau.pck.nerim.net ([62.212.114.60] helo=1wt.eu) by titan.w3.org with esmtp (Exim 4.84_2) (envelope-from <w@1wt.eu>) id 1d8pRl-0002Fy-1R for ietf-http-wg@w3.org; Thu, 11 May 2017 14:52:06 +0000
Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id v4BEp3KS013725; Thu, 11 May 2017 16:51:03 +0200
Date: Thu, 11 May 2017 16:51:03 +0200
From: Willy Tarreau <w@1wt.eu>
To: Kazuho Oku <kazuhooku@gmail.com>
Cc: Stefan Eissing <stefan.eissing@greenbytes.de>, Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Message-ID: <20170511145103.GF13597@1wt.eu>
References: <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CANatvzwKvWQA-EgmkUbC2SXNcm9Nw7f0vC4jxZeHWASEn_fUPw@mail.gmail.com> <37D885E7-8BEB-4685-816A-BC9CD61F2230@greenbytes.de> <20170511135151.GB13597@1wt.eu> <CANatvzzCx3LemwjP51TWH3T6gvOW9WUzDSb7yYJVJdQ5otgbEA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANatvzzCx3LemwjP51TWH3T6gvOW9WUzDSb7yYJVJdQ5otgbEA@mail.gmail.com>
User-Agent: Mutt/1.6.1 (2016-04-27)
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-7.0
X-W3C-Hub-Spam-Report: AWL=0.939, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8pRl-0002Fy-1R fd1337efa9f2134e673ae2190112d28c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/20170511145103.GF13597@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33915
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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, May 11, 2017 at 11:27:46PM +0900, Kazuho Oku wrote:
> I believe that 0-RTT data is a nice feature of TLS 1.3, and would not
> like to see its use constrained by how some deployments are designed.

Don't get me wrong, I think so as well and would like to be able to
enable it. But I don't want to give my users a totally unsafe thing
that they have no control over. What I know for sure is that most of
our users have no idea on the load balancer about the safety of the
requests they're forwarding to their hosted applications. Some of
them may apply some heuristics like block POSTs or whatever but as
mentionned by Erik its not enough and too much at the same time.

> That said, I would argue that TLS offloaders are already sending
> metadata (e.g., the cipher suite being used) to the backend server,
> and that it could possibly be extended so that the applications
> running behind the offloaders can distinguish between 0-RTT and 1-RTT
> data.

Yes, which is why I want to pass this info so that the server sends
the signal back :-) In short I'm *willing* to make it possible for
hosting providers to offer 0-RTT to customers who request based on
their explicit demand for it after they understand the impacts, but
not by default to everyone.

> One simple method (but likely to be effective way) of sending such
> metadata would be to advertise a small 0-RTT window (e.g., one or two
> MTUs) from the TLS offloader, and if client uses 0-RTT data, postpone
> establishing the connection from the TLS offloader to the backend
> until the offloader receives all the 0-RTT data (actually, I believe
> that there is high chance that you would be receiving 0-RTT data while
> doing Diffie-Hellman operations to resume the connection). Once all
> the 0-RTT data are received, the offloader will connect to the
> backend, send a chunk of metadata including the selected cipher suite
> _and_ the amount of 0-RTT application data that would follow the
> metadata.

I may be missing something obvious to you but I don't see how that
fixes the problem.

What we do in haproxy is that we always wait for a full, perfectly
valid request before passing it. Once we have it, we apply some
policy rules based on multiple L7 criteria (host header, URI,
cookies, headers, you name it) and decide where to send it, or
to redirect or to reject it. So we already wait for these data.

But my understanding of 0-RTT is that we can receive a replayed
request which will match all of this entirely. So it's not a matter
of length. What I'd want instead is to ensure that at the moment I
pass it to the server I can tell the server "received over 0-RTT"
or "received over 1-RTT", and the server be able to take the
appropriate decision.

> > Also in practice, 0-RTT will be effective at multiple places :
> >
> >           0RTT      0RTT     clear/TLS+keep-alive
> >   client  ----> CDN ----> LB ----> server
> >
> > In this chain the CDN will not know whether 0RTT is valid or not for the
> > client, and it will pass the request using 0RTT again to the origin's edge
> > made of the load balancer which has no clue either about the validity of
> > 0RTT here. Only the origin server will possibly know. But 0RTT will have
> > been used twice in this diagram. We're in the exact situation where we
> > want any agent in the chain to be able to say "4xx retry this please"
> > so that the closest agent to the client does it first and saves a lot on
> > RTT to fix the problem.
> 
> My view is that this is an issue behind origin and that it should be
> handled as such, instead creating a profile that requires a user-agent
> to resend a HTTP request.

But in terms of applications, what does it mean to you to "handle it as
such" ? The application receives an "OK" validation for a sensitive operation
over 0-RTT, it cannot realistically ask the user "Please your OK was
received over an unsafe channel, would you please confirm again ?".
We need to provide a way for the server to validate the contents one way
or another

> I am not against defining how servers
> running behind the origin should resend the requests (for better
> interoperability).

That's all I'm asking for :-)

Willy


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 08:40:45 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8C3C712EC03 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 08:40:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.002
X-Spam-Level:
X-Spam-Status: No, score=-7.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FSsesG_T3mTx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 08:40:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0D7A412EBD2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 08:34:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8q3P-0001lp-1E for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 15:30:59 +0000
Resent-Date: Thu, 11 May 2017 15:30:59 +0000
Resent-Message-Id: <E1d8q3P-0001lp-1E@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <kazuhooku@gmail.com>) id 1d8q3K-0001kj-9a for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 15:30:54 +0000
Received: from mail-pg0-f42.google.com ([74.125.83.42]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <kazuhooku@gmail.com>) id 1d8q3C-0001rn-EM for ietf-http-wg@w3.org; Thu, 11 May 2017 15:30:48 +0000
Received: by mail-pg0-f42.google.com with SMTP id u187so16334875pgb.0 for <ietf-http-wg@w3.org>; Thu, 11 May 2017 08:30:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=oJR2FYm+uh7gmoI6BnFs/eU0guB5u5hQKe5YfPZl95E=; b=uziDlQ3uLuahYylWZ26SBjGU3xNxrtS52xoVGCxpheqZ33wGgudW7qudCWz6KowFjf mre+gPPTH6/3ZDXxnd2Zctm1/JFNGVKbuoBDH5aHFLrYFtXwJlNADtVLPsTzSDiTQn5Q bDaXYjFlthBS2QWSDnfNbYPcMswZLY1N3dZFaF2C1BJ12Cuo3KZ1CZqCY7FAkINVuaYB GTPIpyjmYHsLIl0x0xbRe3qjZV8QfKsEpeYGX/zDxMzIxBiaGQKvkHTVSc534HPjIWrC CbVtnKuvqsYagjUs2dj97DqG7WsYLPnHsfOsewWhJ0Nw12bDGhIDXszbXiGyckeW41Da RDFQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=oJR2FYm+uh7gmoI6BnFs/eU0guB5u5hQKe5YfPZl95E=; b=qdjrKZy9+el6Z1uRO7Fmez2O+j1KeHuYXe7EvlHZWsvgT2EoAs5NbjG46v+LOoJ3yN B6YSoed1Y/YKcwU+yk25Tz7z4q9FaMJqx0ENnEeejJNsxZISZBTYjw2UOvncl7KJFS3W yY0Uo0J8KT0IGov5HCmr6xQLWPq9Mk5CO+UtGO2JvdFXFlTnjhc2yXmo2l1kUJIY7Dhu fNH2RqXBYDEEPgZLva1eqjcFLw3dOTIfrD7xDGj057FDqayzB/+8e9+txk0ubihfArQW 9KfYbrNkcwG+KxwwRXI6Vut+XUwhsDsUkXue9oZKVRMm7fkyhUKnJADmL1+8qkgLZupJ b16A==
X-Gm-Message-State: AODbwcBgIt/bKv8dWmQ24/Qz0Eqi0wAQU53aUVJiK1Km3acr0NihKn7y tqIXzlM75MRuKScP1OTQMBzhhA276g==
X-Received: by 10.98.14.13 with SMTP id w13mr1002332pfi.59.1494516618922; Thu, 11 May 2017 08:30:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.135.79 with HTTP; Thu, 11 May 2017 08:30:18 -0700 (PDT)
In-Reply-To: <20170511145103.GF13597@1wt.eu>
References: <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CANatvzwKvWQA-EgmkUbC2SXNcm9Nw7f0vC4jxZeHWASEn_fUPw@mail.gmail.com> <37D885E7-8BEB-4685-816A-BC9CD61F2230@greenbytes.de> <20170511135151.GB13597@1wt.eu> <CANatvzzCx3LemwjP51TWH3T6gvOW9WUzDSb7yYJVJdQ5otgbEA@mail.gmail.com> <20170511145103.GF13597@1wt.eu>
From: Kazuho Oku <kazuhooku@gmail.com>
Date: Fri, 12 May 2017 00:30:18 +0900
Message-ID: <CANatvzw9zeVfQMBCXGhakFomL2MaTqFNF65jKWHCDXQQ8rxcTA@mail.gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Stefan Eissing <stefan.eissing@greenbytes.de>, Mark Nottingham <mnot@mnot.net>,  Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>,  "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=74.125.83.42; envelope-from=kazuhooku@gmail.com; helo=mail-pg0-f42.google.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-0.372, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d8q3C-0001rn-EM 6938b6d55be19d92a8e519766e620f70
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/CANatvzw9zeVfQMBCXGhakFomL2MaTqFNF65jKWHCDXQQ8rxcTA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33916
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

2017-05-11 23:51 GMT+09:00 Willy Tarreau <w@1wt.eu>:
> On Thu, May 11, 2017 at 11:27:46PM +0900, Kazuho Oku wrote:
>> I believe that 0-RTT data is a nice feature of TLS 1.3, and would not
>> like to see its use constrained by how some deployments are designed.
>
> Don't get me wrong, I think so as well and would like to be able to
> enable it. But I don't want to give my users a totally unsafe thing
> that they have no control over. What I know for sure is that most of
> our users have no idea on the load balancer about the safety of the
> requests they're forwarding to their hosted applications. Some of
> them may apply some heuristics like block POSTs or whatever but as
> mentionned by Erik its not enough and too much at the same time.
>
>> That said, I would argue that TLS offloaders are already sending
>> metadata (e.g., the cipher suite being used) to the backend server,
>> and that it could possibly be extended so that the applications
>> running behind the offloaders can distinguish between 0-RTT and 1-RTT
>> data.
>
> Yes, which is why I want to pass this info so that the server sends
> the signal back :-) In short I'm *willing* to make it possible for
> hosting providers to offer 0-RTT to customers who request based on
> their explicit demand for it after they understand the impacts, but
> not by default to everyone.
>
>> One simple method (but likely to be effective way) of sending such
>> metadata would be to advertise a small 0-RTT window (e.g., one or two
>> MTUs) from the TLS offloader, and if client uses 0-RTT data, postpone
>> establishing the connection from the TLS offloader to the backend
>> until the offloader receives all the 0-RTT data (actually, I believe
>> that there is high chance that you would be receiving 0-RTT data while
>> doing Diffie-Hellman operations to resume the connection). Once all
>> the 0-RTT data are received, the offloader will connect to the
>> backend, send a chunk of metadata including the selected cipher suite
>> _and_ the amount of 0-RTT application data that would follow the
>> metadata.
>
> I may be missing something obvious to you but I don't see how that
> fixes the problem.

The kind of the deployment I was considering was one that deploys a
TLS terminator that just decrypts the data and sends to backend (i.e.
TLS to TCP, not an HTTP reverse proxy). My idea was that you could add
a new field to the Proxy Protocol that indicates the amount of 0-RTT
data that follows the header of the PROXY Protocol.

> What we do in haproxy is that we always wait for a full, perfectly
> valid request before passing it. Once we have it, we apply some
> policy rules based on multiple L7 criteria (host header, URI,
> cookies, headers, you name it) and decide where to send it, or
> to redirect or to reject it. So we already wait for these data.
>
> But my understanding of 0-RTT is that we can receive a replayed
> request which will match all of this entirely. So it's not a matter
> of length. What I'd want instead is to ensure that at the moment I
> pass it to the server I can tell the server "received over 0-RTT"
> or "received over 1-RTT", and the server be able to take the
> appropriate decision.
>
>> > Also in practice, 0-RTT will be effective at multiple places :
>> >
>> >           0RTT      0RTT     clear/TLS+keep-alive
>> >   client  ----> CDN ----> LB ----> server
>> >
>> > In this chain the CDN will not know whether 0RTT is valid or not for the
>> > client, and it will pass the request using 0RTT again to the origin's edge
>> > made of the load balancer which has no clue either about the validity of
>> > 0RTT here. Only the origin server will possibly know. But 0RTT will have
>> > been used twice in this diagram. We're in the exact situation where we
>> > want any agent in the chain to be able to say "4xx retry this please"
>> > so that the closest agent to the client does it first and saves a lot on
>> > RTT to fix the problem.
>>
>> My view is that this is an issue behind origin and that it should be
>> handled as such, instead creating a profile that requires a user-agent
>> to resend a HTTP request.
>
> But in terms of applications, what does it mean to you to "handle it as
> such" ? The application receives an "OK" validation for a sensitive operation
> over 0-RTT, it cannot realistically ask the user "Please your OK was
> received over an unsafe channel, would you please confirm again ?".
> We need to provide a way for the server to validate the contents one way
> or another

What I am arguing against is creating a specification that suggests an
user agent (not an intermediary) to resend HTTP request on a 0-RTT
enabled TLS connection. 0-RTT is an optimization for connections with
big latency. Such connections typically cost certain amount of money.
Asking the user agent to resend a HTTP request that has been sent over
a 0-RTT connection not only eliminates the merits provided by 0-RTT
but also doubles the consumed bandwidth. That does not sound right to
me. I think the right advise we should provide for such case is: turn
off 0-RTT.

Between the origin and the application server, I think that we can and
also need to resend HTTP requests. The cost of the network is
typically lower than the connection to the end user. Connections
between the two can be kept alive for much longer time to avoid the
overhead of connection establishment. And as you have discussed, the
act of coalescing incoming requests from multiple connections
inevitably means that we need to notify the application server if each
HTTP request has been received entirely by 0-RTT by using a HTTP
header (hence resend becomes unavoidable).

>> I am not against defining how servers
>> running behind the origin should resend the requests (for better
>> interoperability).
>
> That's all I'm asking for :-)
>
> Willy



-- 
Kazuho Oku


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 09:34:57 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 431A71300CF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 09:34:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r1nh_Yh17eWY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 09:34:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0565F131445 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 09:29:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8quj-0004xi-AK for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 16:26:05 +0000
Resent-Date: Thu, 11 May 2017 16:26:05 +0000
Resent-Message-Id: <E1d8quj-0004xi-AK@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <w@1wt.eu>) id 1d8quf-0004wK-JS for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 16:26:01 +0000
Received: from wtarreau.pck.nerim.net ([62.212.114.60] helo=1wt.eu) by titan.w3.org with esmtp (Exim 4.84_2) (envelope-from <w@1wt.eu>) id 1d8quY-0006AP-Je for ietf-http-wg@w3.org; Thu, 11 May 2017 16:25:56 +0000
Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id v4BGPLvC013835; Thu, 11 May 2017 18:25:21 +0200
Date: Thu, 11 May 2017 18:25:21 +0200
From: Willy Tarreau <w@1wt.eu>
To: Kazuho Oku <kazuhooku@gmail.com>
Cc: Stefan Eissing <stefan.eissing@greenbytes.de>, Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Message-ID: <20170511162521.GH13597@1wt.eu>
References: <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CANatvzwKvWQA-EgmkUbC2SXNcm9Nw7f0vC4jxZeHWASEn_fUPw@mail.gmail.com> <37D885E7-8BEB-4685-816A-BC9CD61F2230@greenbytes.de> <20170511135151.GB13597@1wt.eu> <CANatvzzCx3LemwjP51TWH3T6gvOW9WUzDSb7yYJVJdQ5otgbEA@mail.gmail.com> <20170511145103.GF13597@1wt.eu> <CANatvzw9zeVfQMBCXGhakFomL2MaTqFNF65jKWHCDXQQ8rxcTA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANatvzw9zeVfQMBCXGhakFomL2MaTqFNF65jKWHCDXQQ8rxcTA@mail.gmail.com>
User-Agent: Mutt/1.6.1 (2016-04-27)
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-7.0
X-W3C-Hub-Spam-Report: AWL=0.938, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8quY-0006AP-Je 93f1e762ba74385b6482d589518a9ffb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/20170511162521.GH13597@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33917
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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, May 12, 2017 at 12:30:18AM +0900, Kazuho Oku wrote:
> > I may be missing something obvious to you but I don't see how that
> > fixes the problem.
> 
> The kind of the deployment I was considering was one that deploys a
> TLS terminator that just decrypts the data and sends to backend (i.e.
> TLS to TCP, not an HTTP reverse proxy). My idea was that you could add
> a new field to the Proxy Protocol that indicates the amount of 0-RTT
> data that follows the header of the PROXY Protocol.

OK I got it now. However that would be very wrong from an HTTP point
of view as we'd be passing byte counts of header data, which everyone
transforms along the chain so that's not relevant anymore when it reaches
the application (which has no such notion by the way since it accesses
its headers from an array).

> > What we do in haproxy is that we always wait for a full, perfectly
> > valid request before passing it. Once we have it, we apply some
> > policy rules based on multiple L7 criteria (host header, URI,
> > cookies, headers, you name it) and decide where to send it, or
> > to redirect or to reject it. So we already wait for these data.
> >
> > But my understanding of 0-RTT is that we can receive a replayed
> > request which will match all of this entirely. So it's not a matter
> > of length. What I'd want instead is to ensure that at the moment I
> > pass it to the server I can tell the server "received over 0-RTT"
> > or "received over 1-RTT", and the server be able to take the
> > appropriate decision.
> >
> >> > Also in practice, 0-RTT will be effective at multiple places :
> >> >
> >> >           0RTT      0RTT     clear/TLS+keep-alive
> >> >   client  ----> CDN ----> LB ----> server
> >> >
> >> > In this chain the CDN will not know whether 0RTT is valid or not for the
> >> > client, and it will pass the request using 0RTT again to the origin's edge
> >> > made of the load balancer which has no clue either about the validity of
> >> > 0RTT here. Only the origin server will possibly know. But 0RTT will have
> >> > been used twice in this diagram. We're in the exact situation where we
> >> > want any agent in the chain to be able to say "4xx retry this please"
> >> > so that the closest agent to the client does it first and saves a lot on
> >> > RTT to fix the problem.
> >>
> >> My view is that this is an issue behind origin and that it should be
> >> handled as such, instead creating a profile that requires a user-agent
> >> to resend a HTTP request.
> >
> > But in terms of applications, what does it mean to you to "handle it as
> > such" ? The application receives an "OK" validation for a sensitive operation
> > over 0-RTT, it cannot realistically ask the user "Please your OK was
> > received over an unsafe channel, would you please confirm again ?".
> > We need to provide a way for the server to validate the contents one way
> > or another
> 
> What I am arguing against is creating a specification that suggests an
> user agent (not an intermediary) to resend HTTP request on a 0-RTT
> enabled TLS connection. 0-RTT is an optimization for connections with
> big latency. Such connections typically cost certain amount of money.
> Asking the user agent to resend a HTTP request that has been sent over
> a 0-RTT connection not only eliminates the merits provided by 0-RTT
> but also doubles the consumed bandwidth. That does not sound right to
> me. I think the right advise we should provide for such case is: turn
> off 0-RTT.

In fact here I disagree. It doesn't eliminate this if it happens rarely
and allows the client to aggressively make use of 0-RTT because it knows
that if that's not accepted it will work. It's better than having the
client censor itself saying "this is a POST, it's not reasonable". If
the server consumes mostly POSTs and 90% of them are idempotent, the
client will benefit from 90% 0-RTT and 10% retries instead of 100%
1-RTT, which overall is still a win.

Also the server response could provide hints regarding what is allowed
or not. It may reply "0-RTT: {never,non-post,get,not-this-one}" etc so
that the client can better adapt to ensure there are very few retries.

I'd rather avoid to reproduce the HTTP/1 pipelining trouble we've all
met, by seeing a powerful performance improvement almost always disabled
because there's no way to recover from a failure.

> Between the origin and the application server, I think that we can and
> also need to resend HTTP requests. The cost of the network is
> typically lower than the connection to the end user.

But it's also where it's the hardest because that's where you'd start
to have to buffer everything in order to retry, which very often is
not technically feasible, or requires limiting receipt to what can
be retransmitted, and sending congestion back to the client side
while waiting for the server's acceptance.

> Connections
> between the two can be kept alive for much longer time to avoid the
> overhead of connection establishment. And as you have discussed, the
> act of coalescing incoming requests from multiple connections
> inevitably means that we need to notify the application server if each
> HTTP request has been received entirely by 0-RTT by using a HTTP
> header (hence resend becomes unavoidable).

Absolutely.

Willy


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 10:25:26 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8298F129B97 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 10:25:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EB6-0IYEX1cm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 10:25:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7C754129C2A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 10:19:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8rhP-00056L-4k for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 17:16:23 +0000
Resent-Date: Thu, 11 May 2017 17:16:23 +0000
Resent-Message-Id: <E1d8rhP-00056L-4k@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <ilariliusvaara@welho.com>) id 1d8rhK-000549-Qt for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 17:16:18 +0000
Received: from welho-filter3.welho.com ([83.102.41.25]) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <ilariliusvaara@welho.com>) id 1d8rhD-0005o2-IM for ietf-http-wg@w3.org; Thu, 11 May 2017 17:16:13 +0000
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id B038C21E94; Thu, 11 May 2017 20:15:43 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id ODyp0MehzEGX; Thu, 11 May 2017 20:15:43 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id 77BC12313; Thu, 11 May 2017 20:15:43 +0300 (EEST)
Date: Thu, 11 May 2017 20:15:42 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Message-ID: <20170511171542.GA28767@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20170511053315.GA10978@1wt.eu>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Received-SPF: none client-ip=83.102.41.25; envelope-from=ilariliusvaara@welho.com; helo=welho-filter3.welho.com
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: AWL=1.000, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d8rhD-0005o2-IM 9638ba12993727a848c96003bf6cf8cd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/20170511171542.GA28767@LK-Perkele-V2.elisa-laajakaista.fi>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33918
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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, May 11, 2017 at 07:33:15AM +0200, Willy Tarreau wrote:
> Hi Mark,
> 
> On Thu, May 11, 2017 at 10:23:12AM +1000, Mark Nottingham wrote:
> > If an origin doesn't have robust retry/replay protection in place for
> > non-idempotent requests, it seems operationally simpler and safer for them to
> > disable 0RT, rather than refusing it on a request-by-request basis. That's
> > the discussion I think we should have here...
> 
> That's exactly the situation I'm facing for now with haproxy. A few
> users have asked us to support 0RTT and by lack of way to 1) decide
> which requests are really safe, and 2) tell the client it must replay
> them using 1RTT, for now I refused to enable it. The load balancer
> and the origin server will have a different view of the acceptability
> of 0RTT, and all the chain must be able to accept or reject them, and
> let the client retry.
> 
> I tend to think that a 4xx status code would make sense and would be
> useful to pass the verdict back to the client. For example we could
> return "418 not idempotent".

Reading the cryptographer's concerns regarding 0-RTT, the main ones
seem to be:

- Possible lack of strong anti-replay. Possibly leading to >10^6 (!!!)
  replays. 
  * This is enough to exploit pretty subtle side-channel attacks. And
    these attacks are at least extremely difficult to defend against.
  * This causes severe problems for high-performance rate-limiting
    systems.
- Even one replay messing up "try, wait, readback, retry" clients.
  * These clients try to write an entry, if it fails, wait, try to
    read the entry, and if not there, retry.
- Unordered replay: The server gets the 0-RTT request client deemed
  "failed" after the client's retry.
  * The retry is likely 1-RTT!
- Replaying requests to different cache nodes in order to leak
  information about what was requested
  * Prime cache using replayed requests.
  * Probe cache using known requests.



-Ilari


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 17:02:16 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 87D43129B16 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 17:02:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.502
X-Spam-Level:
X-Spam-Status: No, score=-6.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VSRo5CGR6hwT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 17:02:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A5E21129BAF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 16:58:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d8xuG-0007Xn-DT for ietf-http-wg-dist@listhub.w3.org; Thu, 11 May 2017 23:54:04 +0000
Resent-Date: Thu, 11 May 2017 23:54:04 +0000
Resent-Message-Id: <E1d8xuG-0007Xn-DT@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1d8xu5-0007WU-5l for ietf-http-wg@listhub.w3.org; Thu, 11 May 2017 23:53:53 +0000
Received: from mail-wm0-f53.google.com ([74.125.82.53]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <martin.thomson@gmail.com>) id 1d8xty-0003bN-UO for ietf-http-wg@w3.org; Thu, 11 May 2017 23:53:47 +0000
Received: by mail-wm0-f53.google.com with SMTP id b84so3832750wmh.0 for <ietf-http-wg@w3.org>; Thu, 11 May 2017 16:53:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=e8mGiT1fwaWZ5F8Et6QBtf8rQc/00ttcYlzCAS2yMx8=; b=qcWFfaT4+gdEthVMUGRlplmqwgKhAp5X4NLvyecbQ3f66Pn76XO3RJLtv8LBa0l9V0 idb0jfpq1rjP+VKfjlBk38HCioCoKCFTfqVIlOcNUlfrQjMJuD3mWVUNTpoe3jjXVcLi 2jBhj205F5ESm0Q8jlovVJTV2wD/U801iTYGcMdrYLiqdNI0ohPqXFLIft3Ema6JJe3b GMRdjqtDcYBDkjiev5CJk+64AY5eeNwyKPPuz9tNBSLV3Yubfhstg5b5nMIS4t0fpNKD K1rvC9y49mgozQGK7j3YtLfPdNGWVo1mNx3A7bN3Bzaa5d2DG8vlY2MmOM5iy/LTY1wH T7Bg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=e8mGiT1fwaWZ5F8Et6QBtf8rQc/00ttcYlzCAS2yMx8=; b=IB93yW/aBBIHkNi5gnJCeb2ytXemQkCDr2M7s0cHpziKxD2jYrWZXu1FTL6Mc9fRTU z17kwn/HhlrfQCrV+3VggL/0dtfOSheVbIJqpmMFkJll326ptfLPHrXfzwn7YW6zlf8C ZnILbTiiLLaD6hXGW2JJXYlljYyT1YpWF8Vr+h4XIMlSEqX60ROMEOot6gr2SPbJG4Kx Ctyy9DVegeniaWpxfPFuQKl8hPBMsKxKtRsrCvFeIC7x+FP2eu1DZGhGANiKSQSdj0kO QUXsmfggrCayJiltkcKxHmr5d9oRG6tbCtY6Cj6UOnNplXRXKhtBcI4nYN02pacq6mWp KczQ==
X-Gm-Message-State: AODbwcBfvYBVtD4k8FavXK9xBLnfx3K2PdgnYN/tEWhZ8+8qTCkhvYhA PhYIk4KNoMz6ShY2ODg/bSIH+yqIYg==
X-Received: by 10.25.158.147 with SMTP id h141mr317991lfe.130.1494546800262; Thu, 11 May 2017 16:53:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.83.2 with HTTP; Thu, 11 May 2017 16:53:19 -0700 (PDT)
In-Reply-To: <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Fri, 12 May 2017 09:53:19 +1000
Message-ID: <CABkgnnW1iVa1Ko53qJ_Xjay0rfVC6saA3eAvoGea5u-42hmRKQ@mail.gmail.com>
To: Stefan Eissing <stefan.eissing@greenbytes.de>
Cc: Kazuho Oku <kazuhooku@gmail.com>, Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>,  Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>,  "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=74.125.82.53; envelope-from=martin.thomson@gmail.com; helo=mail-wm0-f53.google.com
X-W3C-Hub-Spam-Status: No, score=-5.9
X-W3C-Hub-Spam-Report: AWL=-0.383, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d8xty-0003bN-UO 3a2757fd43316bf10312b03a6c977b2b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/CABkgnnW1iVa1Ko53qJ_Xjay0rfVC6saA3eAvoGea5u-42hmRKQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33919
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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 May 2017 at 21:37, Stefan Eissing <stefan.eissing@greenbytes.de> wrote:
> Ok, so when the server sees the first non-0-RTT byte from the client, the
> handshake was accepted and the 0-RTT data can be regarded as genuine.

This is basically what Cloudflare have deployed.  They hold some
requests until the handshake finishes.  Some requests are forwarded
(GET, OPTIONS, and HEAD are probably fine), but they are marked as
being potentially replayed.

What Cloudflare's solution misses (for obvious reasons) is a signal
from the origin that the 0-RTT request can be retried.  h2 has that
signal: RST_STREAM+REFUSED_STREAM
<http://httpwg.org/specs/rfc7540.html#REFUSED_STREAM>, but HTTP
doesn't in the general case.

It's almost like 1-RTT in terms of performance, but with the small
optimization you get from being able to use the first RTT to send data
to the gateway.

(As for Willy's concern, maybe consider the request "incomplete" until
the handshake completes, even if it is not.)


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 22:38:04 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E4B3012708C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 22:38:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LTY_-afEUEnv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 22:38:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2C416129C3B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 22:32:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d938L-0002vy-FZ for ietf-http-wg-dist@listhub.w3.org; Fri, 12 May 2017 05:28:57 +0000
Resent-Date: Fri, 12 May 2017 05:28:57 +0000
Resent-Message-Id: <E1d938L-0002vy-FZ@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <w@1wt.eu>) id 1d938G-0002v2-4H for ietf-http-wg@listhub.w3.org; Fri, 12 May 2017 05:28:52 +0000
Received: from wtarreau.pck.nerim.net ([62.212.114.60] helo=1wt.eu) by titan.w3.org with esmtp (Exim 4.84_2) (envelope-from <w@1wt.eu>) id 1d9389-0005Bj-Oi for ietf-http-wg@w3.org; Fri, 12 May 2017 05:28:46 +0000
Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id v4C5SEJ1014739; Fri, 12 May 2017 07:28:14 +0200
Date: Fri, 12 May 2017 07:28:14 +0200
From: Willy Tarreau <w@1wt.eu>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Stefan Eissing <stefan.eissing@greenbytes.de>, Kazuho Oku <kazuhooku@gmail.com>, Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Message-ID: <20170512052814.GB14701@1wt.eu>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CABkgnnW1iVa1Ko53qJ_Xjay0rfVC6saA3eAvoGea5u-42hmRKQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABkgnnW1iVa1Ko53qJ_Xjay0rfVC6saA3eAvoGea5u-42hmRKQ@mail.gmail.com>
User-Agent: Mutt/1.6.1 (2016-04-27)
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-7.0
X-W3C-Hub-Spam-Report: AWL=0.936, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d9389-0005Bj-Oi 16020bfbeb9195cc5eeae7735b0879a8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/20170512052814.GB14701@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33920
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 Martin,

On Fri, May 12, 2017 at 09:53:19AM +1000, Martin Thomson wrote:
> (As for Willy's concern, maybe consider the request "incomplete" until
> the handshake completes, even if it is not.)

It's really not easy given that the L7 layer is fed by a decrypted data
stream of bytes, and notified about progress when new bytes appear.
Furthermore, today we have many people who split TLS decryption and
L7 processing into different processes in order to optimize latency
so the L7 process has no visibility on the TLS layer after it receives
the request.

And we're back to the original point : if we do this for all requests,
we're just doing 1-RTT 100% of the time in the end.

Right now it *seems* to me that 0-RTT is very interesting in theory,
possibly interesting in some specific client-to-server deployments, and
practically not usable in multi-tier architectures due to the absence of
end-to-end signaling. But I'm convinced we can improve the situation :-)

Willy


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 11 22:45:53 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C4E91287A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 22:45:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.501
X-Spam-Level:
X-Spam-Status: No, score=-6.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6kzx04tAP8FW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 May 2017 22:45:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 517471294AB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 May 2017 22:40:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d93Ht-0002bG-64 for ietf-http-wg-dist@listhub.w3.org; Fri, 12 May 2017 05:38:49 +0000
Resent-Date: Fri, 12 May 2017 05:38:49 +0000
Resent-Message-Id: <E1d93Ht-0002bG-64@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1d93Hp-0002aV-So for ietf-http-wg@listhub.w3.org; Fri, 12 May 2017 05:38:45 +0000
Received: from mail-wr0-f182.google.com ([209.85.128.182]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <martin.thomson@gmail.com>) id 1d93Hi-0005TZ-2E for ietf-http-wg@w3.org; Fri, 12 May 2017 05:38:40 +0000
Received: by mail-wr0-f182.google.com with SMTP id w50so36433846wrc.0 for <ietf-http-wg@w3.org>; Thu, 11 May 2017 22:38:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=OIwCpo6Bb7lCcrs5T5v1pN5X4rcmYTq328t1DgL1ykM=; b=lLcemRK0amYYvheVktPuIOV/I7/JwAj0PfwCNYw4daGq/J8FIWRr3CRKOQ+vTvGs3C fagI8gm+ucAsr4dTiD55bnJRwWzKi0r6rJefWCIBeph82AFBkenChc5GZdWFXpnKbK9L MaKcj19pea13cO6j90645v/OX8HXtxIN5CfRPn9/e5z1bnnuGj7IcnaLlWapjvO60MaZ fw7taYrphhgbyvGDSdF1FCxklhuzgDxoxaS2zQtFQOLvbzXJtxrfxAifFgY+jHojqOMa 2EBXebLGsRDYD7H9VQ582i1d6RAEpuMoYPL+ROUpsi+XXKu0SUJoQKdL3aLmRGnukPiX z9Ng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=OIwCpo6Bb7lCcrs5T5v1pN5X4rcmYTq328t1DgL1ykM=; b=IyuJJURjfjbEKRGW3gy16ZVrTGMEM6EVtNYRGg8UsxV/0OT9y+kjjDgQCvOgg64Oqs qbCG9fwRZo1gtvE/XLnt0BuZWibEONLEjwZk2tnMlOLXaP/A+MYJJkVOuZfqVFLt2OFj 3T2mEBXU5qIV1E2VtkPoKq9kQQvM9jgR4njnn4vn65L1gS+uM/Shg8xpzsE4EIQZmFfy UgfPzat8+5N0Ka+oQ2YpHxv/p+7TMZvymm05I7MikVGaasVPmgagrAwsbZrXpPulwj/1 ul2zr3xhWBLQPUxB/mS7y//5ayKjYKzxonL4XiuPpbwOhVyG4/SL8C0Xi5zx2xzEoN1b mW7g==
X-Gm-Message-State: AODbwcBG9ZR8WeQ02lTWKj8YMyAWP/OCFHOU/GMll0b3CsH+iY3hK2Yp ZC0FdLPFHwRVlza1l4jldUewLtRdtwuo
X-Received: by 10.46.8.26 with SMTP id 26mr498017lji.128.1494567491344; Thu, 11 May 2017 22:38:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.83.2 with HTTP; Thu, 11 May 2017 22:38:10 -0700 (PDT)
In-Reply-To: <20170512052814.GB14701@1wt.eu>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CABkgnnW1iVa1Ko53qJ_Xjay0rfVC6saA3eAvoGea5u-42hmRKQ@mail.gmail.com> <20170512052814.GB14701@1wt.eu>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Fri, 12 May 2017 15:38:10 +1000
Message-ID: <CABkgnnWfROpZPPP8ovDroEGHQBzQOJr4BeRQwo8xuRZWAb+Jqg@mail.gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Stefan Eissing <stefan.eissing@greenbytes.de>, Kazuho Oku <kazuhooku@gmail.com>,  Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>,  "Kaduk, Ben" <bkaduk@akamai.com>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.128.182; envelope-from=martin.thomson@gmail.com; helo=mail-wr0-f182.google.com
X-W3C-Hub-Spam-Status: No, score=-6.2
X-W3C-Hub-Spam-Report: AWL=0.230, BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d93Hi-0005TZ-2E 37b0095fcdafa8c4d383b5d6120c99de
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/CABkgnnWfROpZPPP8ovDroEGHQBzQOJr4BeRQwo8xuRZWAb+Jqg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33921
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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 May 2017 at 15:28, Willy Tarreau <w@1wt.eu> wrote:
> And we're back to the original point : if we do this for all requests,
> we're just doing 1-RTT 100% of the time in the end.

Two reasons why it isn't, or might not be:

1.The suggestion was that you would identify a subset of requests that
get passed on.  That might be GET, HEAD and OPTIONS if you want to be
conservative.

2. The data has arrived in less than 1-RTT.  That you don't act on it
later doesn't mean that you haven't at least saved on the time it
takes to move those bytes.  The downside being that your handshake
completion now sits behind a longer line of bytes that are all subject
to loss and therefore head of line blocking.


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Fri May 12 01:30:23 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7806E12EB08 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 May 2017 01:30:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.001
X-Spam-Level:
X-Spam-Status: No, score=-7.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=greenbytes.de header.b=WBU1FxLJ; dkim=pass (1024-bit key) header.d=greenbytes.de header.b=SmU917gI
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xnp7yASiZFnp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 May 2017 01:30:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0106C126E64 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 May 2017 01:24:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d95pg-0000an-Pn for ietf-http-wg-dist@listhub.w3.org; Fri, 12 May 2017 08:21:52 +0000
Resent-Date: Fri, 12 May 2017 08:21:52 +0000
Resent-Message-Id: <E1d95pg-0000an-Pn@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <stefan.eissing@greenbytes.de>) id 1d95pe-0000ZY-FE for ietf-http-wg@listhub.w3.org; Fri, 12 May 2017 08:21:50 +0000
Received: from mail.greenbytes.de ([217.91.35.233]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <stefan.eissing@greenbytes.de>) id 1d95pX-0001eg-UU for ietf-http-wg@w3.org; Fri, 12 May 2017 08:21:45 +0000
Received: by mail.greenbytes.de (Postfix, from userid 117) id 5219615A0793; Fri, 12 May 2017 10:21:21 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1494577281; bh=yzKo1XHb8HLNW9Uvqdww+Gl1fRFJWtczsQ8KI5ll6ic=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=WBU1FxLJ9DlWekxCze2bzG8N5+13xQM9fiS2psEURnBuoIe9fqIXQIPDGlSiP1+tl sUleAcXZrZGtnCQRgANS46GIfzjqBXlIh1rDaHmOsMGim2dhT3OkkpPMyJfIJ3m7Fb 2w90m9LDyhg8MPdYwJyXsH5PIbwmkhqwxoIXpK0Q=
Received: from delight.greenbytes.local (unknown [217.91.35.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.greenbytes.de (Postfix) with ESMTPSA id 164F115A06EC; Fri, 12 May 2017 10:21:17 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1494577280; bh=yzKo1XHb8HLNW9Uvqdww+Gl1fRFJWtczsQ8KI5ll6ic=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=SmU917gIDYgvbMOvLPF/e6ZJyVWtG7Dgh+OG1A80lJRMveyx/1bapoJ9FSwgEQcMX cadsvBkRH0zmIU8o2Y+l7pFubLdhS9zTdBVrL0fIzDc+QIrnBS/4hLZXYirmkLJrmN N87YSBGpB4Z+Ig5+cWmeg/tPofJIQHJiP6K6AF5U=
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Stefan Eissing <stefan.eissing@greenbytes.de>
In-Reply-To: <CABkgnnWfROpZPPP8ovDroEGHQBzQOJr4BeRQwo8xuRZWAb+Jqg@mail.gmail.com>
Date: Fri, 12 May 2017 10:21:16 +0200
Cc: Willy Tarreau <w@1wt.eu>, Kazuho Oku <kazuhooku@gmail.com>, Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Content-Transfer-Encoding: 7bit
Message-Id: <A7D15E43-AA9C-4C4B-85B8-C296E3D1FBF4@greenbytes.de>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CABkgnnW1iVa1Ko53qJ_Xjay0rfVC6saA3eAvoGea5u-42hmRKQ@mail.gmail.com> <20170512052814.GB14701@1wt.eu> <CABkgnnWfROpZPPP8ovDroEGHQBzQOJr4BeRQwo8xuRZWAb+Jqg@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
X-Mailer: Apple Mail (2.3273)
Received-SPF: pass client-ip=217.91.35.233; envelope-from=stefan.eissing@greenbytes.de; helo=mail.greenbytes.de
X-W3C-Hub-Spam-Status: No, score=-3.9
X-W3C-Hub-Spam-Report: AWL=-1.826, BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d95pX-0001eg-UU 90b9ad1efa98b85717f8c5e9d12ec8ea
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/A7D15E43-AA9C-4C4B-85B8-C296E3D1FBF4@greenbytes.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33922
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 12.05.2017 um 07:38 schrieb Martin Thomson <martin.thomson@gmail.com>:
> 
> On 12 May 2017 at 15:28, Willy Tarreau <w@1wt.eu> wrote:
>> And we're back to the original point : if we do this for all requests,
>> we're just doing 1-RTT 100% of the time in the end.
> 
> Two reasons why it isn't, or might not be:
> 
> 1.The suggestion was that you would identify a subset of requests that
> get passed on.  That might be GET, HEAD and OPTIONS if you want to be
> conservative.

I am more and more thinking that we need no safe-set definition. It seems
that clients and servers will have specific ideas about what to send and
what to accept in early data.

What a client wants to send early, might not be what the server is willing
to process right away. Servers can always chose to not enable early data at 
all, or, in case of doubt about the data, wait for the handshake to complete.

At least in h2 it seems to be clear how to do that, is there a way for 
http/1.1 to do the same? Is there maybe a generic TLS1.3 way to do that?

If we can define a way for TLS receivers to wait for the handshake, then
there is no need to expect failure from early data, except servers not
following this strategy or being reconfigured between sessions.

Or?

-Stefan




> 2. The data has arrived in less than 1-RTT.  That you don't act on it
> later doesn't mean that you haven't at least saved on the time it
> takes to move those bytes.  The downside being that your handshake
> completion now sits behind a longer line of bytes that are all subject
> to loss and therefore head of line blocking.




From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Fri May 12 01:30:24 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AF334126E64 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 May 2017 01:30:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r94OZ6qzNNxp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 May 2017 01:30:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 01092127863 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 May 2017 01:24:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d95q1-0000cy-Ld for ietf-http-wg-dist@listhub.w3.org; Fri, 12 May 2017 08:22:13 +0000
Resent-Date: Fri, 12 May 2017 08:22:13 +0000
Resent-Message-Id: <E1d95q1-0000cy-Ld@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <phk@phk.freebsd.dk>) id 1d95px-0000cC-Rr for ietf-http-wg@listhub.w3.org; Fri, 12 May 2017 08:22:09 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by titan.w3.org with esmtp (Exim 4.84_2) (envelope-from <phk@phk.freebsd.dk>) id 1d95pr-0001es-RW for ietf-http-wg@w3.org; Fri, 12 May 2017 08:22:04 +0000
Received: from critter.freebsd.dk (unknown [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id 3685427374; Fri, 12 May 2017 08:21:39 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTP id v4C8Law0004230; Fri, 12 May 2017 08:21:37 GMT (envelope-from phk@phk.freebsd.dk)
To: Kazuho Oku <kazuhooku@gmail.com>
cc: Willy Tarreau <w@1wt.eu>, Stefan Eissing <stefan.eissing@greenbytes.de>, Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
In-reply-to: <CANatvzw9zeVfQMBCXGhakFomL2MaTqFNF65jKWHCDXQQ8rxcTA@mail.gmail.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
References: <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CANatvzwKvWQA-EgmkUbC2SXNcm9Nw7f0vC4jxZeHWASEn_fUPw@mail.gmail.com> <37D885E7-8BEB-4685-816A-BC9CD61F2230@greenbytes.de> <20170511135151.GB13597@1wt.eu> <CANatvzzCx3LemwjP51TWH3T6gvOW9WUzDSb7yYJVJdQ5otgbEA@mail.gmail.com> <20170511145103.GF13597@1wt.eu> <CANatvzw9zeVfQMBCXGhakFomL2MaTqFNF65jKWHCDXQQ8rxcTA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <4228.1494577296.1@critter.freebsd.dk>
Content-Transfer-Encoding: quoted-printable
Date: Fri, 12 May 2017 08:21:36 +0000
Message-ID: <4229.1494577296@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=-5.3
X-W3C-Hub-Spam-Report: AWL=-1.371, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d95pr-0001es-RW 252221eac9d366b7258245cafc66a26a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/4229.1494577296@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33923
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 <CANatvzw9zeVfQMBCXGhakFomL2MaTqFNF65jKWHCDXQQ8rxcTA@mail.gmail=
.com>
, Kazuho Oku writes:

>The kind of the deployment I was considering was one that deploys a
>TLS terminator that just decrypts the data and sends to backend (i.e.
>TLS to TCP, not an HTTP reverse proxy). My idea was that you could add
>a new field to the Proxy Protocol that indicates the amount of 0-RTT
>data that follows the header of the PROXY Protocol.

Can you even know that at the time you send the PROXY protocol header ?

-- =

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+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Fri May 12 04:45:19 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C6EBF12EB2F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 May 2017 04:45:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.501
X-Spam-Level:
X-Spam-Status: No, score=-6.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HnniB7-Y5qOK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 May 2017 04:45:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 57B4612EB43 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 May 2017 04:40:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d98sL-0007YB-Px for ietf-http-wg-dist@listhub.w3.org; Fri, 12 May 2017 11:36:49 +0000
Resent-Date: Fri, 12 May 2017 11:36:49 +0000
Resent-Message-Id: <E1d98sL-0007YB-Px@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <kazuhooku@gmail.com>) id 1d98sH-0007UR-0b for ietf-http-wg@listhub.w3.org; Fri, 12 May 2017 11:36:45 +0000
Received: from mail-pf0-f179.google.com ([209.85.192.179]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <kazuhooku@gmail.com>) id 1d98sA-0008O0-I6 for ietf-http-wg@w3.org; Fri, 12 May 2017 11:36:39 +0000
Received: by mail-pf0-f179.google.com with SMTP id e64so28964404pfd.1 for <ietf-http-wg@w3.org>; Fri, 12 May 2017 04:36:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=KpSIiffdXvgy3tLWGc22qWNMCLQstFai7781z0O9xvs=; b=TpP0t1dR8FxNe+pCbfn5ILvHLaw95+5rKDhHTdBNYQ9Xs4qb22EfXLSI2GvX2J25kI eYBXpj5Oj1XjPKhtDilFSM3oaH1/9orDc//NWg722ms9n7kYAJ78MHdlI1H0T8+UntpE PfPU8CAe9xoe0ixVh24GvR70/BJdwqo8kVM0fcJnTuxy439ADiGCN0aBYoPrHiZfMkXR 5z0SxQvqYaJu4YAeR1tg9v+A8u7q4C6rbNvHAKv+SVyrghLrzel+qIWaoJsgUcJOh8r/ TAnkiomChscBFOryzSxVbpLLN2B8qZyfn4VyjlRCcZAjSKhNfmYLaYFtnP4qHJKY3oCK 2uOw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=KpSIiffdXvgy3tLWGc22qWNMCLQstFai7781z0O9xvs=; b=h+prOX/GXUFgD1nBktpilzXRPVKhY50zM2usAIHw2sULKL9VHK7e3OcZiYx6CkBfEz ZihRIUFo6m5Q+Dp0WziR8tnHpMSssql4cjPWCQsi5E0Lj/QFTEJSArwg0q+XkE2DgOk6 58LOGvQHKLqkpR7oP8oX8DrSfLEKcfMs2C+xdzIUv+wzIw6Ol6Db3fkTBo/YBMGmrc2A RQdZ4P0sdwpqVSfoe9zCcvzdZMThWFXrxXGdtHQnr7Cyl2xh4chu2pkYvvzOKFiJtNyE ZwnaJAWJGrtKH0NAQFYfp6aohy+mEEMLMLhDyCeJTVzL0e4K9WEHpcW5wyCmGUcZ1GC3 gjlQ==
X-Gm-Message-State: AODbwcATH/oamM4hpQrh9HgJMR5eWnhPD7bMiQkaAvWFGvVM4qOyuuVC 8nfI+QS8swqQb7dhZbQ1cR/RmrXYUA==
X-Received: by 10.99.113.6 with SMTP id m6mr3843836pgc.188.1494588971372; Fri, 12 May 2017 04:36:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.179.237 with HTTP; Fri, 12 May 2017 04:36:09 -0700 (PDT)
In-Reply-To: <4229.1494577296@critter.freebsd.dk>
References: <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CANatvzwKvWQA-EgmkUbC2SXNcm9Nw7f0vC4jxZeHWASEn_fUPw@mail.gmail.com> <37D885E7-8BEB-4685-816A-BC9CD61F2230@greenbytes.de> <20170511135151.GB13597@1wt.eu> <CANatvzzCx3LemwjP51TWH3T6gvOW9WUzDSb7yYJVJdQ5otgbEA@mail.gmail.com> <20170511145103.GF13597@1wt.eu> <CANatvzw9zeVfQMBCXGhakFomL2MaTqFNF65jKWHCDXQQ8rxcTA@mail.gmail.com> <4229.1494577296@critter.freebsd.dk>
From: Kazuho Oku <kazuhooku@gmail.com>
Date: Fri, 12 May 2017 20:36:09 +0900
Message-ID: <CANatvzw9biTenkNhRy12F20gHAS0i+o8=BEBM+zxCd+-abcAZg@mail.gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Willy Tarreau <w@1wt.eu>, Stefan Eissing <stefan.eissing@greenbytes.de>,  Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>,  "Kaduk, Ben" <bkaduk@akamai.com>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.192.179; envelope-from=kazuhooku@gmail.com; helo=mail-pf0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-6.3
X-W3C-Hub-Spam-Report: AWL=-0.018, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d98sA-0008O0-I6 b9b3722302f2aa94441f5b6b6d475338
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/CANatvzw9biTenkNhRy12F20gHAS0i+o8=BEBM+zxCd+-abcAZg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33924
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

2017-05-12 17:21 GMT+09:00 Poul-Henning Kamp <phk@phk.freebsd.dk>:
> --------
> In message <CANatvzw9zeVfQMBCXGhakFomL2MaTqFNF65jKWHCDXQQ8rxcTA@mail.gmail.com>
> , Kazuho Oku writes:
>
>>The kind of the deployment I was considering was one that deploys a
>>TLS terminator that just decrypts the data and sends to backend (i.e.
>>TLS to TCP, not an HTTP reverse proxy). My idea was that you could add
>>a new field to the Proxy Protocol that indicates the amount of 0-RTT
>>data that follows the header of the PROXY Protocol.
>
> Can you even know that at the time you send the PROXY protocol header ?

Actually, you do not even need to know or transmit the exact amount of
the 0-RTT data when you transmit the PROXY protocol header. What you
need to transmit is the amount of replayable data.

I believe that there could be several ways, but something like below
should work.

* postpone sending the PROXY Protocol header until receiving the first
flight of 0-RTT data
* include the size of the 0-RTT data being received as an attribute in
the PROXY Protocol header that is sent to the backend
* postpone forwarding the rest of 0-RTT data to the server until the
handshake succeeds

The assumption behind the approach is that the 0-RTT data from the
client (e.g. HTTP request) will likely fit in one packet, possibly in
the same packet that carries ClientHello (or in a few number of
packets that will arrive while the server does DH operation). The
approach also uses the fact that a successful handshake can be used to
rule out the possibility of the 0-RTT data being replayed by an
attacker.

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



-- 
Kazuho Oku


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Fri May 12 09:55:54 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 09B3612EBC5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 May 2017 09:55:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.5
X-Spam-Level:
X-Spam-Status: No, score=-6.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b1l6BW4wtIbC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 May 2017 09:55:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CDF5212EC2D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 May 2017 09:50:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d9DiK-0002MW-8Q for ietf-http-wg-dist@listhub.w3.org; Fri, 12 May 2017 16:46:48 +0000
Resent-Date: Fri, 12 May 2017 16:46:48 +0000
Resent-Message-Id: <E1d9DiK-0002MW-8Q@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <igrigorik@google.com>) id 1d9DiE-0002Ll-P8 for ietf-http-wg@listhub.w3.org; Fri, 12 May 2017 16:46:42 +0000
Received: from mail-io0-f172.google.com ([209.85.223.172]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <igrigorik@google.com>) id 1d9Di8-0006JM-6P for ietf-http-wg@w3.org; Fri, 12 May 2017 16:46:37 +0000
Received: by mail-io0-f172.google.com with SMTP id o12so43649895iod.3 for <ietf-http-wg@w3.org>; Fri, 12 May 2017 09:46:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=VwTBOr4zXl5chTjybLJ0/6s4jLohuWigFOp7RiHPxjU=; b=REaHreDLi3AVO7XDZOE9TEeyWJ/rQehVAhHyb1/v6X0+7h6sNwBURHILO64nOMWPSt 0OxYABGbmtI3PwnsLfFNnAtzum7cUNnUqZ592dodXLEaEeEN60YNZ1zrsFMvZVou3HeQ 9tFc7Xm67/JeaLa4jxCQHdZhW/Pq1T85p2ETCsK0Pxx88b9221QiwnHN+CJYp5Qpchks dooujJpZHxG5zuRUWINGUjpj9uNHzVEEUxxF7MkXovDnERnuO/6h8LM4AcJUL1aSeKwg ynsLIAe9HSG1ivIYSGqo4kIgkYnyWf/FGL6njHZzO1MiQgQ1R8E7w5FLR9spbQ5yXV6C iozQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=VwTBOr4zXl5chTjybLJ0/6s4jLohuWigFOp7RiHPxjU=; b=RK8lk/x6kAgWDippbyOyWUKPIS5G8vrv+DmNyCdsvljWkGR3DTdRiack8WYfOyGOlZ E/u/qD6YaDLSRNaeFFaJNZtkyjEKTo6WgQkBm4NYoQAAHDT+UV3n1HNPzujw8drodukq 0gdJVgW5q9R6GlTs/kJDckaAYROLpQSVu3J+WsduIGIe43Iob96MBjoBEc+D5+UeHVgL eprp+32w93mfeYHcg6hGLsc4o4x6OZckod0Cpw+n8p0sjnpwuH2EO4xjTD9ealA/1Bru 2xCFyV9Ltg/j/gpJ4YQW9B2s546vb1J7kB7ZYN/OUthzNlvRZV62DWEIj6GAL4Z3NvR8 UwHw==
X-Gm-Message-State: AODbwcBldmUaZPM7Ax7bgmxMXbcDa2/dpGyYW/BOXMkJxNT+TP7ZZYRJ NLcD+fBHvOi5yfcJVll14lBA0lEARht0
X-Received: by 10.107.134.98 with SMTP id i95mr4722161iod.88.1494607569620; Fri, 12 May 2017 09:46:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.130.148 with HTTP; Fri, 12 May 2017 09:45:29 -0700 (PDT)
In-Reply-To: <349146FF-CBDE-4CF8-86AA-D13B0EA2B773@mnot.net>
References: <D9E568D2-D84E-464F-A619-C2F92DD49B08@mnot.net> <20170419164106.EFBCF24249@welho-filter4.welho.com> <349146FF-CBDE-4CF8-86AA-D13B0EA2B773@mnot.net>
From: Ilya Grigorik <igrigorik@google.com>
Date: Fri, 12 May 2017 09:45:29 -0700
Message-ID: <CADXXVKqkK1sHzKZQrkJcKPDDAZpJ77RUsf5e0JoBgEWMeQK-Sg@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Kari Hurtta <hurtta-ietf@elmme-mailer.org>,  HTTP working group mailing list <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a113ec86a44c6ff054f5671f9"
Received-SPF: pass client-ip=209.85.223.172; envelope-from=igrigorik@google.com; helo=mail-io0-f172.google.com
X-W3C-Hub-Spam-Status: No, score=-8.5
X-W3C-Hub-Spam-Report: AWL=2.816, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d9Di8-0006JM-6P 457cbdf289b5dade2168503047849df6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-ietf-httpbis-client-hints-04; 2.2.2. The Accept-CH-Lifetime  header field
Archived-At: <http://www.w3.org/mid/CADXXVKqkK1sHzKZQrkJcKPDDAZpJ77RUsf5e0JoBgEWMeQK-Sg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33925
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--001a113ec86a44c6ff054f5671f9
Content-Type: text/plain; charset="UTF-8"

On Mon, May 8, 2017 at 6:07 PM, Mark Nottingham <mnot@mnot.net> wrote:

> > 2.2.1.  Advertising Support via Accept-CH header field
> > https://tools.ietf.org/html/draft-ietf-httpbis-client-
> hints-04#section-2.2.1
> >
> > |   Servers can advertise support for Client Hints using the Accept-CH
> > |   header field or an equivalent HTML meta element with http-equiv
> > |   attribute ([W3C.REC-html5-20141028]).
> >
> > Is it assumed that "Accept-CH" is given in http-equiv
> > attribute, but "Accept-CH-Lifetime" on http response ?
>

Yes.

> Or is that needed so that "Accept-CH" can be given
> > on several times?
>

No, that's implicit in its definition as a comma separated list of values.
Correct me if I'm wrong, but my understanding is that default semantics
allow multiple headers with same field-name, as long as the field-value is
defined as a comma separated list.. Meaning, there can be multiple
Accept-CH header fields and they can be combined into a single list.


> > What happens if there is several "Accept-CH-Lifetime"
> > on response?
>
> Ilya, any thoughts here? Clarifying these would probably be helpful.
>

For Accept-CH-Lifetime, I guess we just need to specify which one wins,
correct? Any defaults I can point to or reuse? Last one wins?

ig

--001a113ec86a44c6ff054f5671f9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On M=
on, May 8, 2017 at 6:07 PM, Mark Nottingham <span dir=3D"ltr">&lt;<a href=
=3D"mailto:mnot@mnot.net" target=3D"_blank">mnot@mnot.net</a>&gt;</span> wr=
ote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex=
;border-left:1px solid rgb(204,204,204);padding-left:1ex">&gt; 2.2.1.=C2=A0=
 Advertising Support via Accept-CH header field<br>
&gt; <a href=3D"https://tools.ietf.org/html/draft-ietf-httpbis-client-hints=
-04#section-2.2.1" rel=3D"noreferrer" target=3D"_blank">https://tools.ietf.=
org/html/<wbr>draft-ietf-httpbis-client-<wbr>hints-04#section-2.2.1</a><br>
&gt;<br>
&gt; |=C2=A0 =C2=A0Servers can advertise support for Client Hints using the=
 Accept-CH<br>
&gt; |=C2=A0 =C2=A0header field or an equivalent HTML meta element with htt=
p-equiv<br>
&gt; |=C2=A0 =C2=A0attribute ([W3C.REC-html5-20141028]).<br>
&gt;<br>
&gt; Is it assumed that &quot;Accept-CH&quot; is given in http-equiv<br>
&gt; attribute, but &quot;Accept-CH-Lifetime&quot; on http response ?<br></=
blockquote><div><br></div><div>Yes.=C2=A0</div><div><br></div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli=
d rgb(204,204,204);padding-left:1ex">&gt; Or is that needed so that &quot;A=
ccept-CH&quot; can be given<br>
&gt; on several times?<br></blockquote><div><br></div><div>No, that&#39;s i=
mplicit in its definition as a comma separated list of values. Correct me i=
f I&#39;m wrong, but my understanding is that default semantics allow multi=
ple headers with same field-name, as long as the field-value is defined as =
a comma separated list.. Meaning, there can be multiple Accept-CH header fi=
elds and they can be combined into a single list.</div><div>=C2=A0</div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef=
t:1px solid rgb(204,204,204);padding-left:1ex">
&gt; What happens if there is several &quot;Accept-CH-Lifetime&quot;<br>
&gt; on response?<br>
<br>
Ilya, any thoughts here? Clarifying these would probably be helpful.<br></b=
lockquote><div><br></div><div>For Accept-CH-Lifetime, I guess we just need =
to specify which one wins, correct? Any defaults I can point to or reuse? L=
ast one wins?</div><div><br></div><div>ig</div><div><br></div></div></div><=
/div>

--001a113ec86a44c6ff054f5671f9--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Sat May 13 18:09:36 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E717129496 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 May 2017 18:09:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.602
X-Spam-Level:
X-Spam-Status: No, score=-4.602 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vQKOCpwdSRdy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 May 2017 18:09:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3FB691294B8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 13 May 2017 18:07:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d9hwQ-0006Ne-Qd for ietf-http-wg-dist@listhub.w3.org; Sun, 14 May 2017 01:03:22 +0000
Resent-Date: Sun, 14 May 2017 01:03:22 +0000
Resent-Message-Id: <E1d9hwQ-0006Ne-Qd@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1d9hwL-0006Mt-N6 for ietf-http-wg@listhub.w3.org; Sun, 14 May 2017 01:03:17 +0000
Received: from mail-lf0-f42.google.com ([209.85.215.42]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <martin.thomson@gmail.com>) id 1d9hwE-0004xp-ED for ietf-http-wg@w3.org; Sun, 14 May 2017 01:03:12 +0000
Received: by mail-lf0-f42.google.com with SMTP id h4so16359816lfj.3 for <ietf-http-wg@w3.org>; Sat, 13 May 2017 18:02:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6JVR/4kqjtmec4tJcNAPIlTrfXaNLEzqMrLjqCaZ2Dk=; b=VQn+podqVMVV6cGKZGIl2oN5o4XpiZA1OFmfOmNSOcEgZFysYCunr4ziSJfVneK3GI GTSgWLqhuXBOpBC4GfJb7q9DOE5cyFH1TK8UA34yrTmtH0ks9I+3SKoNnZXGFqAJX6W/ Gs2wyvCZQ6y8kol3VchDG76ojQ1jlW7TenBPJXWmBNmT7UAAWS7bh8EehVnWJPn87ekk z3j7Kx09g+0xG3+n5nzrWWxo3OoZUOVQyyKUjeBe1BC3Pne7M12eupQYqTEWxUDQSG9+ LIT1Uhldj/FjNdo6hHyMlV+F3JJ6SnYxIgCcrqigwXMKW8B6mHWqV88SBXk0q4ySXsbp xjVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6JVR/4kqjtmec4tJcNAPIlTrfXaNLEzqMrLjqCaZ2Dk=; b=kPKGsKjBEOhjeLlxz3PIel1N70MH1dbkCHWRZvSE1vGk4MMkgmx93M6qiUPgntgMRF WEsqJkc/xEQCupDp3tpu+tT/MxwOfzkLomynXogJUKqKjW2rX9frgalj0zkREMZBsMBg lCkzHCI37XejkyYwukde2UjVxws+252VlQsT3y5xuz6U/wdulPJS15n9OH3XDwjr7N2y h8Hx8VVkQgmbrjkffVYwW4WjZXnO5Vfb8BG5MK25nUZ+i+Wa/dgdYXYudDthSew3nBdE bV9CbhJqskfNaNHcBRehPU7nRqcOpGYHCpou8Atg1wz6RqKVmFOIDHwNj6sKWapontTn 4F3w==
X-Gm-Message-State: AODbwcDMCHJN2l61DhYubUWgKvE/XRVgZ0IgPczm8j5UAyjqfejzwvSq Ve1NbgXRNdoWnJZejQmSVHtENnG5Ug==
X-Received: by 10.46.0.23 with SMTP id 23mr4565152lja.33.1494723763052; Sat, 13 May 2017 18:02:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.83.2 with HTTP; Sat, 13 May 2017 18:02:42 -0700 (PDT)
In-Reply-To: <A7D15E43-AA9C-4C4B-85B8-C296E3D1FBF4@greenbytes.de>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CABkgnnW1iVa1Ko53qJ_Xjay0rfVC6saA3eAvoGea5u-42hmRKQ@mail.gmail.com> <20170512052814.GB14701@1wt.eu> <CABkgnnWfROpZPPP8ovDroEGHQBzQOJr4BeRQwo8xuRZWAb+Jqg@mail.gmail.com> <A7D15E43-AA9C-4C4B-85B8-C296E3D1FBF4@greenbytes.de>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Sun, 14 May 2017 11:02:42 +1000
Message-ID: <CABkgnnUsURB=62j_xdvY60k9pG4J8i3_pX_ZMYyHxPC8EMhRTw@mail.gmail.com>
To: Stefan Eissing <stefan.eissing@greenbytes.de>
Cc: Willy Tarreau <w@1wt.eu>, Kazuho Oku <kazuhooku@gmail.com>, Mark Nottingham <mnot@mnot.net>,  Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>,  "Ponec, Miroslav" <mponec@akamai.com>, "Kaduk, Ben" <bkaduk@akamai.com>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.215.42; envelope-from=martin.thomson@gmail.com; helo=mail-lf0-f42.google.com
X-W3C-Hub-Spam-Status: No, score=-5.7
X-W3C-Hub-Spam-Report: AWL=-0.210, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1d9hwE-0004xp-ED 8b78ff7ff3c3086d466c0bbb72317c87
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/CABkgnnUsURB=62j_xdvY60k9pG4J8i3_pX_ZMYyHxPC8EMhRTw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33926
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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 May 2017 at 18:21, Stefan Eissing <stefan.eissing@greenbytes.de> wrote:
> I am more and more thinking that we need no safe-set definition. It seems
> that clients and servers will have specific ideas about what to send and
> what to accept in early data.


Yes, this is going to be subjective.  The great thing about the
strategy that we have here is that nothing is vulnerable to replay
unless both client and server agree to that risk.

It's much trickier for intermediaries, who make this decision without
a great deal of information, but the calculus is still fundamentally
the same.


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Sun May 14 02:10:34 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6374312947E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 14 May 2017 02:10:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.503
X-Spam-Level:
X-Spam-Status: No, score=-4.503 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6Wda6ZJ7GIPR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 14 May 2017 02:10:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 96A171293D8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 14 May 2017 02:09:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1d9pTO-00072O-9K for ietf-http-wg-dist@listhub.w3.org; Sun, 14 May 2017 09:05:54 +0000
Resent-Date: Sun, 14 May 2017 09:05:54 +0000
Resent-Message-Id: <E1d9pTO-00072O-9K@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <julian.reschke@gmx.de>) id 1d9pTE-00071c-4l for ietf-http-wg@listhub.w3.org; Sun, 14 May 2017 09:05:44 +0000
Received: from mout.gmx.net ([212.227.15.15]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <julian.reschke@gmx.de>) id 1d9pT5-0006KH-Qc for ietf-http-wg@w3.org; Sun, 14 May 2017 09:05:38 +0000
Received: from [192.168.178.20] ([93.217.100.51]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MCLQ1-1dIw9F0Oa9-009B2u for <ietf-http-wg@w3.org>; Sun, 14 May 2017 11:05:08 +0200
To: HTTP Working Group <ietf-http-wg@w3.org>
References: <0CD14C63-72A0-4428-8500-1443D969B8C7@mnot.net>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <0d79dc3f-89ad-662e-3601-3fc4018df0b7@gmx.de>
Date: Sun, 14 May 2017 11:05:05 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <0CD14C63-72A0-4428-8500-1443D969B8C7@mnot.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:aZZPYPdjAgSZeImiBu09pAKkIzisVbuu/dSdOihcnJdqKsfaINF C9+2QwMteFvbcI1/Vy+z3NL7SVtnYnd2UAx3omjp9xRL9mvtnXjXhWIbXXVl7YxsmZqSD2K jYpdWmmNxWfh+1JSEIJH9AIIqPj2Guzp61d+6DtP2tkVU4PQXWvAo17QAHmcOvKze1hkNB8 UYd5CnXzO8d+tIsHjXhNg==
X-UI-Out-Filterresults: notjunk:1;V01:K0:J9qFM7c+NSI=:udSi+HHNbZkCJg6Rkt3Ph+ SphAooPhIusO/5aRDbEGLjvRnV+PFbXWWntxFlCcW+fIzYZxgguMQDQK/ZrXWPREvGUplliAn 9vq2X/8bolw937SgR/7m9L5r0gRE9M+fprqLRfmSRBhepytC1hbZHFpfxsEZNGsufM7puQV5f 3VfjPQx0T6+QUWRvTXW63eINadgT8H7wRogSqIzNi4zO/xNlWOHR39UBI1Yd/Y181xX90jXKK LwssMjQRJaD2slD9zmUtUHIrXOzA+QRy0LgNcHQuHCxwtlwKJG9lA6mHPIc9WrUUibQmv2j8Q xvbXA/tWJWHTlfSTxEf0ix6axS78yqFFwqRYzY0iYp7yXnoB7BTiJiDXRRblKJ/XtJNgLfavD pRVEoT76hRADB5NDrZz2J8MXOXxG5tFy31vevMI4UIaXkU1BR9Dt4oXOu3mKdPhCmmBTRBgwZ QpSEXyYDVDm6dICeClkP1TqqyNYpL4b8RNwkL5blzt9mmateaHCYxt/sLXFoEktql7RHFRP86 37C9ULRJtM26L9QSZ+ErJGq1KD+X4RsU7pb7Y7SJ2Bd1J8M14zxZjyc6KUJgYcDmTlzdjOOW/ XQYCpl0cVPxWh8/Xw5OHc6eqCtB3bF/sT3HBm75VN9UD/JkTJ2ErBZmx7YSYxwe6IvEJ+XsOR uN4hnEe0DDCgHlxzrHLVuHl5A4BWC7lI3QQFWmbNvlbZSr34cCYQnN8ku3wc1aJyGuU8JCfzp x2ak81gTS/EEv8BMEPWbrLh+W8vLeEiN6Oua/YX2Foi00xcKAlCw5NiaKOD4++65Ktz7302Ue f4RhUD7
Received-SPF: pass client-ip=212.227.15.15; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-7.7
X-W3C-Hub-Spam-Report: AWL=1.176, BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1d9pT5-0006KH-Qc 998e6ec1f476fb5512e3c1ce45ee1ed9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Working Group Last Call -- draft-ietf-httpbis-immutable-02
Archived-At: <http://www.w3.org/mid/0d79dc3f-89ad-662e-3601-3fc4018df0b7@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33927
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 everybody,

Nice work!

Here's my feedback (completely editorial):

> 2.1.  About Intermediaries
>
>    An immutable response has the same semantic meaning when received by
>    proxy clients as it does when received by User-Agent based clients.
>    Therefore proxies SHOULD skip conditionally revalidating fresh
>    responses containing the immutable extension unless there is a signal
>    from the client that a validation is necessary (e.g. a no-cache
>    Cache-Control request directive).

Maybe point to Section 5.2.1.4 of RFC 7234 here...

>    A proxy that uses immutable to bypass a conditional revalidation may
>    choose whether to reply with a 304 or 200 to its requesting client
>    based on the request headers the proxy received.

s/may/MAY/ or s/may/can/

> 2.2.  Example
>
>    Cache-Control: max-age=31536000, immutable

Maybe add a full example, including a request/response pair for the case 
when "immutable" is not present?

> 4.  IANA Considerations
>
>    [RFC7234] sections 7.1 and 7.1.2 require registration of the

s/[RFC7234] sections 7.1 and 7.1.2/Section 7.1 of .../

> ...

Best regards, Julian



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May 15 07:34:48 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 27364129439 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 May 2017 07:34:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bW-yhfo6BCHs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 May 2017 07:34:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1CA2612943E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 15 May 2017 07:30:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dAGxC-0008Em-3y for ietf-http-wg-dist@listhub.w3.org; Mon, 15 May 2017 14:26:30 +0000
Resent-Date: Mon, 15 May 2017 14:26:30 +0000
Resent-Message-Id: <E1dAGxC-0008Em-3y@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <julian.reschke@gmx.de>) id 1dAGx7-0008Bp-Uj for ietf-http-wg@listhub.w3.org; Mon, 15 May 2017 14:26:25 +0000
Received: from mout.gmx.net ([212.227.17.21]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <julian.reschke@gmx.de>) id 1dAGx0-0006fd-N9 for ietf-http-wg@w3.org; Mon, 15 May 2017 14:26:20 +0000
Received: from [192.168.1.102] ([93.217.103.253]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Maa3B-1dPSPQ26Y5-00K9Wk; Mon, 15 May 2017 16:25:46 +0200
To: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
References: <149258118288.29028.3385696893945926244@ietfa.amsl.com> <D9E568D2-D84E-464F-A619-C2F92DD49B08@mnot.net>
Cc: Patrick McManus <pmcmanus@mozilla.com>, Ilya Grigorik <igrigorik@google.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <624e3e87-43bc-0dc2-d38c-2d69cbb9e93b@gmx.de>
Date: Mon, 15 May 2017 12:33:50 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <D9E568D2-D84E-464F-A619-C2F92DD49B08@mnot.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:ytdYrqgEDPZqDtJZ7qJn7MHxvWOR1ctEDEIwFEExiIKYlwwtC1I Zmaw9hBR9X/GL4Jf2dr1CxU0nkGv62gbkCSQMSK9hri2Y8DqjOSah8Q42XNIySDzvNdpM6y cRSMAB9d2pD+SNPXdUrninSb+d1zenQ/+TQXfWVkUczytDd1k524p5Rh7gGY5gGziBJ6jk4 7O5Mi59UBOEVYSbLn9qOQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:8RC4qXPhx7k=:ZpzuZxbahSjPt3YN4gaSJl odyJ7YcB+daVhuOUBeff14r1wg8+Qqas+jgVFIXAed6webM4JahRgIeXadj3XiYEq02dv1TRb 5Uc4rOaqdSh0RSGmX7Yu3ogj78P9OwjgFTrblWzqB/dBitJvu5VvAhKDlNpoQGJ6k/VgMmxxG 2ObX1U+B7fGnLcqInR5HqYbty5vh0YMKbeBU90D4fPojuMQW1TWhOvp3Dxn3KoOsUR7KtgD1c TVSHlzzAk55KxTDoiQJa43zJ+7WEJLWp+Jsq9E7DvMW1KKbBRhdI2fQgxd3hJTek1NsjsN/IN RHXtfLzpgStqQ98+5xDqAwUkfPLkb8zQRUr+9hKjU/2pvq4K60AA79+HoL7zh8cYIZGXEhtDz zuec4Ixtp5p8GK4YsHiLU/rPqiLJJVL0MzWAvNXlqc4Iekz8i1QpxJVvMwtKBxJz0V6Rf3AqB 6SPJRc2l3gp2TaPLnzh8bg/5vLkW6CiP0CVA55N9VURglLM2CC9Obet3pNscCti0n5vFfJ8yc Vxy0Swh7wlZ+0VvsZOB64gRGpXCvJn78Dk4MJMcigb8gwzDOzSv8HyQz0mdFjGn0gVervldA0 iOOQIEf+WX7IW7THTdu0cZ+5ggFZJkFruFEzdTviK7hR/kq29m8rEkGJHJtrdZ7Pfo8z4Z8nr MxS/F1L/4C2OQEURVf6ekHQExXYAHQnkX9gyt6WUBd3r7zoHX5gRUAp30Al/j5sXKblG7XLo1 s96cBjdlfW7DkWnMPODJ03JobmPr7qSCouNDgBWqUlu4FbJ8va8KaN7feqqgEb0gyl2hQhFZO Gx0wiUB
Received-SPF: pass client-ip=212.227.17.21; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-7.2
X-W3C-Hub-Spam-Report: AWL=0.630, BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1dAGx0-0006fd-N9 d2970f21b4768497b69ba920b777f95c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Working Group Last Call: draft-ietf-httpbis-client-hints-04
Archived-At: <http://www.w3.org/mid/624e3e87-43bc-0dc2-d38c-2d69cbb9e93b@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33928
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Here's my (late) LC feedback, mostly nits:



2.1.  Sending Client Hints

    Clients control which Client Hints are sent in requests, based on
    their default settings, user configuration and/or preferences.
    Implementers might provide user choice mechanisms so that users may
    balance privacy concerns with bandwidth limitations.  Implementations
    specific to certain use cases or threat models might avoid
    transmitting these headers altogether, or limit them to secure
    contexts or authenticated sessions.  Implementers should be aware
    that explaining the privacy implications of passive fingerprinting or
    network information disclosure may be challenging.

Througout: avoid lowercase BCP14 keywords (may->can, should->ought to, 
...), or actually invoke the new boilerplate defined in 
draft-leiba-rfc2119-update.


2.2.  Server Processing of Client Hints

    When presented with a request that contains one or more client hint
    headers, servers can optimize the response based upon the information

  s/headers/header fields/

    in them.  When doing so, and if the resource is cacheable, the server
    MUST also generate a Vary response header field (Section 7.1.4 of
    [RFC7231]), and optionally Key ([I-D.ietf-httpbis-key]), to indicate
    which hints can affect the selected response and whether the selected
    response is appropriate for a later request.

It's not optimal to mention a draft that for now is work in progress so 
close to a "MUST", even with "optionally" sprinkled in. My 
recommendation continues to move all material that refers to the Key 
header field to an appendix.

    Further, depending on the hint used, the server can generate
    additional response header fields to convey related values to aid
    client processing.  For example, this specification defines "Content-
    DPR" response header field that needs to be returned by the server

/defines/defines the/

    when the "DPR" hint is used to select the response.


2.2.2.  The Accept-CH-Lifetime header field

    Servers can ask the client to remember an origin-wide Accept-CH
    preference for a specified period of time to enable delivery of
    Client Hints on all subsequent requests to the origin, and on
    subresource requests initiated as a result of processing a response
    from the origin.

We should define "origin" somewhere (and also explain "subresource").


3.  Client Hints

3.1.  The DPR header field

Througout: uppercase "header field" in section titles.


3.2.  The Width header field

    If the desired resource width is not known at the time of the request
    or the resource does not have a display width, the Width header field
    can be omitted. ...

Isn't that evident because sending the hints is purely OPTIONAL anyway?


3.5.  The Save-Data header field

    The "Save-Data" request header field consists of one or more tokens
    that indicate client's preference for reduced data usage, due to high
    transfer costs, slow connection speeds, or other reasons.

      Save-Data = sd-token *( OWS ";" OWS [sd-token] )
      sd-token = token

Why aren't we using HTTP list syntax here? Also, what does it mean when 
the field appears more than once?


7.  References

7.1.  Normative References


    [W3C.CR-css-values-3-20160929]
               Atkins, T. and E. Etemad, "CSS Values and Units Module
               Level 3", World Wide Web Consortium CR CR-css-values-
               3-20160929, September 2016, <https://www.w3.org/TR/2016/
               CR-css-values-3-20160929>.

I would rename this to "CSSVAL" (or something like that) for 
readability.

    [W3C.REC-html5-20141028]
               Hickson, I., Berjon, R., Faulkner, S., Leithead, T.,
               Navara, E., O&#039;Connor, T., and S. Pfeiffer, "HTML5",
               World Wide Web Consortium Recommendation REC-
               html5-20141028, October 2014,
               <http://www.w3.org/TR/2014/REC-html5-20141028>.

I would rename this to "HTML5" (or something like that) for readability. 


7.2.  Informative References

    [I-D.ietf-httpbis-key]
               Fielding, R. and M. Nottingham, "The Key HTTP Response
               Header Field", draft-ietf-httpbis-key-01 (work in
               progress), March 2016.

I would rename this to "KEY" (or something like that) for readability. 


    [RFC6265]  Barth, A., "HTTP State Management Mechanism", RFC 6265,
               DOI 10.17487/RFC6265, April 2011,
               <http://www.rfc-editor.org/info/rfc6265>.



Finally: no Acknowledgements?


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May 15 16:44:08 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A38C7128896 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 May 2017 16:44:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.001
X-Spam-Level:
X-Spam-Status: No, score=-7.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kTsopuezobjS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 May 2017 16:44:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B3CE2129B70 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 15 May 2017 16:41:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dAPYW-0004ij-Eg for ietf-http-wg-dist@listhub.w3.org; Mon, 15 May 2017 23:37:36 +0000
Resent-Date: Mon, 15 May 2017 23:37:36 +0000
Resent-Message-Id: <E1dAPYW-0004ij-Eg@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <bkaduk@akamai.com>) id 1dAPYQ-0004hy-5C for ietf-http-wg@listhub.w3.org; Mon, 15 May 2017 23:37:30 +0000
Received: from mx0a-00190b01.pphosted.com ([67.231.149.131]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <bkaduk@akamai.com>) id 1dAPYI-0001sE-KO for ietf-http-wg@w3.org; Mon, 15 May 2017 23:37:24 +0000
Received: from pps.filterd (m0050095.ppops.net [127.0.0.1]) by m0050095.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4FNWNeV002625; Tue, 16 May 2017 00:36:28 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=subject : to : references : cc : from : message-id : date : mime-version : in-reply-to : content-type; s=jan2016.eng; bh=nD748KAEiMUqDqhFx6I3yaYkpzNNcKuWToR5S6k0ar0=; b=kBZwXcfspj2NFf1PTmPioMaMQ36Ru6XIWeSamH1V5TVyLAq6Z32xXOubV0EC/NZWkKih ZTL/0BnshNl++0iVyDT5LF98q19uMGKd+Ta0ACRIs8/zXcxMmvfr4rnqUvxw1UBeKB+o KaqHXHXQhMH/ffMv0Tk+goAjbSEoDgBVt5N4Q4kzrQ1VB2YJiNvSV+J/iSxn2rovNdDL iBrwCcOorsOyhvS/RyGm6T15xoYdVMtAT0nL//TEyg84lGruuNa8uT2rgbA9v22OpTC8 mv/XoLTKrSCMkFUVgS0koHJN8OWnrlZ0oqr0hJK+VKFIlcKGYgV8rVbcESnoJePqwjsA vw== 
Received: from prod-mail-ppoint4 ([96.6.114.87]) by m0050095.ppops.net-00190b01. with ESMTP id 2afectutd5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2017 00:36:28 +0100
Received: from pps.filterd (prod-mail-ppoint4.akamai.com [127.0.0.1]) by prod-mail-ppoint4.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4FNaRff012017; Mon, 15 May 2017 19:36:27 -0400
Received: from prod-mail-relay14.akamai.com ([172.27.17.39]) by prod-mail-ppoint4.akamai.com with ESMTP id 2adwfvf2cu-1; Mon, 15 May 2017 19:36:27 -0400
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay14.akamai.com (Postfix) with ESMTP id B8D5280052; Mon, 15 May 2017 17:36:25 -0600 (MDT)
To: Martin Thomson <martin.thomson@gmail.com>, Stefan Eissing <stefan.eissing@greenbytes.de>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CABkgnnW1iVa1Ko53qJ_Xjay0rfVC6saA3eAvoGea5u-42hmRKQ@mail.gmail.com> <20170512052814.GB14701@1wt.eu> <CABkgnnWfROpZPPP8ovDroEGHQBzQOJr4BeRQwo8xuRZWAb+Jqg@mail.gmail.com> <A7D15E43-AA9C-4C4B-85B8-C296E3D1FBF4@greenbytes.de> <CABkgnnUsURB=62j_xdvY60k9pG4J8i3_pX_ZMYyHxPC8EMhRTw@mail.gmail.com>
Cc: Willy Tarreau <w@1wt.eu>, Kazuho Oku <kazuhooku@gmail.com>, Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>
From: Benjamin Kaduk <bkaduk@akamai.com>
X-Enigmail-Draft-Status: N1110
Message-ID: <6aec2d7a-08be-2919-ebcd-4e3049fc79cc@akamai.com>
Date: Mon, 15 May 2017 18:36:25 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CABkgnnUsURB=62j_xdvY60k9pG4J8i3_pX_ZMYyHxPC8EMhRTw@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------09B7CA8EEC61574049C948C6"
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-05-15_12:,, signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=2 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705150224
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-05-15_12:,, signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705150223
Received-SPF: pass client-ip=67.231.149.131; envelope-from=bkaduk@akamai.com; helo=mx0a-00190b01.pphosted.com
X-W3C-Hub-Spam-Status: No, score=-4.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, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1dAPYI-0001sE-KO c593afb1ec68f67014411302bc0ff14c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/6aec2d7a-08be-2919-ebcd-4e3049fc79cc@akamai.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33929
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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.
--------------09B7CA8EEC61574049C948C6
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

[late to the party; pulling snippets from multiple messages]

On 05/13/2017 08:02 PM, Martin Thomson wrote:
> Yes, this is going to be subjective.  The great thing about the
> strategy that we have here is that nothing is vulnerable to replay
> unless both client and server agree to that risk.

I think in order to strictly get the property that the server has agreed
to that risk we need the new response code "try again 1-RTT", to
accommodate servers that cannot buffer the entire 0-RTT request or other
edge cases.  But I don't think that is controversial to have.

> It's much trickier for intermediaries, who make this decision without
> a great deal of information, but the calculus is still fundamentally
> the same.

I don't think we should let a lack of clarity on what the proxy
situation will look like keep us from writing up what to do for direct
client/server interactions -- yes, proxies would be restricted to 1-RTT,
but that's the state of affairs with TLS 1.2 anyway.



On 05/12/2017 03:21 AM, Stefan Eissing wrote:
> What a client wants to send early, might not be what the server is willing
> to process right away. Servers can always chose to not enable early data at 
> all, or, in case of doubt about the data, wait for the handshake to complete.
>
> At least in h2 it seems to be clear how to do that, is there a way for 
> http/1.1 to do the same? Is there maybe a generic TLS1.3 way to do that?

There cannot be a generic TLS 1.3 way to do so; it would be a layering
violation.  TLS just moves the bytes; the interpretation ("willing to
process right away") must be done by the application layer.  The
application is of course free to implement the "buffer everything until
handshake completion" strategy, but I am not sure we want to mandate
that level of buffering.

> If we can define a way for TLS receivers to wait for the handshake, then
> there is no need to expect failure from early data, except servers not
> following this strategy or being reconfigured between sessions.

I don't think there's a reliable way to do that, and we'll have to
provision a way for clients to handle early data failures.




On 05/12/2017 06:36 AM, Kazuho Oku wrote:
> 2017-05-12 17:21 GMT+09:00 Poul-Henning Kamp <phk@phk.freebsd.dk>:
>> --------
>> In message <CANatvzw9zeVfQMBCXGhakFomL2MaTqFNF65jKWHCDXQQ8rxcTA@mail.gmail.com>
>> , Kazuho Oku writes:
>>
>>> The kind of the deployment I was considering was one that deploys a
>>> TLS terminator that just decrypts the data and sends to backend (i.e.
>>> TLS to TCP, not an HTTP reverse proxy). My idea was that you could add
>>> a new field to the Proxy Protocol that indicates the amount of 0-RTT
>>> data that follows the header of the PROXY Protocol.
>> Can you even know that at the time you send the PROXY protocol header ?
> Actually, you do not even need to know or transmit the exact amount of
> the 0-RTT data when you transmit the PROXY protocol header. What you
> need to transmit is the amount of replayable data.

I don't think that information will always be available, as more 0-RTT
data may still be arriving.

> I believe that there could be several ways, but something like below
> should work.
>
> * postpone sending the PROXY Protocol header until receiving the first
> flight of 0-RTT data
> * include the size of the 0-RTT data being received as an attribute in
> the PROXY Protocol header that is sent to the backend

There can be multiple flights of 0-RTT data; you don't know it's ended
until the EndOfEarlyData, which can be quite late.

> * postpone forwarding the rest of 0-RTT data to the server until the
> handshake succeeds

Does this not require committing to buffer everything (else)?  It's far
from clear that all devices will be able to do so.

> The assumption behind the approach is that the 0-RTT data from the
> client (e.g. HTTP request) will likely fit in one packet, possibly in
> the same packet that carries ClientHello (or in a few number of
> packets that will arrive while the server does DH operation). The
> approach also uses the fact that a successful handshake can be used to
> rule out the possibility of the 0-RTT data being replayed by an
> attacker.


I cannot see how that would be a widely valid assumption, let alone
universally valid.

In the general case, I would expect it to be possible to transmit
multiple complete (h2) requests in 0-RTT data.  Is your proposal to only
let the first one through and buffer the rest?




On 05/11/2017 12:15 PM, Ilari Liusvaara wrote:
> Reading the cryptographer's concerns regarding 0-RTT, the main ones
> seem to be:
>
> - Possible lack of strong anti-replay. Possibly leading to >10^6 (!!!)
>   replays. 
>   * This is enough to exploit pretty subtle side-channel attacks. And
>     these attacks are at least extremely difficult to defend against.
>   * This causes severe problems for high-performance rate-limiting
>     systems.

I mostly expect "all" servers to rate limit 0-RTT acceptances to
O(10^4.5) per second per SNI name (or similar), i.e., a level that is
not expected to trigger during normal operation but would slow down a
side channel attack.  Perhaps we should include guidance on this.




On 05/11/2017 10:30 AM, Kazuho Oku wrote:
> What I am arguing against is creating a specification that suggests an
> user agent (not an intermediary) to resend HTTP request on a 0-RTT
> enabled TLS connection. 0-RTT is an optimization for connections with
> big latency. Such connections typically cost certain amount of money.

"Says who?"  There are many potential use cases for 0-RTT, not all
written down.

My understanding is that browsers are latching onto research showing
that even 20 milliseconds of extra delay can affect user response
statistics, and trying to go as fast as possible.  That applies even on
broadband, not just on satellite.

> Asking the user agent to resend a HTTP request that has been sent over
> a 0-RTT connection not only eliminates the merits provided by 0-RTT
> but also doubles the consumed bandwidth. That does not sound right to
> me. I think the right advise we should provide for such case is: turn
> off 0-RTT.

I don't think we should recommend the user agent to resend HTTP requests
from rejected 0-RTT, but I think we will encounter some situations where
it is unavoidable.  We can give guidance on how to best avoid it, of course.




On 05/11/2017 06:31 AM, Kazuho Oku wrote:
> So, while I agree that it is beneficial to have an agreement on how
> the interaction scheme between the origin server and the application
> running behind (possibly as an informational RFC), I do not see a
> strong reason that we need to introduce some kind of profile due the
> introduction of 0-RTT data in TLS 1.3.

Just to clarify: it is mandatory that we have a profile document that
specifies the interaction between TLS 0-RTT data and HTTP; the TLS 1.3
specification says that "[p]rotocols MUST NOT use 0-RTT data without a
profile that defines its use".  That profile document may or may not end
up being very simple, but it must exist.



On 05/10/2017 07:23 PM, Mark Nottingham wrote:
>> 3) Being very explicit on how to handle early data that is rejected and forced to be resent following connection establishment (ie, when the server forces a client into 1-RTT mode by rejecting the early data).  A worst case would be if a server actually handled the early data anyways but the client thought the server had rejected it.  In HTTP/1.1 this could result in them being off-by-one in requests/responses (and could lead to some HTTP Request Smuggling style bugs and vulnerabilities.)
> I'd hope that TLS/QUIC are explicit here, and that we wouldn't need to be; that's the beauty of layered protocols :)

Well, TLS/QUIC are supposed to be explicit about whether early data is
rejected at the TLS layer, and we can probably rely on that.  But, (1)
that just means that the data is passed on to the application/HTTP
stack, which has its own crack to reject (subsets of) the early data. 
And, of course, (2) there can always be implementation bugs.  So we'll
want to be careful about the semantics of what rejection at the
different layers mean and how it is handled.

-Ben

--------------09B7CA8EEC61574049C948C6
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">
    [late to the party; pulling snippets from multiple messages]<br>
    <br>
    On 05/13/2017 08:02 PM, Martin Thomson wrote:<br>
    <blockquote
cite="mid:CABkgnnUsURB=62j_xdvY60k9pG4J8i3_pX_ZMYyHxPC8EMhRTw@mail.gmail.com"
      type="cite">
      <pre wrap="">Yes, this is going to be subjective.  The great thing about the
strategy that we have here is that nothing is vulnerable to replay
unless both client and server agree to that risk.
</pre>
    </blockquote>
    <br>
    I think in order to strictly get the property that the server has
    agreed to that risk we need the new response code "try again 1-RTT",
    to accommodate servers that cannot buffer the entire 0-RTT request
    or other edge cases.  But I don't think that is controversial to
    have.<br>
    <br>
    <blockquote
cite="mid:CABkgnnUsURB=62j_xdvY60k9pG4J8i3_pX_ZMYyHxPC8EMhRTw@mail.gmail.com"
      type="cite">
      <pre wrap="">
It's much trickier for intermediaries, who make this decision without
a great deal of information, but the calculus is still fundamentally
the same.</pre>
    </blockquote>
    <br>
    I don't think we should let a lack of clarity on what the proxy
    situation will look like keep us from writing up what to do for
    direct client/server interactions -- yes, proxies would be
    restricted to 1-RTT, but that's the state of affairs with TLS 1.2
    anyway.<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 05/12/2017 03:21 AM, Stefan Eissing
      wrote:<br>
    </div>
    <blockquote
      cite="mid:A7D15E43-AA9C-4C4B-85B8-C296E3D1FBF4@greenbytes.de"
      type="cite">
      <pre wrap="">What a client wants to send early, might not be what the server is willing
to process right away. Servers can always chose to not enable early data at 
all, or, in case of doubt about the data, wait for the handshake to complete.

At least in h2 it seems to be clear how to do that, is there a way for 
http/1.1 to do the same? Is there maybe a generic TLS1.3 way to do that?
</pre>
    </blockquote>
    <br>
    There cannot be a generic TLS 1.3 way to do so; it would be a
    layering violation.  TLS just moves the bytes; the interpretation
    ("willing to process right away") must be done by the application
    layer.  The application is of course free to implement the "buffer
    everything until handshake completion" strategy, but I am not sure
    we want to mandate that level of buffering.<br>
    <br>
    <blockquote
      cite="mid:A7D15E43-AA9C-4C4B-85B8-C296E3D1FBF4@greenbytes.de"
      type="cite">
      <pre wrap="">
If we can define a way for TLS receivers to wait for the handshake, then
there is no need to expect failure from early data, except servers not
following this strategy or being reconfigured between sessions.
</pre>
    </blockquote>
    <br>
    I don't think there's a reliable way to do that, and we'll have to
    provision a way for clients to handle early data failures.<br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 05/12/2017 06:36 AM, Kazuho Oku
      wrote:<br>
    </div>
    <blockquote
cite="mid:CANatvzw9biTenkNhRy12F20gHAS0i+o8=BEBM+zxCd+-abcAZg@mail.gmail.com"
      type="cite">
      <pre wrap="">2017-05-12 17:21 GMT+09:00 Poul-Henning Kamp <a class="moz-txt-link-rfc2396E" href="mailto:phk@phk.freebsd.dk">&lt;phk@phk.freebsd.dk&gt;</a>:
</pre>
      <blockquote type="cite">
        <pre wrap="">--------
In message <a class="moz-txt-link-rfc2396E" href="mailto:CANatvzw9zeVfQMBCXGhakFomL2MaTqFNF65jKWHCDXQQ8rxcTA@mail.gmail.com">&lt;CANatvzw9zeVfQMBCXGhakFomL2MaTqFNF65jKWHCDXQQ8rxcTA@mail.gmail.com&gt;</a>
, Kazuho Oku writes:

</pre>
        <blockquote type="cite">
          <pre wrap="">The kind of the deployment I was considering was one that deploys a
TLS terminator that just decrypts the data and sends to backend (i.e.
TLS to TCP, not an HTTP reverse proxy). My idea was that you could add
a new field to the Proxy Protocol that indicates the amount of 0-RTT
data that follows the header of the PROXY Protocol.
</pre>
        </blockquote>
        <pre wrap="">Can you even know that at the time you send the PROXY protocol header ?
</pre>
      </blockquote>
      <pre wrap="">Actually, you do not even need to know or transmit the exact amount of
the 0-RTT data when you transmit the PROXY protocol header. What you
need to transmit is the amount of replayable data.
</pre>
    </blockquote>
    <br>
    I don't think that information will always be available, as more
    0-RTT data may still be arriving.<br>
    <br>
    <blockquote
cite="mid:CANatvzw9biTenkNhRy12F20gHAS0i+o8=BEBM+zxCd+-abcAZg@mail.gmail.com"
      type="cite">
      <pre wrap="">
I believe that there could be several ways, but something like below
should work.

* postpone sending the PROXY Protocol header until receiving the first
flight of 0-RTT data
* include the size of the 0-RTT data being received as an attribute in
the PROXY Protocol header that is sent to the backend</pre>
    </blockquote>
    <br>
    There can be multiple flights of 0-RTT data; you don't know it's
    ended until the EndOfEarlyData, which can be quite late.<br>
    <br>
    <blockquote
cite="mid:CANatvzw9biTenkNhRy12F20gHAS0i+o8=BEBM+zxCd+-abcAZg@mail.gmail.com"
      type="cite">
      <pre wrap="">
* postpone forwarding the rest of 0-RTT data to the server until the
handshake succeeds
</pre>
    </blockquote>
    <br>
    Does this not require committing to buffer everything (else)?  It's
    far from clear that all devices will be able to do so.<br>
    <br>
    <blockquote
cite="mid:CANatvzw9biTenkNhRy12F20gHAS0i+o8=BEBM+zxCd+-abcAZg@mail.gmail.com"
      type="cite">
      <pre wrap="">
The assumption behind the approach is that the 0-RTT data from the
client (e.g. HTTP request) will likely fit in one packet, possibly in
the same packet that carries ClientHello (or in a few number of
packets that will arrive while the server does DH operation). The
approach also uses the fact that a successful handshake can be used to
rule out the possibility of the 0-RTT data being replayed by an
attacker.
</pre>
    </blockquote>
    <br>
    <br>
    I cannot see how that would be a widely valid assumption, let alone
    universally valid.<br>
    <br>
    In the general case, I would expect it to be possible to transmit
    multiple complete (h2) requests in 0-RTT data.  Is your proposal to
    only let the first one through and buffer the rest?<br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 05/11/2017 12:15 PM, Ilari Liusvaara
      wrote:<br>
    </div>
    <blockquote
      cite="mid:20170511171542.GA28767@LK-Perkele-V2.elisa-laajakaista.fi"
      type="cite">
      <pre wrap="">Reading the cryptographer's concerns regarding 0-RTT, the main ones
seem to be:

- Possible lack of strong anti-replay. Possibly leading to &gt;10^6 (!!!)
  replays. 
  * This is enough to exploit pretty subtle side-channel attacks. And
    these attacks are at least extremely difficult to defend against.
  * This causes severe problems for high-performance rate-limiting
    systems.</pre>
    </blockquote>
    <br>
    I mostly expect "all" servers to rate limit 0-RTT acceptances to
    O(10^4.5) per second per SNI name (or similar), i.e., a level that
    is not expected to trigger during normal operation but would slow
    down a side channel attack.  Perhaps we should include guidance on
    this.<br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 05/11/2017 10:30 AM, Kazuho Oku
      wrote:<br>
    </div>
    <blockquote
cite="mid:CANatvzw9zeVfQMBCXGhakFomL2MaTqFNF65jKWHCDXQQ8rxcTA@mail.gmail.com"
      type="cite">
      <pre wrap="">What I am arguing against is creating a specification that suggests an
user agent (not an intermediary) to resend HTTP request on a 0-RTT
enabled TLS connection. 0-RTT is an optimization for connections with
big latency. Such connections typically cost certain amount of money.</pre>
    </blockquote>
    <br>
    "Says who?"  There are many potential use cases for 0-RTT, not all
    written down.<br>
    <br>
    My understanding is that browsers are latching onto research showing
    that even 20 milliseconds of extra delay can affect user response
    statistics, and trying to go as fast as possible.  That applies even
    on broadband, not just on satellite.<br>
    <br>
    <blockquote
cite="mid:CANatvzw9zeVfQMBCXGhakFomL2MaTqFNF65jKWHCDXQQ8rxcTA@mail.gmail.com"
      type="cite">
      <pre wrap="">
Asking the user agent to resend a HTTP request that has been sent over
a 0-RTT connection not only eliminates the merits provided by 0-RTT
but also doubles the consumed bandwidth. That does not sound right to
me. I think the right advise we should provide for such case is: turn
off 0-RTT.
</pre>
    </blockquote>
    <br>
    I don't think we should recommend the user agent to resend HTTP
    requests from rejected 0-RTT, but I think we will encounter some
    situations where it is unavoidable.  We can give guidance on how to
    best avoid it, of course.<br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 05/11/2017 06:31 AM, Kazuho Oku
      wrote:<br>
    </div>
    <blockquote
cite="mid:CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com"
      type="cite">
      <pre wrap="">So, while I agree that it is beneficial to have an agreement on how
the interaction scheme between the origin server and the application
running behind (possibly as an informational RFC), I do not see a
strong reason that we need to introduce some kind of profile due the
introduction of 0-RTT data in TLS 1.3.</pre>
    </blockquote>
    <br>
    Just to clarify: it is mandatory that we have a profile document
    that specifies the interaction between TLS 0-RTT data and HTTP; the
    TLS 1.3 specification says that "[p]rotocols MUST NOT use 0-RTT data
    without a profile that defines its use".  That profile document may
    or may not end up being very simple, but it must exist.<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 05/10/2017 07:23 PM, Mark Nottingham
      wrote:<br>
    </div>
    <blockquote cite="mid:0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net"
      type="cite">
      <blockquote type="cite" style="color: #000000;">
        <pre wrap="">3) Being very explicit on how to handle early data that is rejected and forced to be resent following connection establishment (ie, when the server forces a client into 1-RTT mode by rejecting the early data).  A worst case would be if a server actually handled the early data anyways but the client thought the server had rejected it.  In HTTP/1.1 this could result in them being off-by-one in requests/responses (and could lead to some HTTP Request Smuggling style bugs and vulnerabilities.)
</pre>
      </blockquote>
      <pre wrap="">I'd hope that TLS/QUIC are explicit here, and that we wouldn't need to be; that's the beauty of layered protocols :)
</pre>
    </blockquote>
    <br>
    Well, TLS/QUIC are supposed to be explicit about whether early data
    is rejected at the TLS layer, and we can probably rely on that. 
    But, (1) that just means that the data is passed on to the
    application/HTTP stack, which has its own crack to reject (subsets
    of) the early data.  And, of course, (2) there can always be
    implementation bugs.  So we'll want to be careful about the
    semantics of what rejection at the different layers mean and how it
    is handled.<br>
    <br>
    -Ben<br>
  </body>
</html>

--------------09B7CA8EEC61574049C948C6--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May 15 20:06:28 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A200A12EB0C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 May 2017 20:06:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.501
X-Spam-Level:
X-Spam-Status: No, score=-6.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y8jBUcA1EOto for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 May 2017 20:06:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4822912EB10 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 15 May 2017 20:03:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dASht-0001wG-A7 for ietf-http-wg-dist@listhub.w3.org; Tue, 16 May 2017 02:59:29 +0000
Resent-Date: Tue, 16 May 2017 02:59:29 +0000
Resent-Message-Id: <E1dASht-0001wG-A7@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <kazuhooku@gmail.com>) id 1dAShn-0001vU-Ep for ietf-http-wg@listhub.w3.org; Tue, 16 May 2017 02:59:23 +0000
Received: from mail-pg0-f53.google.com ([74.125.83.53]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <kazuhooku@gmail.com>) id 1dAShg-00053F-Ab for ietf-http-wg@w3.org; Tue, 16 May 2017 02:59:18 +0000
Received: by mail-pg0-f53.google.com with SMTP id x64so49716499pgd.3 for <ietf-http-wg@w3.org>; Mon, 15 May 2017 19:58:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CWXvjRMZr+uu69e+cFjFzPrJ6i1/4gnYlAeQZf0LPkE=; b=GLR0pfy3fFDtaC2rc1m0acJ+KnT0Vji99+40d4+3YtN/0UC3wNQYbUoJrxTLQudJg5 IAhDnQGDNJekREBB1PSEFfvxN8jWIDv7IK/28uulzilyJvkMPQf/1tZlOMh8BNfUambH DV0c5294OcjPuTlBVVW2qBYly+AvXyg3UbHbMpTt5EUd0uG1Rnb5h+22tauHtMGfubJN JEjcDrThOA7rZulHlQaVLVckudDcUjS9A5cjEU7ZA4yulS0tjWx5HE1KwBF7BkO0jv8q eE4ALsnf9fYU25UVdAUlwPhNVB9gKH8kpZa3xjFZbB9baakFAXGfik/rJgDs5vUWWlfg r7vQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CWXvjRMZr+uu69e+cFjFzPrJ6i1/4gnYlAeQZf0LPkE=; b=EGenbXT+4wywc+kfELuTCUqLlL/7HkDuGGuFr7ydebC8Awh2nBOnIoCmpm+wj+YX36 tB+TAZWbDWx8xFURN2moL/INTA1ucudJfW+fKHQ9x9iFlBJcr8egrKRPI/E7u4KVxj8H JxNpOdUxlCXtkB/fw0vb2jmgpf0FBcHcXJoRQg9Ay40OYYbobgh6HwpFIXsCBbU8aLfF az7mEaoAjNIBZiLR2WOBhNWx5q3xriLwH7OAALwNGF8CCycoGoarUSNl98HRF6XmSnG1 jbHWZ8Zs5II+ZdWjh4yS9gPZ3WB4vNsDg7ccoXt+A7oTt7s2e+/XlTMkQmf/lwu5gyhG X83A==
X-Gm-Message-State: AODbwcDYQS0sMMQf6wz1Y6m5dSh6aOzC1uaeZsZkCd/WdWiWZPeqf4vm 6p8m9S9uzeqHrKNf9kgv35QKMzqy5309jvE=
X-Received: by 10.98.35.142 with SMTP id q14mr9662916pfj.220.1494903529704; Mon, 15 May 2017 19:58:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.135.79 with HTTP; Mon, 15 May 2017 19:58:48 -0700 (PDT)
In-Reply-To: <6aec2d7a-08be-2919-ebcd-4e3049fc79cc@akamai.com>
References: <CAKC-DJjvsYSnENzz2J6RGkA8Kw70yOvnSyq9HT8S5eTxt_zMwA@mail.gmail.com> <0000ABB9-E34B-4082-B289-DDB97997CB00@mnot.net> <20170511053315.GA10978@1wt.eu> <C28E2CB2-5F28-4853-8DDD-2EF5705878D7@greenbytes.de> <CANatvzwJaC=fxrJxuaNL41awbpCoL=z=FijHoatMNke-fiYZAQ@mail.gmail.com> <AB180DA6-217C-4471-847C-0151BD923257@greenbytes.de> <CANatvzzGNxXd=dMNOC1bADieFzcBZYhUAcgdC9n4mQK24MCZnA@mail.gmail.com> <37AF17E1-3D4D-424B-B614-C6D6102DD135@greenbytes.de> <CABkgnnW1iVa1Ko53qJ_Xjay0rfVC6saA3eAvoGea5u-42hmRKQ@mail.gmail.com> <20170512052814.GB14701@1wt.eu> <CABkgnnWfROpZPPP8ovDroEGHQBzQOJr4BeRQwo8xuRZWAb+Jqg@mail.gmail.com> <A7D15E43-AA9C-4C4B-85B8-C296E3D1FBF4@greenbytes.de> <CABkgnnUsURB=62j_xdvY60k9pG4J8i3_pX_ZMYyHxPC8EMhRTw@mail.gmail.com> <6aec2d7a-08be-2919-ebcd-4e3049fc79cc@akamai.com>
From: Kazuho Oku <kazuhooku@gmail.com>
Date: Tue, 16 May 2017 11:58:48 +0900
Message-ID: <CANatvzxvQ5UCH7zECLViov1WLWGZa-SC3On3YU_o_Vi0ecjB0A@mail.gmail.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: Martin Thomson <martin.thomson@gmail.com>, Stefan Eissing <stefan.eissing@greenbytes.de>,  Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>, Erik Nygren <erik@nygren.org>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Ponec, Miroslav" <mponec@akamai.com>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=74.125.83.53; envelope-from=kazuhooku@gmail.com; helo=mail-pg0-f53.google.com
X-W3C-Hub-Spam-Status: No, score=-4.0
X-W3C-Hub-Spam-Report: AWL=-0.485, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1dAShg-00053F-Ab d95af98ba2ee6df71e91a3d55dbbcf3b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP profile for TLS 1.3 0-RTT early data?
Archived-At: <http://www.w3.org/mid/CANatvzxvQ5UCH7zECLViov1WLWGZa-SC3On3YU_o_Vi0ecjB0A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33930
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

2017-05-16 8:36 GMT+09:00 Benjamin Kaduk <bkaduk@akamai.com>:
> [late to the party; pulling snippets from multiple messages]
>
> On 05/13/2017 08:02 PM, Martin Thomson wrote:
>
> Yes, this is going to be subjective.  The great thing about the
> strategy that we have here is that nothing is vulnerable to replay
> unless both client and server agree to that risk.
>
>
> I think in order to strictly get the property that the server has agreed to
> that risk we need the new response code "try again 1-RTT", to accommodate
> servers that cannot buffer the entire 0-RTT request or other edge cases.
> But I don't think that is controversial to have.
>
> It's much trickier for intermediaries, who make this decision without
> a great deal of information, but the calculus is still fundamentally
> the same.
>
>
> I don't think we should let a lack of clarity on what the proxy situation
> will look like keep us from writing up what to do for direct client/server
> interactions -- yes, proxies would be restricted to 1-RTT, but that's the
> state of affairs with TLS 1.2 anyway.
>
>
>
> On 05/12/2017 03:21 AM, Stefan Eissing wrote:
>
> What a client wants to send early, might not be what the server is willing
> to process right away. Servers can always chose to not enable early data at
> all, or, in case of doubt about the data, wait for the handshake to
> complete.
>
> At least in h2 it seems to be clear how to do that, is there a way for
> http/1.1 to do the same? Is there maybe a generic TLS1.3 way to do that?
>
>
> There cannot be a generic TLS 1.3 way to do so; it would be a layering
> violation.  TLS just moves the bytes; the interpretation ("willing to
> process right away") must be done by the application layer.  The application
> is of course free to implement the "buffer everything until handshake
> completion" strategy, but I am not sure we want to mandate that level of
> buffering.

I believe that there could be a generic way, if there is a provision
stating that a client is always required to send Finished. That is the
intention behind the PR:
https://github.com/tlswg/tls13-spec/pull/1017.

Of course, having such provision does require all servers to adopt the strategy.

> If we can define a way for TLS receivers to wait for the handshake, then
> there is no need to expect failure from early data, except servers not
> following this strategy or being reconfigured between sessions.
>
>
> I don't think there's a reliable way to do that, and we'll have to provision
> a way for clients to handle early data failures.
>
>
>
>
> On 05/12/2017 06:36 AM, Kazuho Oku wrote:
>
> 2017-05-12 17:21 GMT+09:00 Poul-Henning Kamp <phk@phk.freebsd.dk>:
>
> --------
> In message
> <CANatvzw9zeVfQMBCXGhakFomL2MaTqFNF65jKWHCDXQQ8rxcTA@mail.gmail.com>
> , Kazuho Oku writes:
>
> The kind of the deployment I was considering was one that deploys a
> TLS terminator that just decrypts the data and sends to backend (i.e.
> TLS to TCP, not an HTTP reverse proxy). My idea was that you could add
> a new field to the Proxy Protocol that indicates the amount of 0-RTT
> data that follows the header of the PROXY Protocol.
>
> Can you even know that at the time you send the PROXY protocol header ?
>
> Actually, you do not even need to know or transmit the exact amount of
> the 0-RTT data when you transmit the PROXY protocol header. What you
> need to transmit is the amount of replayable data.
>
>
> I don't think that information will always be available, as more 0-RTT data
> may still be arriving.
>
> I believe that there could be several ways, but something like below
> should work.
>
> * postpone sending the PROXY Protocol header until receiving the first
> flight of 0-RTT data
> * include the size of the 0-RTT data being received as an attribute in
> the PROXY Protocol header that is sent to the backend
>
>
> There can be multiple flights of 0-RTT data; you don't know it's ended until
> the EndOfEarlyData, which can be quite late.
>
> * postpone forwarding the rest of 0-RTT data to the server until the
> handshake succeeds
>
>
> Does this not require committing to buffer everything (else)?  It's far from
> clear that all devices will be able to do so.
>
> The assumption behind the approach is that the 0-RTT data from the
> client (e.g. HTTP request) will likely fit in one packet, possibly in
> the same packet that carries ClientHello (or in a few number of
> packets that will arrive while the server does DH operation). The
> approach also uses the fact that a successful handshake can be used to
> rule out the possibility of the 0-RTT data being replayed by an
> attacker.
>
>
>
> I cannot see how that would be a widely valid assumption, let alone
> universally valid.
>
> In the general case, I would expect it to be possible to transmit multiple
> complete (h2) requests in 0-RTT data.  Is your proposal to only let the
> first one through and buffer the rest?

Yes. That is what I am suggesting.

I agree that it is not optimal. And it's not something I would be
interested in implementing it.

OTOH, I still anticipate that such method would work well for HTTP,
since I believe that the most common case in which HTTP over 0-RTT
will be used is when a user returns back to a web site after some
time. In such case, only the request for the web page will be sent in
the first flight, and fetching of the resources that are required to
render the web page will start after the response to the first request
starts arriving at the client.

>
>
>
> On 05/11/2017 12:15 PM, Ilari Liusvaara wrote:
>
> Reading the cryptographer's concerns regarding 0-RTT, the main ones
> seem to be:
>
> - Possible lack of strong anti-replay. Possibly leading to >10^6 (!!!)
>   replays.
>   * This is enough to exploit pretty subtle side-channel attacks. And
>     these attacks are at least extremely difficult to defend against.
>   * This causes severe problems for high-performance rate-limiting
>     systems.
>
>
> I mostly expect "all" servers to rate limit 0-RTT acceptances to O(10^4.5)
> per second per SNI name (or similar), i.e., a level that is not expected to
> trigger during normal operation but would slow down a side channel attack.
> Perhaps we should include guidance on this.
>
>
>
>
> On 05/11/2017 10:30 AM, Kazuho Oku wrote:
>
> What I am arguing against is creating a specification that suggests an
> user agent (not an intermediary) to resend HTTP request on a 0-RTT
> enabled TLS connection. 0-RTT is an optimization for connections with
> big latency. Such connections typically cost certain amount of money.
>
>
> "Says who?"  There are many potential use cases for 0-RTT, not all written
> down.
>
> My understanding is that browsers are latching onto research showing that
> even 20 milliseconds of extra delay can affect user response statistics, and
> trying to go as fast as possible.  That applies even on broadband, not just
> on satellite.
>
> Asking the user agent to resend a HTTP request that has been sent over
> a 0-RTT connection not only eliminates the merits provided by 0-RTT
> but also doubles the consumed bandwidth. That does not sound right to
> me. I think the right advise we should provide for such case is: turn
> off 0-RTT.
>
>
> I don't think we should recommend the user agent to resend HTTP requests
> from rejected 0-RTT, but I think we will encounter some situations where it
> is unavoidable.  We can give guidance on how to best avoid it, of course.

Agreed.

>
>
>
>
> On 05/11/2017 06:31 AM, Kazuho Oku wrote:
>
> So, while I agree that it is beneficial to have an agreement on how
> the interaction scheme between the origin server and the application
> running behind (possibly as an informational RFC), I do not see a
> strong reason that we need to introduce some kind of profile due the
> introduction of 0-RTT data in TLS 1.3.
>
>
> Just to clarify: it is mandatory that we have a profile document that
> specifies the interaction between TLS 0-RTT data and HTTP; the TLS 1.3
> specification says that "[p]rotocols MUST NOT use 0-RTT data without a
> profile that defines its use".  That profile document may or may not end up
> being very simple, but it must exist.
>
>
>
> On 05/10/2017 07:23 PM, Mark Nottingham wrote:
>
> 3) Being very explicit on how to handle early data that is rejected and
> forced to be resent following connection establishment (ie, when the server
> forces a client into 1-RTT mode by rejecting the early data).  A worst case
> would be if a server actually handled the early data anyways but the client
> thought the server had rejected it.  In HTTP/1.1 this could result in them
> being off-by-one in requests/responses (and could lead to some HTTP Request
> Smuggling style bugs and vulnerabilities.)
>
> I'd hope that TLS/QUIC are explicit here, and that we wouldn't need to be;
> that's the beauty of layered protocols :)
>
>
> Well, TLS/QUIC are supposed to be explicit about whether early data is
> rejected at the TLS layer, and we can probably rely on that.  But, (1) that
> just means that the data is passed on to the application/HTTP stack, which
> has its own crack to reject (subsets of) the early data.  And, of course,
> (2) there can always be implementation bugs.  So we'll want to be careful
> about the semantics of what rejection at the different layers mean and how
> it is handled.
>
> -Ben



-- 
Kazuho Oku


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May 15 22:46:37 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E31B9129B79 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 May 2017 22:46:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PvuCaNPJWofR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 May 2017 22:46:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A224C127868 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 15 May 2017 22:44:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dAVDp-0002zF-61 for ietf-http-wg-dist@listhub.w3.org; Tue, 16 May 2017 05:40:37 +0000
Resent-Date: Tue, 16 May 2017 05:40:37 +0000
Resent-Message-Id: <E1dAVDp-0002zF-61@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <internet-drafts@ietf.org>) id 1dAVDh-0002yQ-4W for ietf-http-wg@listhub.w3.org; Tue, 16 May 2017 05:40:29 +0000
Received: from mail.ietf.org ([4.31.198.44]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <internet-drafts@ietf.org>) id 1dAVDa-0005Cu-J8 for ietf-http-wg@w3.org; Tue, 16 May 2017 05:40:23 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id DC3C912EA64; Mon, 15 May 2017 22:39:55 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.50.1
Auto-Submitted: auto-generated
Message-ID: <149491319586.11973.16792668722549032434@ietfa.amsl.com>
Date: Mon, 15 May 2017 22:39:55 -0700
Received-SPF: pass client-ip=4.31.198.44; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-6.2
X-W3C-Hub-Spam-Report: AWL=0.050, BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1dAVDa-0005Cu-J8 737f5f65d2c78a7fbe0b3ce0e83c99d8
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-early-hints-02.txt
Archived-At: <http://www.w3.org/mid/149491319586.11973.16792668722549032434@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33931
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 directories.
This draft is a work item of the Hypertext Transfer Protocol of the IETF.

        Title           : An HTTP Status Code for Indicating Hints
        Author          : Kazuho Oku
	Filename        : draft-ietf-httpbis-early-hints-02.txt
	Pages           : 5
	Date            : 2017-05-15

Abstract:
   This memo introduces an informational HTTP status code that can be
   used to convey hints that help a client make preparations for
   processing the final response.

Note to Readers

   Discussion of this draft takes place on the HTTP working group
   mailing list (ietf-http-wg@w3.org), which is archived at
   https://lists.w3.org/Archives/Public/ietf-http-wg/ .

   Working Group information can be found at https://httpwg.github.io/ ;
   source code and issues list for this draft can be found at
   https://github.com/httpwg/http-extensions/labels/early-hints .


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

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-httpbis-early-hints-02
https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-early-hints-02

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-httpbis-early-hints-02


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

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



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May 17 00:08:34 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1A751126DCA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 May 2017 00:08:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_ADSP_CUSTOM_MED=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Oa1N5V-yB-qX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 May 2017 00:08:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A6B991275C5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 May 2017 00:04:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dAsxK-0006TZ-Vv for ietf-http-wg-dist@listhub.w3.org; Wed, 17 May 2017 07:01:11 +0000
Resent-Message-Id: <E1dAsxK-0006TZ-Vv@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <ylafon@w3.org>) id 1dAsxC-0006Rd-Q1 for ietf-http-wg@listhub.w3.org; Wed, 17 May 2017 07:01:02 +0000
Received: from raoul.w3.org ([128.30.52.128]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <ylafon@w3.org>) id 1dAsx7-0000Nr-0T for ietf-http-wg@w3.org; Wed, 17 May 2017 07:00:57 +0000
Received: from homard.platy.net ([80.67.176.7] helo=[192.168.1.36]) by raoul.w3.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ylafon@w3.org>) id 1dAsx6-0000ju-MI for ietf-http-wg@w3.org; Wed, 17 May 2017 07:00:56 +0000
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Simeon Frid <simeon.frid@gmail.com>
Resent-From: Yves Lafon <ylafon@w3.org>
Date: Tue, 16 May 2017 15:53:44 +0000
Content-Transfer-Encoding: quoted-printable
Resent-Date: Wed, 17 May 2017 09:00:54 +0200
Resent-To: ietf-http-wg@w3.org
Message-Id: <CAGp_bqdh=EZ5Gu+FLMyo0sOB_3W8ZTR1PS9pTW76gxxviFHRZA@mail.gmail.com>
X-Name-Md5: efe3dad792d606410c9cc49cedaffc94
To: ietf-http-wg@w3.org
X-Mailer: Apple Mail (2.3273)
X-W3C-Hub-Spam-Status: No, score=-1.5
X-W3C-Hub-Spam-Report: ALL_TRUSTED=-1, BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, NML_ADSP_CUSTOM_MED=0.9, RP_MATCHES_RCVD=-0.001, W3C_NW=0.5
X-W3C-Scan-Sig: mimas.w3.org 1dAsx7-0000Nr-0T 5810da23f248ffd12cf8dbc8a31eff37
X-Original-To: ietf-http-wg@w3.org
Subject: Question regarding the Cache Digest feature
Archived-At: <http://www.w3.org/mid/CAGp_bqdh=EZ5Gu+FLMyo0sOB_3W8ZTR1PS9pTW76gxxviFHRZA@mail.gmail.com>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33932
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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,

I have a question regarding how this feature will work on the =
client-side. =46rom reading the work document I don't quite understand =
whether this will support invalidating a client asset, even if it has =
not expired in the client resource cache (i.e. doing a cache bust from =
the server).

I'm absolutely new to standard works and am probably not using the =
correct terminology, but I'll try to explain: Let's say a client sends a =
cache digest including an asset X, and the server responds: "Your asset =
X is stale". My question is whether the client will then update asset X, =
even if asset X is fresh according to the client's resource cache.

If this mechanism works as I'm thinking, this feature could be used as =
an alternative to URL cache busting (invalidating a fresh client-cached =
resource by renaming the resource URL from the server-side). Is that a =
correct assumption?

Kindly,
Simeon=


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May 17 02:09:01 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B498C129493 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 May 2017 02:09:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.302
X-Spam-Level:
X-Spam-Status: No, score=-4.302 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=OoNWS03j; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=XMvBAgMU
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fm3-03Sy8U9U for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 May 2017 02:08:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9B4F612E6D7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 May 2017 02:04:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dAupT-00067v-0t for ietf-http-wg-dist@listhub.w3.org; Wed, 17 May 2017 09:01:11 +0000
Resent-Date: Wed, 17 May 2017 09:01:11 +0000
Resent-Message-Id: <E1dAupT-00067v-0t@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <mnot@mnot.net>) id 1dAupI-0005iQ-1D for ietf-http-wg@listhub.w3.org; Wed, 17 May 2017 09:01:00 +0000
Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <mnot@mnot.net>) id 1dAupA-0004mA-U3 for ietf-http-wg@w3.org; Wed, 17 May 2017 09:00:54 +0000
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 981CA1194; Wed, 17 May 2017 05:00:30 -0400 (EDT)
Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Wed, 17 May 2017 05:00:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=tahXPUpQX4RV3vjUhs r1d0azpRtv0bNIUBuOEBT1hKQ=; b=OoNWS03jR/nXIzqFo5lCnqA6nj9Z3PKTD2 zyCotSqtNQzUP0t1wcTQKrXCugxbyxxMoJ++7RDAePn7jndQQX3qocOhjj8naUZZ cB8ht5b/BvruKohraJW4OnLLw6GkubcXIwp2ugocVGj6DNzHJ9avGORVb3RhnmA4 oDdozdzlg66hzqB6jNdXRfXqWmp7lOJzTewn5zQMsBel3XMRWwKTwvcFOjWmUvxy GuCtyq/9XUsl120ch+NUm5k1k4AbFehwOi7QYdcNdpiHQ5BAvloE7IuHHiUqOTIT 691c8fmVVJMQzveYmvxTb3EbxjFsqq1YdCQ9uP80San1hplyW+Fg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=tahXPUpQX4RV3vjUhsr1d0azpRtv0bNIUBuOEBT1hKQ=; b=XMvBAgMU rtiMtbEqDEeuk/Pgjm/pZ75w6yl1R9b+e1KJZ8goo8DAZaPCrXFC6BQTg0Vrf/fr jx0peXEWQBT3FauXMeTPZj8UNFyOsbS1DyzmUyuVWrvLgOYe0wBVyfdtpiy9BF7l T9p/FaLnWI5zxSrdu4BFRsN+K+MfJH/VLJjJVmuGOvN1rrT9MoBuH60cae+KP1/6 V0zV1veyHo5kb3Hr5FmMck4sry38kCIKmngjFE4yXzAfG3IjGsC0s5Z3VGw4lkaA ONEBp4tmHUE1+xUUFxq9kpGo95fgD3Q/eBs2ATAA0zqsCDEB567fcgngHeiYErIh sHJiCtEvN4mzdw==
X-ME-Sender: <xms:LhEcWVhKNzp2RU8TVjskuSx8c8_AKZ96DU-ET8V4WtWZUwQiu4E6FA>
X-Sasl-enc: VSbon+Jy+iTHaBCt7iBsLuhN7BroE4KYxER4AydMM6ug 1495011629
Received: from [192.168.1.18] (cpe-124-188-19-231.hdbq1.win.bigpond.net.au [124.188.19.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 58D747E800; Wed, 17 May 2017 05:00:29 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAGp_bqdh=EZ5Gu+FLMyo0sOB_3W8ZTR1PS9pTW76gxxviFHRZA@mail.gmail.com>
Date: Wed, 17 May 2017 19:00:24 +1000
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <E4BDD462-98B1-4463-99E1-7237270F457F@mnot.net>
References: <CAGp_bqdh=EZ5Gu+FLMyo0sOB_3W8ZTR1PS9pTW76gxxviFHRZA@mail.gmail.com>
To: Simeon Frid <simeon.frid@gmail.com>
X-Mailer: Apple Mail (2.3273)
Received-SPF: pass client-ip=66.111.4.221; envelope-from=mnot@mnot.net; helo=new1-smtp.messagingengine.com
X-W3C-Hub-Spam-Status: No, score=-9.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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1dAupA-0004mA-U3 2b45d595e430bb9e01e633835bf6745b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Question regarding the Cache Digest feature
Archived-At: <http://www.w3.org/mid/E4BDD462-98B1-4463-99E1-7237270F457F@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33933
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 Simeon,

That's not part of the current design; we don't specify a way for the =
server to tell the client that a stored response is stale outside the =
context of a request.

You *could* do this with server push, but that hasn't been specified to =
such a level of detail. Doing that is something we've discussed in the =
past. See thread starting here:
  http://www.w3.org/mid/3904FEC0-4362-47A0-886A-B97FB97E2515@mnot.net

Cheers,


> On 17 May 2017, at 1:53 am, Simeon Frid <simeon.frid@gmail.com> wrote:
>=20
> Hi,
>=20
> I have a question regarding how this feature will work on the =
client-side. =46rom reading the work document I don't quite understand =
whether this will support invalidating a client asset, even if it has =
not expired in the client resource cache (i.e. doing a cache bust from =
the server).
>=20
> I'm absolutely new to standard works and am probably not using the =
correct terminology, but I'll try to explain: Let's say a client sends a =
cache digest including an asset X, and the server responds: "Your asset =
X is stale". My question is whether the client will then update asset X, =
even if asset X is fresh according to the client's resource cache.
>=20
> If this mechanism works as I'm thinking, this feature could be used as =
an alternative to URL cache busting (invalidating a fresh client-cached =
resource by renaming the resource URL from the server-side). Is that a =
correct assumption?
>=20
> Kindly,
> Simeon

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



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May 17 18:26:11 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4EE731279E5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 May 2017 18:26:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Level:
X-Spam-Status: No, score=-4.301 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=kKu3MLWc; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=YIDIuq8Q
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PW7MiJeEmO25 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 May 2017 18:26:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ED3BA129405 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 May 2017 18:26:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dBA9L-0000Qq-Tk for ietf-http-wg-dist@listhub.w3.org; Thu, 18 May 2017 01:22:43 +0000
Resent-Date: Thu, 18 May 2017 01:22:43 +0000
Resent-Message-Id: <E1dBA9L-0000Qq-Tk@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <mnot@mnot.net>) id 1dBA9G-0000Pz-9j for ietf-http-wg@listhub.w3.org; Thu, 18 May 2017 01:22:38 +0000
Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <mnot@mnot.net>) id 1dBA99-0006Ur-Q6 for ietf-http-wg@w3.org; Thu, 18 May 2017 01:22:33 +0000
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 8C571C8A; Wed, 17 May 2017 21:22:09 -0400 (EDT)
Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Wed, 17 May 2017 21:22:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h=cc :content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=Wv2WtnZ7AbHFV6EVIOAo3YNE0vIjggoBY3iWfy5yP Mw=; b=kKu3MLWclsN54ScUJJJo12gdHJ3ihcF4iQxkeOgRTddDRDQLr0f6FREHC pOfXcw+nYk34Cg8PoBqhuH17GUK67FdIAdAUElP2ey2Jslu+9zdORssTa6/JtibT +S3SbOq0OrI7/o31xISN6dV7a6Ocw7rfXCzJBLu4pwE6XmtnNZuAmX/ldDchVeKt 6FkC9RZ5xL+0Zx2vRDgIyNK0O8QjVP0P7KZXS2TXaoHILpvrpur0a3FfHrhsTNsB jtDsFjIkcmdCOxh68R0ttXPs3eCn8QsrAKw9VuXjEbe5ENzQ6d6SgB8taN42iIRo 6IykXmuh9qBZeyObDZbhXatGEb0Uw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=Wv2WtnZ7AbHFV6EVIO Ao3YNE0vIjggoBY3iWfy5yPMw=; b=YIDIuq8QPIfIqKDeoVuSRgoK8klbrcIIOF HMfJ5uEX1zdCCHlaJPbN1a6+7S1zfbXKj5IkG28Ys/YYaSzldddGzVY3OIPjHn5c NQQOCyIwpxtniqXBWiyUHadBh/j0lhjM5sIObFrlsBoYfvbQnzh6H1CJy0lnKAP7 XkLfQ595BCOGRmLYs0Oexe4UL0pxGCvOlvF2py8OPe/bmQSa6yb8jgqUFb6kkyD9 +DquWEAC3efc5B4zbrFCWt1028JdbQdEBcXOuP6+kUpkvju6l+vXffDGU0+HvLUU HSGGWr2xMVyE0qpEdCXVyyz7w1A0hKQsHQo5S5O5Yd0S2YCtCcig==
X-ME-Sender: <xms:QPccWfpSIk7b-Ld6_DzL6fejiZDqyvivOqOdfGft1QgXAATWC7IFLg>
X-Sasl-enc: FZ+EDvmMNs0V7DEnuKT8iVLOAx1890ubRVNVteohaOLD 1495070528
Received: from [192.168.1.18] (cpe-124-188-19-231.hdbq1.win.bigpond.net.au [124.188.19.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 48C3C7E263; Wed, 17 May 2017 21:22:07 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Message-Id: <42532309-F4FA-4007-8639-04B90743DFFE@mnot.net>
Date: Thu, 18 May 2017 11:22:03 +1000
Cc: Patrick McManus <mcmanus@ducksong.com>, Kazuho Oku <kazuhooku@gmail.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.3273)
Received-SPF: pass client-ip=66.111.4.221; envelope-from=mnot@mnot.net; helo=new1-smtp.messagingengine.com
X-W3C-Hub-Spam-Status: No, score=-9.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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1dBA99-0006Ur-Q6 de36ed352b028e04f6e99eba47a3287c
X-Original-To: ietf-http-wg@w3.org
Subject: Working Group Last Call: draft-ietf-httpbis-early-hints-02
Archived-At: <http://www.w3.org/mid/42532309-F4FA-4007-8639-04B90743DFFE@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33934
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Kazuho has indicated that he thinks this draft is ready for WGLC, and we =
have no open issues.

Please have a look at:
  https://tools.ietf.org/html/draft-ietf-httpbis-early-hints-02
.. and raise any issues you see here or on the issues list. Statements =
of support / intent to implement would also be helpful.

WGLC will end in two weeks, on 1 June 2017.

Regards,


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



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May 17 19:27:33 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 06AE1129AAD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 May 2017 19:27:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.001
X-Spam-Level:
X-Spam-Status: No, score=-7.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tDOh5vhROK1D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 May 2017 19:27:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 40B23129AF6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 May 2017 19:26:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dBB5K-0000LR-M7 for ietf-http-wg-dist@listhub.w3.org; Thu, 18 May 2017 02:22:38 +0000
Resent-Date: Thu, 18 May 2017 02:22:38 +0000
Resent-Message-Id: <E1dBB5K-0000LR-M7@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <kazuhooku@gmail.com>) id 1dBB5H-0000Kg-Q4 for ietf-http-wg@listhub.w3.org; Thu, 18 May 2017 02:22:35 +0000
Received: from mail-pg0-f51.google.com ([74.125.83.51]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <kazuhooku@gmail.com>) id 1dBB5B-0000GK-GQ for ietf-http-wg@w3.org; Thu, 18 May 2017 02:22:30 +0000
Received: by mail-pg0-f51.google.com with SMTP id x64so15417638pgd.3 for <ietf-http-wg@w3.org>; Wed, 17 May 2017 19:22:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=F01f2+TbfvFw4OrRXXflUkhx4+paO4B5LDhpZi4RFrU=; b=aJSnvCfDzvcwMxjri8/LaMnlyrRu6u3jPNtdE5nHyfPE02rGSIqCohjJeHvGulqW4M sHaFfOBNS1AIXdG157SKEguSYnoqDiVVbZxTMLdgtpeyRGkCdT5S6HXt71W8xRN8CmMU UKxUHyZ4nDnd/FAzrN6BFFtEoHGykxKIoAjo3VLKHkNbi6z4tZg6G4WMlqVG2AA5uN1g jft1EDyLwZEjIz4skrDXhT1FC1Tbbu3qVGpdVgmvhMj7dIkgIs04WFsi6OJfTmWGBnXz Wfj2EGjQnDfpUAXb9h5MTEGWimp5xKbWiwf6DsKls8H0AWAnr6Xxd24Q6f2maZpNgjzo izPg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=F01f2+TbfvFw4OrRXXflUkhx4+paO4B5LDhpZi4RFrU=; b=H1FG0bNT3YbuOjXKpkcNbBmmsm99qUJq7XEU5TqeSMYto/VRR0sc/P85eccc/JgT3a OrC5AwXrDCj9OEZ/0cphnkdRAwM+vrFbFcFiEb+8qW6pkjuDemtZjU/duY8duoWdlL9u /PzEuMcpQJqXE45DDkyFSGmwZ/siBpIegfLy6gIzr/Pcz6NlGvISDcnbyM9w+i/m5mUq +zmwpMKH2ePKTWe8nM8vOxzETeSEv8W9FAh0FxkjRKcicwLyBkVcLemoaamR32xhw7Tc kOzWOSZ1B8+I8btIPUNX0svrLSKeQZSiyDGP70eby9vyKDMiNCXAm4aEx7NaQS9RlkYf LVOQ==
X-Gm-Message-State: AODbwcAHKW7ZIrpWthGqqXOm4L2D4fTPrG1PYT+hhrumVYzex17oRyeN Nnq8+R1QxEzQodAN+eH2XDJxeH910w==
X-Received: by 10.99.151.9 with SMTP id n9mr1852327pge.199.1495074122969; Wed, 17 May 2017 19:22:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.135.79 with HTTP; Wed, 17 May 2017 19:22:02 -0700 (PDT)
In-Reply-To: <42532309-F4FA-4007-8639-04B90743DFFE@mnot.net>
References: <42532309-F4FA-4007-8639-04B90743DFFE@mnot.net>
From: Kazuho Oku <kazuhooku@gmail.com>
Date: Thu, 18 May 2017 11:22:02 +0900
Message-ID: <CANatvzy99cHoUyjHMD+m5mMwFn4OnepGDWSQZKv5b4P+bNzedQ@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Patrick McManus <mcmanus@ducksong.com>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=74.125.83.51; envelope-from=kazuhooku@gmail.com; helo=mail-pg0-f51.google.com
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: AWL=-0.235, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1dBB5B-0000GK-GQ 573b8414aff5acec4559675b08ce5a78
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Working Group Last Call: draft-ietf-httpbis-early-hints-02
Archived-At: <http://www.w3.org/mid/CANatvzy99cHoUyjHMD+m5mMwFn4OnepGDWSQZKv5b4P+bNzedQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33935
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

2017-05-18 10:22 GMT+09:00 Mark Nottingham <mnot@mnot.net>:
> Kazuho has indicated that he thinks this draft is ready for WGLC, and we have no open issues.
>
> Please have a look at:
>   https://tools.ietf.org/html/draft-ietf-httpbis-early-hints-02
> .. and raise any issues you see here or on the issues list. Statements of support / intent to implement would also be helpful.
>
> WGLC will end in two weeks, on 1 June 2017.

Thank you for changing the state to WGLC.

The only change that was made in the -02 draft (which was submitted on
Tuesday) is editorial improvements from Mark. I would appreciate it if
you could take a look. IMO the text is much clear and concise than
-01.

> Regards,
>
>
> --
> Mark Nottingham   https://www.mnot.net/
>



-- 
Kazuho Oku


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May 17 21:57:59 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8C3F812EB91 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 May 2017 21:57:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.501
X-Spam-Level:
X-Spam-Status: No, score=-5.501 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F6bUm04kLjfC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 May 2017 21:57:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9D965126D74 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 May 2017 21:53:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dBDNL-0001vf-9o for ietf-http-wg-dist@listhub.w3.org; Thu, 18 May 2017 04:49:23 +0000
Resent-Date: Thu, 18 May 2017 04:49:23 +0000
Resent-Message-Id: <E1dBDNL-0001vf-9o@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <w@1wt.eu>) id 1dBDNG-0001ts-F7 for ietf-http-wg@listhub.w3.org; Thu, 18 May 2017 04:49:18 +0000
Received: from wtarreau.pck.nerim.net ([62.212.114.60] helo=1wt.eu) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <w@1wt.eu>) id 1dBDN8-0004Sk-0P for ietf-http-wg@w3.org; Thu, 18 May 2017 04:49:12 +0000
Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id v4I4mcG2020378; Thu, 18 May 2017 06:48:38 +0200
Date: Thu, 18 May 2017 06:48:38 +0200
From: Willy Tarreau <w@1wt.eu>
To: Kazuho Oku <kazuhooku@gmail.com>
Cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Patrick McManus <mcmanus@ducksong.com>
Message-ID: <20170518044838.GB20334@1wt.eu>
References: <42532309-F4FA-4007-8639-04B90743DFFE@mnot.net> <CANatvzy99cHoUyjHMD+m5mMwFn4OnepGDWSQZKv5b4P+bNzedQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANatvzy99cHoUyjHMD+m5mMwFn4OnepGDWSQZKv5b4P+bNzedQ@mail.gmail.com>
User-Agent: Mutt/1.6.1 (2016-04-27)
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: AWL=0.957, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1dBDN8-0004Sk-0P 5870440d4c6187bfb93d94bd8aed360d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Working Group Last Call: draft-ietf-httpbis-early-hints-02
Archived-At: <http://www.w3.org/mid/20170518044838.GB20334@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33936
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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, May 18, 2017 at 11:22:02AM +0900, Kazuho Oku wrote:
> 2017-05-18 10:22 GMT+09:00 Mark Nottingham <mnot@mnot.net>:
> > Kazuho has indicated that he thinks this draft is ready for WGLC, and we have no open issues.
> >
> > Please have a look at:
> >   https://tools.ietf.org/html/draft-ietf-httpbis-early-hints-02
> > .. and raise any issues you see here or on the issues list. Statements of support / intent to implement would also be helpful.
> >
> > WGLC will end in two weeks, on 1 June 2017.
> 
> Thank you for changing the state to WGLC.
> 
> The only change that was made in the -02 draft (which was submitted on
> Tuesday) is editorial improvements from Mark. I would appreciate it if
> you could take a look. IMO the text is much clear and concise than
> -01.

It looks pretty good to me. I just think that one example could have been
nice (since not everybody is familiar with informational responses), to
make it visually clear that you can get one or a few 103 prior to a 200
for a single request.

I expect it to work out of the box through haproxy, and in general I intend
to make sure it will.

Regards,
Willy


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May 17 22:31:53 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5799412EB80 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 May 2017 22:31:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.5
X-Spam-Level:
X-Spam-Status: No, score=-6.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Uq3hYay-B68e for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 May 2017 22:31:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 65F9012E056 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 May 2017 22:27:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dBDuU-0004SL-J4 for ietf-http-wg-dist@listhub.w3.org; Thu, 18 May 2017 05:23:38 +0000
Resent-Date: Thu, 18 May 2017 05:23:38 +0000
Resent-Message-Id: <E1dBDuU-0004SL-J4@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <wesley.olis@gmail.com>) id 1dBDuQ-0004Pk-Ft for ietf-http-wg@listhub.w3.org; Thu, 18 May 2017 05:23:34 +0000
Received: from mail-qk0-f173.google.com ([209.85.220.173]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <wesley.olis@gmail.com>) id 1dBDuH-0005R3-G2 for ietf-http-wg@w3.org; Thu, 18 May 2017 05:23:29 +0000
Received: by mail-qk0-f173.google.com with SMTP id a72so27295084qkj.2 for <ietf-http-wg@w3.org>; Wed, 17 May 2017 22:23:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=vyASwcjtT9EQYNv33pIqU6xQyViALOyha3me63DEtzE=; b=N+M7sUa34RfQBk4QKnzd5kZ45mhiwMqtXjfEEaSThSr5XdH2lLClZr5k8uQ/mKRtpN GtH4vjMfFzeVhP4B7Is8S/PdTICuUs6kekNLRicVAUXrgZKD268U3loYh+OT4iZNLQKL wnK7wrJ/D7WRGawdJNk5Qy7YnUV0gukCrppMSOu5CqbGQt8r3nOl1WoiQcU8crOdvpX7 2rBeeRKIxbgNrK6bOpkz3hoj9qGusd+t8DeUcOIVVRNGcOkfF1OIimvNrDpsSg2D0WDA EflFR2bJ/UCUg8AFL8aFm8FfpYOQtLYaC8Jg1/4FXHwjsmyqZ8v6XPVjSeZCmFzJSvY1 i3HA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=vyASwcjtT9EQYNv33pIqU6xQyViALOyha3me63DEtzE=; b=ieD3tVhQsj/3n1ps3H1Kdyb4GknXkP8dry+F6uuDDHSj4B5K2D7f8S2kNKGcTrQleQ 1icui1JI9Hs3YB6fRzyX55ltLE4YAVFpyEslb6SwCRArv+/g8nL1T2BonZCdQBGDPlzL 2zIdz2rFemc1KFNCHIoSAoYfYmRF0ls+41kek2TpMcVD4IMHBM6DhTdva5I0p8OHLcH9 53SlGzRMYt4waun0o4FSy19RdnPpv1/4OQ3zJYc8N8XzXMPoHiRf5qLwtMNRkTl9blTK ufmBiKMJODD8ElYkMGm5WhmGlPderhdhsbn8NgUd6xphDdN+hSOYvagnjNMc3HLo3yLd PKNQ==
X-Gm-Message-State: AODbwcCBeCDwXTlv4y6gNIp8/KYekzw8u/dehX+EWS7GnPYvigR49pJr 5OBFArpaNpGP5P+AG676VvcH/77MeA==
X-Received: by 10.55.158.16 with SMTP id h16mr1962984qke.300.1495084979126; Wed, 17 May 2017 22:22:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.142.69 with HTTP; Wed, 17 May 2017 22:22:58 -0700 (PDT)
In-Reply-To: <20170518044838.GB20334@1wt.eu>
References: <42532309-F4FA-4007-8639-04B90743DFFE@mnot.net> <CANatvzy99cHoUyjHMD+m5mMwFn4OnepGDWSQZKv5b4P+bNzedQ@mail.gmail.com> <20170518044838.GB20334@1wt.eu>
From: Wesley Oliver <wesley.olis@gmail.com>
Date: Thu, 18 May 2017 07:22:58 +0200
Message-ID: <CACvHZ2YhbrxFuY=ABb5o4B+k2q5UPw7Qb4hG-kB_DR10Qtga-g@mail.gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Kazuho Oku <kazuhooku@gmail.com>, Mark Nottingham <mnot@mnot.net>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Patrick McManus <mcmanus@ducksong.com>
Content-Type: multipart/alternative; boundary="001a114d318e1705d5054fc59926"
Received-SPF: pass client-ip=209.85.220.173; envelope-from=wesley.olis@gmail.com; helo=mail-qk0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-4.5
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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1dBDuH-0005R3-G2 8044e94ca9a242afeb715a482050f46a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Working Group Last Call: draft-ietf-httpbis-early-hints-02
Archived-At: <http://www.w3.org/mid/CACvHZ2YhbrxFuY=ABb5o4B+k2q5UPw7Qb4hG-kB_DR10Qtga-g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33937
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--001a114d318e1705d5054fc59926
Content-Type: text/plain; charset="UTF-8"

Hi,

Bit late to the part once again.

Did any one consider, an external reference to preload resource manifest,
which just contains a list of preloaded resources.
The main difference is it is not inline, but external reference resource.
this external reference resource could then be pushed
via http 2.0 to the client, after which it can get to work. Obviously this
would not work with http 1.1 though,
so current solution proposed would be a better than this.

Kind Regards,

Wesley Oliver




On Thu, May 18, 2017 at 6:48 AM, Willy Tarreau <w@1wt.eu> wrote:

> On Thu, May 18, 2017 at 11:22:02AM +0900, Kazuho Oku wrote:
> > 2017-05-18 10:22 GMT+09:00 Mark Nottingham <mnot@mnot.net>:
> > > Kazuho has indicated that he thinks this draft is ready for WGLC, and
> we have no open issues.
> > >
> > > Please have a look at:
> > >   https://tools.ietf.org/html/draft-ietf-httpbis-early-hints-02
> > > .. and raise any issues you see here or on the issues list. Statements
> of support / intent to implement would also be helpful.
> > >
> > > WGLC will end in two weeks, on 1 June 2017.
> >
> > Thank you for changing the state to WGLC.
> >
> > The only change that was made in the -02 draft (which was submitted on
> > Tuesday) is editorial improvements from Mark. I would appreciate it if
> > you could take a look. IMO the text is much clear and concise than
> > -01.
>
> It looks pretty good to me. I just think that one example could have been
> nice (since not everybody is familiar with informational responses), to
> make it visually clear that you can get one or a few 103 prior to a 200
> for a single request.
>
> I expect it to work out of the box through haproxy, and in general I intend
> to make sure it will.
>
> Regards,
> Willy
>
>


-- 
-- 
Web Site that I have developed:
http://www.swimdynamics.co.za


Skype: wezley_oliver
MSN messenger: wesley.olis@gmail.com

--001a114d318e1705d5054fc59926
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>Bit late to the part once again.</d=
iv><div><br></div><div>Did any one consider, an external reference to prelo=
ad resource manifest, which just contains a list of preloaded resources.</d=
iv><div>The main difference is it is not inline, but external reference res=
ource. this external reference resource could then be pushed</div><div>via =
http 2.0 to the client, after which it can get to work. Obviously this woul=
d not work with http 1.1 though,</div><div>so current solution proposed wou=
ld be a better than this.</div><div><br></div><div>Kind Regards,</div><div>=
<br></div><div>Wesley Oliver</div><div><br><br><div><br></div></div></div><=
div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, May 18, 20=
17 at 6:48 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;padd=
ing-left:1ex"><span class=3D"">On Thu, May 18, 2017 at 11:22:02AM +0900, Ka=
zuho Oku wrote:<br>
&gt; 2017-05-18 10:22 GMT+09:00 Mark Nottingham &lt;<a href=3D"mailto:mnot@=
mnot.net">mnot@mnot.net</a>&gt;:<br>
&gt; &gt; Kazuho has indicated that he thinks this draft is ready for WGLC,=
 and we have no open issues.<br>
&gt; &gt;<br>
&gt; &gt; Please have a look at:<br>
&gt; &gt;=C2=A0 =C2=A0<a href=3D"https://tools.ietf.org/html/draft-ietf-htt=
pbis-early-hints-02" rel=3D"noreferrer" target=3D"_blank">https://tools.iet=
f.org/html/<wbr>draft-ietf-httpbis-early-<wbr>hints-02</a><br>
&gt; &gt; .. and raise any issues you see here or on the issues list. State=
ments of support / intent to implement would also be helpful.<br>
&gt; &gt;<br>
&gt; &gt; WGLC will end in two weeks, on 1 June 2017.<br>
&gt;<br>
&gt; Thank you for changing the state to WGLC.<br>
&gt;<br>
&gt; The only change that was made in the -02 draft (which was submitted on=
<br>
&gt; Tuesday) is editorial improvements from Mark. I would appreciate it if=
<br>
&gt; you could take a look. IMO the text is much clear and concise than<br>
&gt; -01.<br>
<br>
</span>It looks pretty good to me. I just think that one example could have=
 been<br>
nice (since not everybody is familiar with informational responses), to<br>
make it visually clear that you can get one or a few 103 prior to a 200<br>
for a single request.<br>
<br>
I expect it to work out of the box through haproxy, and in general I intend=
<br>
to make sure it will.<br>
<br>
Regards,<br>
Willy<br>
<br>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature" data-smartmail=3D"gmail_signature">-- <br>Web Site tha=
t I have developed:<br><a href=3D"http://www.swimdynamics.co.za" target=3D"=
_blank">http://www.swimdynamics.co.za</a><br><br><br>Skype: wezley_oliver<b=
r>MSN messenger: <a href=3D"mailto:wesley.olis@gmail.com" target=3D"_blank"=
>wesley.olis@gmail.com</a></div>
</div>

--001a114d318e1705d5054fc59926--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May 17 23:22:39 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E9A0512EB5E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 May 2017 23:22:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FQmv5Ua1vKrZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 May 2017 23:22:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2561312EB5F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 May 2017 23:17:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dBEh4-0001ll-WB for ietf-http-wg-dist@listhub.w3.org; Thu, 18 May 2017 06:13:51 +0000
Resent-Date: Thu, 18 May 2017 06:13:50 +0000
Resent-Message-Id: <E1dBEh4-0001ll-WB@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <w@1wt.eu>) id 1dBEh1-0001kv-Kn for ietf-http-wg@listhub.w3.org; Thu, 18 May 2017 06:13:47 +0000
Received: from wtarreau.pck.nerim.net ([62.212.114.60] helo=1wt.eu) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <w@1wt.eu>) id 1dBEgt-00081S-5m for ietf-http-wg@w3.org; Thu, 18 May 2017 06:13:41 +0000
Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id v4I6D7tA020444; Thu, 18 May 2017 08:13:07 +0200
Date: Thu, 18 May 2017 08:13:07 +0200
From: Willy Tarreau <w@1wt.eu>
To: Wesley Oliver <wesley.olis@gmail.com>
Cc: Kazuho Oku <kazuhooku@gmail.com>, Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Patrick McManus <mcmanus@ducksong.com>
Message-ID: <20170518061307.GA20439@1wt.eu>
References: <42532309-F4FA-4007-8639-04B90743DFFE@mnot.net> <CANatvzy99cHoUyjHMD+m5mMwFn4OnepGDWSQZKv5b4P+bNzedQ@mail.gmail.com> <20170518044838.GB20334@1wt.eu> <CACvHZ2YhbrxFuY=ABb5o4B+k2q5UPw7Qb4hG-kB_DR10Qtga-g@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACvHZ2YhbrxFuY=ABb5o4B+k2q5UPw7Qb4hG-kB_DR10Qtga-g@mail.gmail.com>
User-Agent: Mutt/1.6.1 (2016-04-27)
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: AWL=0.955, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1dBEgt-00081S-5m 3fea59b4fe208c902a11dace743b8209
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Working Group Last Call: draft-ietf-httpbis-early-hints-02
Archived-At: <http://www.w3.org/mid/20170518061307.GA20439@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33938
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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, May 18, 2017 at 07:22:58AM +0200, Wesley Oliver wrote:
> Hi,
> 
> Bit late to the part once again.
> 
> Did any one consider, an external reference to preload resource manifest,
> which just contains a list of preloaded resources.
> The main difference is it is not inline, but external reference resource.
> this external reference resource could then be pushed
> via http 2.0 to the client, after which it can get to work. Obviously this
> would not work with http 1.1 though,
> so current solution proposed would be a better than this.

I don't see any benefit in doing it like this, it would sound less flexible.
In my opinion, providing something to make HTTP/1 to generate server push
when relayed via an HTTP/2 edge is really nice. You can imagine a server-side
reverse-proxy using this to add some CSS/JS/whatever the application doesn't
have to care about, and to provide them to the client when it's done over H2.
That's just an example, but I find the current design well balanced between
efficiency and flexibility.

Regards,
Willy


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 18 04:46:33 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C64F01270FC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 18 May 2017 04:46:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5
X-Spam-Level:
X-Spam-Status: No, score=-5 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_ADSP_CUSTOM_MED=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MbEffmVb-9DL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 18 May 2017 04:46:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 655AE1293D9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 18 May 2017 04:41:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dBJkU-00035S-BF for ietf-http-wg-dist@listhub.w3.org; Thu, 18 May 2017 11:37:42 +0000
Resent-Message-Id: <E1dBJkU-00035S-BF@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <ylafon@w3.org>) id 1dBJkP-00034h-Ab for ietf-http-wg@listhub.w3.org; Thu, 18 May 2017 11:37:37 +0000
Received: from raoul.w3.org ([128.30.52.128]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <ylafon@w3.org>) id 1dBJkJ-0001N9-6x for ietf-http-wg@w3.org; Thu, 18 May 2017 11:37:32 +0000
Received: from homard.platy.net ([80.67.176.7] helo=[192.168.1.36]) by raoul.w3.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ylafon@w3.org>) id 1dBJkI-0006Oh-Ji for ietf-http-wg@w3.org; Thu, 18 May 2017 11:37:30 +0000
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Content-Type: multipart/alternative; boundary="Apple-Mail=_531062B5-DE9F-4E45-B280-809F1FBFD568"
From: Simeon Frid <simeon.frid@gmail.com>
In-Reply-To: <E4BDD462-98B1-4463-99E1-7237270F457F@mnot.net>
Resent-From: Yves Lafon <ylafon@w3.org>
Date: Wed, 17 May 2017 14:52:37 +0000
Cc: ietf-http-wg@w3.org
Resent-Date: Thu, 18 May 2017 13:37:27 +0200
Message-Id: <CAGp_bqdMUf4oihakK6j96x9WRiT-T6V5J-98ZXfahEkENB+mCg@mail.gmail.com>
Resent-To: ietf-http-wg@w3.org
References: <CAGp_bqdh=EZ5Gu+FLMyo0sOB_3W8ZTR1PS9pTW76gxxviFHRZA@mail.gmail.com> <E4BDD462-98B1-4463-99E1-7237270F457F@mnot.net>
X-Name-Md5: efe3dad792d606410c9cc49cedaffc94
To: Mark Nottingham <mnot@mnot.net>
X-Mailer: Apple Mail (2.3273)
X-W3C-Hub-Spam-Status: No, score=-1.5
X-W3C-Hub-Spam-Report: ALL_TRUSTED=-1, BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, NML_ADSP_CUSTOM_MED=0.9, RP_MATCHES_RCVD=-0.001, W3C_NW=0.5
X-W3C-Scan-Sig: titan.w3.org 1dBJkJ-0001N9-6x 61b4d82e39e934a87aff33b24901a698
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [Moderator Action] Question regarding the Cache Digest feature
Archived-At: <http://www.w3.org/mid/CAGp_bqdMUf4oihakK6j96x9WRiT-T6V5J-98ZXfahEkENB+mCg@mail.gmail.com>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33939
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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=_531062B5-DE9F-4E45-B280-809F1FBFD568
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Thanks a lot!

Kindly,
Simeon

ons 17 maj 2017 kl 11:00 skrev Mark Nottingham <mnot@mnot.net =
<mailto:mnot@mnot.net>>:
Hi Simeon,

That's not part of the current design; we don't specify a way for the =
server to tell the client that a stored response is stale outside the =
context of a request.

You *could* do this with server push, but that hasn't been specified to =
such a level of detail. Doing that is something we've discussed in the =
past. See thread starting here:
  http://www.w3.org/mid/3904FEC0-4362-47A0-886A-B97FB97E2515@mnot.net =
<http://www.w3.org/mid/3904FEC0-4362-47A0-886A-B97FB97E2515@mnot.net>

Cheers,


> On 17 May 2017, at 1:53 am, Simeon Frid <simeon.frid@gmail.com =
<mailto:simeon.frid@gmail.com>> wrote:
>
> Hi,
>
> I have a question regarding how this feature will work on the =
client-side. =46rom reading the work document I don't quite understand =
whether this will support invalidating a client asset, even if it has =
not expired in the client resource cache (i.e. doing a cache bust from =
the server).
>
> I'm absolutely new to standard works and am probably not using the =
correct terminology, but I'll try to explain: Let's say a client sends a =
cache digest including an asset X, and the server responds: "Your asset =
X is stale". My question is whether the client will then update asset X, =
even if asset X is fresh according to the client's resource cache.
>
> If this mechanism works as I'm thinking, this feature could be used as =
an alternative to URL cache busting (invalidating a fresh client-cached =
resource by renaming the resource URL from the server-side). Is that a =
correct assumption?
>
> Kindly,
> Simeon

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


--Apple-Mail=_531062B5-DE9F-4E45-B280-809F1FBFD568
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div dir="ltr" class="">Thanks a lot!<div class=""><br class=""></div><div class="">Kindly,</div><div class="">Simeon</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">ons 17 maj 2017 kl 11:00 skrev Mark Nottingham &lt;<a href="mailto:mnot@mnot.net" class="">mnot@mnot.net</a>&gt;:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Simeon,<br class="">
<br class="">
That's not part of the current design; we don't specify a way for the server to tell the client that a stored response is stale outside the context of a request.<br class="">
<br class="">
You *could* do this with server push, but that hasn't been specified to such a level of detail. Doing that is something we've discussed in the past. See thread starting here:<br class="">
&nbsp; <a href="http://www.w3.org/mid/3904FEC0-4362-47A0-886A-B97FB97E2515@mnot.net" rel="noreferrer" target="_blank" class="">http://www.w3.org/mid/3904FEC0-4362-47A0-886A-B97FB97E2515@mnot.net</a><br class="">
<br class="">
Cheers,<br class="">
<br class="">
<br class="">
&gt; On 17 May 2017, at 1:53 am, Simeon Frid &lt;<a href="mailto:simeon.frid@gmail.com" target="_blank" class="">simeon.frid@gmail.com</a>&gt; wrote:<br class="">
&gt;<br class="">
&gt; Hi,<br class="">
&gt;<br class="">
&gt; I have a question regarding how this feature will work on the client-side. From reading the work document I don't quite understand whether this will support invalidating a client asset, even if it has not expired in the client resource cache (i.e. doing a cache bust from the server).<br class="">
&gt;<br class="">
&gt; I'm absolutely new to standard works and am probably not using the correct terminology, but I'll try to explain: Let's say a client sends a cache digest including an asset X, and the server responds: "Your asset X is stale". My question is whether the client will then update asset X, even if asset X is fresh according to the client's resource cache.<br class="">
&gt;<br class="">
&gt; If this mechanism works as I'm thinking, this feature could be used as an alternative to URL cache busting (invalidating a fresh client-cached resource by renaming the resource URL from the server-side). Is that a correct assumption?<br class="">
&gt;<br class="">
&gt; Kindly,<br class="">
&gt; Simeon<br class="">
<br class="">
--<br class="">
Mark Nottingham&nbsp; &nbsp;<a href="https://www.mnot.net/" rel="noreferrer" target="_blank" class="">https://www.mnot.net/</a><br class="">
<br class="">
</blockquote></div>
</body></html>
--Apple-Mail=_531062B5-DE9F-4E45-B280-809F1FBFD568--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 18 05:21:21 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 34E52129B63 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 18 May 2017 05:21:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.003
X-Spam-Level:
X-Spam-Status: No, score=-5.003 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8JdeeBS0IQAh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 18 May 2017 05:21:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BED41126CC4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 18 May 2017 05:16:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dBKJ1-0005k9-Gp for ietf-http-wg-dist@listhub.w3.org; Thu, 18 May 2017 12:13:23 +0000
Resent-Date: Thu, 18 May 2017 12:13:23 +0000
Resent-Message-Id: <E1dBKJ1-0005k9-Gp@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <dkg@fifthhorseman.net>) id 1dBKIy-0005jJ-0E for ietf-http-wg@listhub.w3.org; Thu, 18 May 2017 12:13:20 +0000
Received: from che.mayfirst.org ([162.247.75.118]) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <dkg@fifthhorseman.net>) id 1dBKIs-0004C8-0X for ietf-http-wg@w3.org; Thu, 18 May 2017 12:13:14 +0000
Received: from fifthhorseman.net (unknown [38.127.159.5]) by che.mayfirst.org (Postfix) with ESMTPSA id E5504F999; Thu, 18 May 2017 08:12:52 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id 2E09720A10; Wed, 17 May 2017 22:57:17 -0400 (EDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: DNS Privacy Working Group <dns-privacy@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
In-Reply-To: <20170504101604.GA31988@LK-Perkele-V2.elisa-laajakaista.fi>
References: <87tw51remp.fsf@fifthhorseman.net> <CAAF6GDcn0Jn3jCeOBts5t53WnY8TA1wz=QXRMJugV0AQr75q5w@mail.gmail.com> <87inlhqz4n.fsf@fifthhorseman.net> <20170504101604.GA31988@LK-Perkele-V2.elisa-laajakaista.fi>
Date: Wed, 17 May 2017 22:57:17 -0400
Message-ID: <877f1ec1o2.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: none client-ip=162.247.75.118; envelope-from=dkg@fifthhorseman.net; helo=che.mayfirst.org
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1dBKIs-0004C8-0X 8b9abe6dd66aacc701d84ce9a403183f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [dns-privacy] Demultiplexing HTTP and DNS on the same listener
Archived-At: <http://www.w3.org/mid/877f1ec1o2.fsf@fifthhorseman.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33940
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 to everyone for their useful feedback and commentary.  I've just
uploaded draft-dkg-dprive-demux-dns-http-03, which attempts to include
the insights that people have shared here.

Most significantly, it drastically tightens the scope of the draft by
focusing on HTTP/1.x only and explicitly excluding HTTP/2 and all future
versions of HTTP.

As such, it can be seen as a stopgap measure until one of the
DNS-over-HTTP/2 drafts reaches consensus (and running code).  I'm
interested in seeing that happen, and will work on it, but i've got to
come up to speed on h2 and its implementations myself.  And in the
meantime, i think can be useful to document what is working today.

I welcome further feedback on the draft!

          --dkg


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Fri May 19 06:56:31 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8356E126C89 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 19 May 2017 06:56:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.602
X-Spam-Level:
X-Spam-Status: No, score=-4.602 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tpcLgQK1PQpC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 19 May 2017 06:56:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DC4641200ED for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 19 May 2017 06:56:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dBiKt-0004AG-6f for ietf-http-wg-dist@listhub.w3.org; Fri, 19 May 2017 13:52:55 +0000
Resent-Date: Fri, 19 May 2017 13:52:55 +0000
Resent-Message-Id: <E1dBiKt-0004AG-6f@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <wesley.olis@gmail.com>) id 1dBiKo-00049V-Hi for ietf-http-wg@listhub.w3.org; Fri, 19 May 2017 13:52:50 +0000
Received: from mail-qk0-f181.google.com ([209.85.220.181]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <wesley.olis@gmail.com>) id 1dBiKh-0001iR-EE for ietf-http-wg@w3.org; Fri, 19 May 2017 13:52:45 +0000
Received: by mail-qk0-f181.google.com with SMTP id y201so61370453qka.0 for <ietf-http-wg@w3.org>; Fri, 19 May 2017 06:52:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=jLYHwJTHx2i9uy15tPix+it3TkqBQg2ea94ytchllNE=; b=hTaPsU2LDIS0SJij7ZmXIXkvMXM2ZTmtRO13JJEZqUeJphlkeigwWJVQCoAMa/PmEH KH4cjoUqsSM3wOEuMETy6qKNTO/DT/fWzwjKcF7yhtZehCmZnnI+zfOsrMQdMvMPBQvW Q+SfdJhQn/JNQd7VzOTpj/wPSsY/Dvfm0NAbXg12qbYdEoo06ExqEGyxJLeGh5WmGOiK I+N7wRUdV/KPsPzU6JdakvHJGrJIKXP6Z5zfQapIGUfcr96tJblGcXQs5NtC5nazTVFe M87echIgdYd0Jm/QklunZMpjVLjRNog+konCNvgGj9xw4ddsv1vgi2OAMUZqpzoB0ktB Pk7w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=jLYHwJTHx2i9uy15tPix+it3TkqBQg2ea94ytchllNE=; b=pxJ61RX15NqxiBOYYEA+7bl9wOYPoIfIKnFosG8QHsWeDwV/b7SRUDX5lzozNohnaL AYXIWrU8UskNv7Ph5SFFj5jX/Hyl/UbOQMu62Qmtm/Gq3sGZm6byiCJ1zML4DlBoxmVL RZ4z9+JBhbvSf4Vs00/qbnSgkU9U9qFL6QwpqllJgdsE7Le/bllF7/ZE1iMfG/jCX//o +rTXs6sDMg3KMKN5oxyDhVkV33XY8tHKgcyfDlzWi97rvPbIGAmHq7bSdcOLJwLBYkNJ 2R3i2KnXkFf6ycVopK1skAvik5NxMC7L+RYDMP8+nhq9FIkprdp7gcoZCxJ6bu1rYsAr DoWQ==
X-Gm-Message-State: AODbwcD+HXpgIoYJpDZ0V/gKLQL6FPg0QF/u0butSjHYrNPTsvGLAX7T eESe7QBwXMAEh/8XXu9POigSNIeB9G13
X-Received: by 10.55.185.1 with SMTP id j1mr8131368qkf.289.1495201936796; Fri, 19 May 2017 06:52:16 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.142.69 with HTTP; Fri, 19 May 2017 06:52:16 -0700 (PDT)
From: Wesley Oliver <wesley.olis@gmail.com>
Date: Fri, 19 May 2017 15:52:16 +0200
Message-ID: <CACvHZ2ZC-yuGvVjHUcibwRMNPuRcpEb-dtoJgosF-K=mxqH+cQ@mail.gmail.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="94eb2c0443ba4f7279054fe0d49d"
Received-SPF: pass client-ip=209.85.220.181; envelope-from=wesley.olis@gmail.com; helo=mail-qk0-f181.google.com
X-W3C-Hub-Spam-Status: No, score=-4.5
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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1dBiKh-0001iR-EE b176e2e8296d85c653159399a0b99589
X-Original-To: ietf-http-wg@w3.org
Subject: 2017-05-19- Internet Protocol sub QoS packet Prioritization for  Multiplexing Streams(http-Quick) - Linux Network Stack
Archived-At: <http://www.w3.org/mid/CACvHZ2ZC-yuGvVjHUcibwRMNPuRcpEb-dtoJgosF-K=mxqH+cQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33941
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--94eb2c0443ba4f7279054fe0d49d
Content-Type: text/plain; charset="UTF-8"

Hi guys,

Could any of you be able to give me any recommendations on the Internet
Protocol sub QoS packet Prioritization for Multiplexing Streams(http-Quick)
high level document below with regards to.
The best and lightest Linux compilable one could get hold of to get into
the network stack, to start looking at technical details for implementation
on what is possible, such that I can start formulating a more concrete
technical document.

Pros and Cons would probably help, me determine where to start.

https://docs.google.com/document/d/1kjL7R46GMITykS8T61Nv83CX2zsFz
4zjxV51WoMQXp8/edit


Kind Regards,

Wesley Oliver


-- 
-- 
Web Site that I have developed:
http://www.swimdynamics.co.za


Skype: wezley_oliver
MSN messenger: wesley.olis@gmail.com

--94eb2c0443ba4f7279054fe0d49d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi guys,<div><br></div><div>Could any of you be able to gi=
ve me any recommendations on the Internet Protocol sub QoS packet Prioritiz=
ation for Multiplexing Streams(http-Quick) high level document below with r=
egards to.</div><div>The best and lightest Linux compilable one could get h=
old of to get into the network stack, to start looking at technical details=
 for implementation on what is possible, such that I can start formulating =
a more concrete technical document.</div><div><br></div><div>Pros and Cons =
would probably help, me determine where to start.</div><div><br></div><div>=
<a href=3D"https://docs.google.com/document/d/1kjL7R46GMITykS8T61Nv83CX2zsF=
z4zjxV51WoMQXp8/edit" target=3D"_blank" style=3D"font-size:12.8px">https://=
docs.google.com/<wbr>document/d/<wbr>1kjL7R46GMITykS8T61Nv83CX2zsFz<wbr>4zj=
xV51WoMQXp8/edit</a></div><div><br></div><div><br></div><div>Kind Regards,<=
/div><div><br></div><div>Wesley Oliver</div><div><br clear=3D"all"><div><br=
></div>-- <br><div class=3D"gmail_signature">-- <br>Web Site that I have de=
veloped:<br><a href=3D"http://www.swimdynamics.co.za" target=3D"_blank">htt=
p://www.swimdynamics.co.za</a><br><br><br>Skype: wezley_oliver<br>MSN messe=
nger: <a href=3D"mailto:wesley.olis@gmail.com" target=3D"_blank">wesley.oli=
s@gmail.com</a></div>
</div></div>

--94eb2c0443ba4f7279054fe0d49d--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Fri May 19 07:10:20 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 41A5B127419 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 19 May 2017 07:10:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.702
X-Spam-Level:
X-Spam-Status: No, score=-3.702 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RKGa-F_WlFVy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 19 May 2017 07:10:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CB4F51272E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 19 May 2017 07:10:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dBiZ5-0005z6-45 for ietf-http-wg-dist@listhub.w3.org; Fri, 19 May 2017 14:07:35 +0000
Resent-Date: Fri, 19 May 2017 14:07:35 +0000
Resent-Message-Id: <E1dBiZ5-0005z6-45@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <julian.reschke@gmx.de>) id 1dBiZ1-0005yG-6g for ietf-http-wg@listhub.w3.org; Fri, 19 May 2017 14:07:31 +0000
Received: from mout.gmx.net ([212.227.15.15]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <julian.reschke@gmx.de>) id 1dBiYu-0003pH-HS for ietf-http-wg@w3.org; Fri, 19 May 2017 14:07:25 +0000
Received: from [192.168.1.34] ([217.91.35.233]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MRFwV-1dYQj606ox-00Uc5o; Fri, 19 May 2017 16:06:51 +0200
To: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <42532309-F4FA-4007-8639-04B90743DFFE@mnot.net>
Cc: Patrick McManus <mcmanus@ducksong.com>, Kazuho Oku <kazuhooku@gmail.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <fcf3860a-ed1a-7b04-5776-b5ea3c62a3c0@gmx.de>
Date: Fri, 19 May 2017 16:06:49 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <42532309-F4FA-4007-8639-04B90743DFFE@mnot.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:eKe1cm4akGyfEbmD9W/5ImH6LgbB7QE/LX1v5F4S4K9fKJe6AAh inyD6foMkTF/IhhLjvTqePhfmi/R5aTJiBdOz5rNGB/KHtXr3FPZEAjnepn+k0KGqNi9vbJ iS4XT4l/CYfhAZx2uzMadYno1PoQMGKpQiguokVhQiR3PzpGjSW32ZSEsws7f9+0WDwnq69 K2f205ICV0Mcw0gNAvo/A==
X-UI-Out-Filterresults: notjunk:1;V01:K0:iqqJaSBwa2M=:LQnubFnBNoT1oXiXe6fVEQ oMiGUwS5cms8FuVltsa+Z6YNmN6Rn5rKRyUa9A7v5y+O1KwYqDqgh8D1p1kflcp0SR0MdBLEX D8rO4IqclBEjCYjN4kN+z213cl9fvNd4vNAmym+lKxcem28Hxtc7frC7YKQCQLqYI7htq/3oN aVV3iyNp45qFp4Q3RFsPXHxkT1Xbm3LsEMgHoVP4140zwWkJL90mg05FEtlKCvt4a87fRUynC EmjAKpJYhZQvPDwEWu1RdUiUM+V0tGnb79oqm9U+1nIdMp0JgTjnHavNuT2J91Yy5yI4SB1eo fSERZpAh+omuMBUwaHL8AlG0s+R25H1Tofwx5XFpc/w6Zy7IniSCEqCme4hsU3GSRpeKd4vDU u5h9wQlopJJm1M8E+nB9pfJeRSwm2DwmWd2N1Zar25XAKAmRll3LAOnFdxgmg/eSRfU6xLSBf lEIVQjmN+VsbO9NEU6H9ShRXDpw8Uc//twy2mNmJJI+U70/EQHnDyqrJwAOlLWsEf8vGT06F1 HlqMdbg7qsYnU1g20M+5zuqYCET7+HZ0yhQ7WpFrHI4raZZ9GxxsR3kn0jaek5j4Bh0MkgKt3 KQE1RoBap38bPrACYq1M6lebpmt3bQoFPuAAT/Y2rIxbCB2MxofP8NMCEwnxeFwGLdtX0YDHO 6lCBQn2tYRtD5Dalt/AZDaL8ukrPKMVoqXuSAYYC4i8EmlLmCeE9YdACqz84yx1zJbXdjDFfX NploHrqprYpUODWv2K2fIBIaB9t/+B7zN3saRtM5QQ016jW7QUPC2eak6wnV8b/mNBArFmPmE TdRZ9EI
Received-SPF: pass client-ip=212.227.15.15; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-6.4
X-W3C-Hub-Spam-Report: AWL=-0.281, BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1dBiYu-0003pH-HS fb6f6dcaa30fafa8b4d6d445c7fee762
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Working Group Last Call: draft-ietf-httpbis-early-hints-02
Archived-At: <http://www.w3.org/mid/fcf3860a-ed1a-7b04-5776-b5ea3c62a3c0@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33942
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Here's my feedback (and yes, as stated elsewhere, there should be at 
least one example in the spec):


1.  Introduction

    The "preload" ([Preload]) link relation can be used to convey such
    links in the Link header field of an HTTP response.  However, it is
    not always possible for an origin server to generate a response
    header block immediately after receiving a request.  For example, the

Maybe s/generate a response header block/generate a final response/?

    The dilemma here is that even though it is preferable for an origin
    server to send some headers as soon as it receives a request, it

s/headers/header fields/ (throughout)

    HTTP/2 ([RFC7540]) server push can be used as a solution to this
    issue, but has its own limitations.  The responses that can be pushed
    using HTTP/2 are limited to those belonging to the same origin.
    Also, it is impossible to send only the links using server push.

That's not clear to me. We could HTTP/2-push a HEAD response with link 
header fields, no? Or a GET response which has links in the payload...

    This memo defines a status code for sending an informational response
    ([RFC7231], section 6.2) that contains headers that are likely to be

s/section/Section/ (throughout)

2.  103 Early Hints

    The 103 (Early Hints) informational status code indicates the client
    that the server is likely to send a final response with the headers
    included in the informational response.

maybe "indicates to the client"?

    A client MAY speculatively evaluate the headers included in a 103
    (Early Hints) response while waiting for the final response.  For
    example, a client might recognize a Link header field value
    containing the relation type "preload" and start fetching the target
    resource.

The "MAY" is a bit weird here, because that's the whole point of the new 
status code. I'd just say "can".


3.  Security Considerations

    Some clients may have issues handling 103 (Early Hints), since

s/may/might/ (avoid lowercase BCP14 keywords or invoke 
https://tools.ietf.org/html/rfc8174)

    informational responses are rarely used in reply to requests not
    including an Expect header ([RFC7231], section 5.1.1).

7.2.  Informative References

    [Preload]  Grigorik, I., "Preload", September 2016,
               <https://w3c.github.io/preload/>.

The reference is dated, but the thing referred to is not. Either cite 
the stable version or drop the date.


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Fri May 19 14:58:57 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2145B128961 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 19 May 2017 14:58:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SpoM8rSXtyA4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 19 May 2017 14:58:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7F1521271DF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 19 May 2017 14:58:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dBprw-0001Bb-53 for ietf-http-wg-dist@listhub.w3.org; Fri, 19 May 2017 21:55:32 +0000
Resent-Date: Fri, 19 May 2017 21:55:32 +0000
Resent-Message-Id: <E1dBprw-0001Bb-53@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <w@1wt.eu>) id 1dBprr-0001AT-O9 for ietf-http-wg@listhub.w3.org; Fri, 19 May 2017 21:55:27 +0000
Received: from wtarreau.pck.nerim.net ([62.212.114.60] helo=1wt.eu) by titan.w3.org with esmtp (Exim 4.84_2) (envelope-from <w@1wt.eu>) id 1dBprl-0002jj-4Q for ietf-http-wg@w3.org; Fri, 19 May 2017 21:55:22 +0000
Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id v4JLsp5O023682; Fri, 19 May 2017 23:54:51 +0200
Date: Fri, 19 May 2017 23:54:51 +0200
From: Willy Tarreau <w@1wt.eu>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Patrick McManus <mcmanus@ducksong.com>, Kazuho Oku <kazuhooku@gmail.com>
Message-ID: <20170519215451.GC23629@1wt.eu>
References: <42532309-F4FA-4007-8639-04B90743DFFE@mnot.net> <fcf3860a-ed1a-7b04-5776-b5ea3c62a3c0@gmx.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <fcf3860a-ed1a-7b04-5776-b5ea3c62a3c0@gmx.de>
User-Agent: Mutt/1.6.1 (2016-04-27)
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: AWL=0.957, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1dBprl-0002jj-4Q ec749e3ac54cc6ebc60859ecf1066f2a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Working Group Last Call: draft-ietf-httpbis-early-hints-02
Archived-At: <http://www.w3.org/mid/20170519215451.GC23629@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33943
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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, May 19, 2017 at 04:06:49PM +0200, Julian Reschke wrote:
>    HTTP/2 ([RFC7540]) server push can be used as a solution to this
>    issue, but has its own limitations.  The responses that can be pushed
>    using HTTP/2 are limited to those belonging to the same origin.
>    Also, it is impossible to send only the links using server push.
> 
> That's not clear to me. We could HTTP/2-push a HEAD response with link
> header fields, no? Or a GET response which has links in the payload...

Indeed. Probably the wording could be relaxed, saying it's "non-trivial"
or "not straightforward" instead of "impossible".

Willy


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Fri May 19 16:17:51 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D987B129B1B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 19 May 2017 16:17:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bnOvm20LO1pI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 19 May 2017 16:17:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5AB9D126DED for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 19 May 2017 16:17:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dBr6L-0002lc-6U for ietf-http-wg-dist@listhub.w3.org; Fri, 19 May 2017 23:14:29 +0000
Resent-Date: Fri, 19 May 2017 23:14:29 +0000
Resent-Message-Id: <E1dBr6L-0002lc-6U@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <wwwrun@rfc-editor.org>) id 1dBr6G-0002kq-EY for ietf-http-wg@listhub.w3.org; Fri, 19 May 2017 23:14:24 +0000
Received: from rfc-editor.org ([4.31.198.49]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <wwwrun@rfc-editor.org>) id 1dBr69-0004fp-O8 for ietf-http-wg@w3.org; Fri, 19 May 2017 23:14:18 +0000
Received: by rfc-editor.org (Postfix, from userid 30) id A87A3B818F0; Fri, 19 May 2017 16:13:42 -0700 (PDT)
To: mnot@mnot.net, martin.thomson@gmail.com, ben@nostrum.com, aamelnikov@fastmail.fm, adam@nostrum.com, mnot@mnot.net, pmcmanus@mozilla.com
X-PHP-Originating-Script: 30:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: xiaoyin.l@outlook.com, ietf-http-wg@w3.org, rfc-editor@rfc-editor.org
Content-Type: text/plain; charset=UTF-8
Message-Id: <20170519231342.A87A3B818F0@rfc-editor.org>
Date: Fri, 19 May 2017 16:13:42 -0700 (PDT)
Received-SPF: pass client-ip=4.31.198.49; envelope-from=wwwrun@rfc-editor.org; helo=rfc-editor.org
X-W3C-Hub-Spam-Status: No, score=-7.2
X-W3C-Hub-Spam-Report: AWL=1.136, BAYES_40=-0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1dBr69-0004fp-O8 40ba71775c818d79ad7cad6edf2ce257
X-Original-To: ietf-http-wg@w3.org
Subject: [Editorial Errata Reported] RFC8164 (5023)
Archived-At: <http://www.w3.org/mid/20170519231342.A87A3B818F0@rfc-editor.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33944
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 following errata report has been submitted for RFC8164,
"Opportunistic Security for HTTP/2".

--------------------------------------
You may review the report below and at:
http://www.rfc-editor.org/errata/eid5023

--------------------------------------
Type: Editorial
Reported by: Xiaoyin Liu <xiaoyin.l@outlook.com>

Section: GLOBAL

Original Text
-------------
This mechanism not a replacement for "https"
URIs; it is vulnerable to active attacks.


Corrected Text
--------------
This mechanism is not a replacement for "https"
URIs; it is vulnerable to active attacks.


Notes
-----
This sentence is in the Abstract. It misses the verb "is".

Instructions:
-------------
This erratum is currently posted as "Reported". If necessary, please
use "Reply All" to discuss whether it should be verified or
rejected. When a decision is reached, the verifying party  
can log in to change the status and edit the report, if necessary. 

--------------------------------------
RFC8164 (draft-ietf-httpbis-http2-encryption-11)
--------------------------------------
Title               : Opportunistic Security for HTTP/2
Publication Date    : May 2017
Author(s)           : M. Nottingham, M. Thomson
Category            : EXPERIMENTAL
Source              : Hypertext Transfer Protocol Bis
Area                : Applications and Real-Time
Stream              : IETF
Verifying Party     : IESG


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Sat May 20 06:49:52 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 32262129A9A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 20 May 2017 06:49:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.001
X-Spam-Level:
X-Spam-Status: No, score=-7.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TZWGryuoHZUc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 20 May 2017 06:49:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5018A1294F5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 20 May 2017 06:49:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dC4hu-0000zK-Du for ietf-http-wg-dist@listhub.w3.org; Sat, 20 May 2017 13:46:10 +0000
Resent-Date: Sat, 20 May 2017 13:46:10 +0000
Resent-Message-Id: <E1dC4hu-0000zK-Du@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <Michael.Bishop@microsoft.com>) id 1dC4ho-0000xo-SW for ietf-http-wg@listhub.w3.org; Sat, 20 May 2017 13:46:04 +0000
Received: from mail-cys01nam02on0138.outbound.protection.outlook.com ([104.47.37.138] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from <Michael.Bishop@microsoft.com>) id 1dC4he-0006xQ-Nz for ietf-http-wg@w3.org; Sat, 20 May 2017 13:45:56 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Ch3Vle0p7SfIfJqzc0KNWl/x3WH/GYp/BVPx4JUlzNs=; b=YqSky/UBe8VZmrVovuE1kFkQHMLUWei93k+HnTqBGhNrFjZ4dxi9wKUsjm9SZ+++7YZJnXxlw8ExIkUjXuvEPFz81HucZejbuhuAZFtnhWTNtp36TZ7vMfjNu8ysP8jnDJ5Mf6BjELcQ6uUpFESGiN6b46gsYbEIuuhbeM+UxeU=
Received: from BN6PR03MB2708.namprd03.prod.outlook.com (10.173.144.15) by BN6PR03MB2708.namprd03.prod.outlook.com (10.173.144.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Sat, 20 May 2017 13:45:19 +0000
Received: from BN6PR03MB2708.namprd03.prod.outlook.com ([10.173.144.15]) by BN6PR03MB2708.namprd03.prod.outlook.com ([10.173.144.15]) with mapi id 15.01.1101.019; Sat, 20 May 2017 13:45:19 +0000
From: Mike Bishop <Michael.Bishop@microsoft.com>
To: RFC Errata System <rfc-editor@rfc-editor.org>, "mnot@mnot.net" <mnot@mnot.net>, "martin.thomson@gmail.com" <martin.thomson@gmail.com>, "ben@nostrum.com" <ben@nostrum.com>, "aamelnikov@fastmail.fm" <aamelnikov@fastmail.fm>, "adam@nostrum.com" <adam@nostrum.com>, "mnot@mnot.net" <mnot@mnot.net>, "pmcmanus@mozilla.com" <pmcmanus@mozilla.com>
CC: "xiaoyin.l@outlook.com" <xiaoyin.l@outlook.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: [Editorial Errata Reported] RFC8164 (5023)
Thread-Index: AQHS0PYsyGXRu9UGkEmBADsf5AoCp6H9PEhA
Date: Sat, 20 May 2017 13:45:18 +0000
Message-ID: <BN6PR03MB2708EE5BA10457148459CD2787FA0@BN6PR03MB2708.namprd03.prod.outlook.com>
References: <20170519231342.A87A3B818F0@rfc-editor.org>
In-Reply-To: <20170519231342.A87A3B818F0@rfc-editor.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: rfc-editor.org; dkim=none (message not signed) header.d=none;rfc-editor.org; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [2601:600:8080:63a8:2c48:8782:53e3:bf39]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1;BN6PR03MB2708;7:bEE6qycKUQf1QF7GJVYyhJrzBVkNagvH38+ZPZc4rlLA7NSox5R+AilNW7TC/8hVvRlt9ZylqkWQ929oe7rM1vlLwP3aNYemRVsBfzMfu5nhhLCuhE2zorOGvXr+KOpaIVJulBiwwgxbgELliPlv+WLPM/iToIJm5I35Z9kPu6dokKRtA5LX0xlxBlqb9NKbqcyV0Pee0KVfRvIOiSHuXKiZkwTQ9Tq/iZQ5n1MQyGoDlp156RpDFslqHNyEcU2rietM6XCdGorgraV8LMjUEi5q18izD00NblBadlgyPA4k9YV60A/Jm1pHYH/PkC4mEmlbWT3RBFmVH+SPFr8+HinDbyFWbNEXL0Wpuu+V2uU=
x-ms-traffictypediagnostic: BN6PR03MB2708:
x-ms-office365-filtering-correlation-id: 24fb4a85-6914-46ac-e4ac-08d49f867435
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081);SRVR:BN6PR03MB2708;
x-microsoft-antispam-prvs: <BN6PR03MB27085EA3985E021AF226BFF287FA0@BN6PR03MB2708.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(278428928389397)(192374486261705)(189930954265078)(219752817060721);
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(6055026)(61426038)(61427038)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123560025)(20161123564025)(20161123562025)(20161123558100)(6072148);SRVR:BN6PR03MB2708;BCL:0;PCL:0;RULEID:;SRVR:BN6PR03MB2708;
x-forefront-prvs: 03137AC81E
x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(39450400003)(39410400002)(39850400002)(39840400002)(39400400002)(39860400002)(13464003)(377454003)(189998001)(39060400002)(7736002)(4326008)(2906002)(122556002)(33656002)(305945005)(2900100001)(81166006)(8990500004)(3660700001)(6246003)(2201001)(53936002)(6306002)(9686003)(74316002)(6506006)(54906002)(3280700002)(575784001)(86612001)(99286003)(53546009)(86362001)(77096006)(6116002)(25786009)(2950100002)(966005)(102836003)(478600001)(6436002)(55016002)(38730400002)(72206003)(10290500003)(54356999)(50986999)(76176999)(7696004)(5005710100001)(8676002)(2501003)(8936002)(8666007)(5660300001)(10090500001)(229853002);DIR:OUT;SFP:1102;SCL:1;SRVR:BN6PR03MB2708;H:BN6PR03MB2708.namprd03.prod.outlook.com;FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 May 2017 13:45:18.7593 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2708
Received-SPF: pass client-ip=104.47.37.138; envelope-from=Michael.Bishop@microsoft.com; helo=NAM02-CY1-obe.outbound.protection.outlook.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_NW=0.5
X-W3C-Scan-Sig: mimas.w3.org 1dC4he-0006xQ-Nz 468c65ca992e13752314d953c1a39b57
X-Original-To: ietf-http-wg@w3.org
Subject: RE: [Editorial Errata Reported] RFC8164 (5023)
Archived-At: <http://www.w3.org/mid/BN6PR03MB2708EE5BA10457148459CD2787FA0@BN6PR03MB2708.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33945
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

WWVwLiAgRG91YmxlIGNoZWNrIHRvIGJlIHN1cmUgd2UgZGlkbid0IGFueSB3b3JkcyBvdXQuLi4u
DQoNCkhvd2V2ZXIsIEkgZG9uJ3QgdGhpbmsgaXQncyAiR0xPQkFMIiAtLSBqdXN0IG9uY2UgaW4g
dGhlIGFic3RyYWN0Lg0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogUkZDIEVy
cmF0YSBTeXN0ZW0gW21haWx0bzpyZmMtZWRpdG9yQHJmYy1lZGl0b3Iub3JnXSANClNlbnQ6IEZy
aWRheSwgTWF5IDE5LCAyMDE3IDQ6MTQgUE0NClRvOiBtbm90QG1ub3QubmV0OyBtYXJ0aW4udGhv
bXNvbkBnbWFpbC5jb207IGJlbkBub3N0cnVtLmNvbTsgYWFtZWxuaWtvdkBmYXN0bWFpbC5mbTsg
YWRhbUBub3N0cnVtLmNvbTsgbW5vdEBtbm90Lm5ldDsgcG1jbWFudXNAbW96aWxsYS5jb20NCkNj
OiB4aWFveWluLmxAb3V0bG9vay5jb207IGlldGYtaHR0cC13Z0B3My5vcmc7IHJmYy1lZGl0b3JA
cmZjLWVkaXRvci5vcmcNClN1YmplY3Q6IFtFZGl0b3JpYWwgRXJyYXRhIFJlcG9ydGVkXSBSRkM4
MTY0ICg1MDIzKQ0KDQpUaGUgZm9sbG93aW5nIGVycmF0YSByZXBvcnQgaGFzIGJlZW4gc3VibWl0
dGVkIGZvciBSRkM4MTY0LCAiT3Bwb3J0dW5pc3RpYyBTZWN1cml0eSBmb3IgSFRUUC8yIi4NCg0K
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NCllvdSBtYXkgcmV2aWV3IHRo
ZSByZXBvcnQgYmVsb3cgYW5kIGF0Og0KaHR0cHM6Ly9uYTAxLnNhZmVsaW5rcy5wcm90ZWN0aW9u
Lm91dGxvb2suY29tLz91cmw9aHR0cCUzQSUyRiUyRnd3dy5yZmMtZWRpdG9yLm9yZyUyRmVycmF0
YSUyRmVpZDUwMjMmZGF0YT0wMiU3QzAxJTdDTWljaGFlbC5CaXNob3AlNDBtaWNyb3NvZnQuY29t
JTdDNjZhOTI5MzU5YjA3NGQzYzZlNjgwOGQ0OWYwZDRlNTAlN0M3MmY5ODhiZjg2ZjE0MWFmOTFh
YjJkN2NkMDExZGI0NyU3QzElN0MwJTdDNjM2MzA4MzI2ODcyMzk1OTM0JnNkYXRhPTJnM3pxOU9I
UG4lMkZJWVVZclFFS1BVSU1zdmFVUnpzajhQS3VVbERIMUF4TSUzRCZyZXNlcnZlZD0wDQoNCi0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQpUeXBlOiBFZGl0b3JpYWwNClJl
cG9ydGVkIGJ5OiBYaWFveWluIExpdSA8eGlhb3lpbi5sQG91dGxvb2suY29tPg0KDQpTZWN0aW9u
OiBHTE9CQUwNCg0KT3JpZ2luYWwgVGV4dA0KLS0tLS0tLS0tLS0tLQ0KVGhpcyBtZWNoYW5pc20g
bm90IGEgcmVwbGFjZW1lbnQgZm9yICJodHRwcyINClVSSXM7IGl0IGlzIHZ1bG5lcmFibGUgdG8g
YWN0aXZlIGF0dGFja3MuDQoNCg0KQ29ycmVjdGVkIFRleHQNCi0tLS0tLS0tLS0tLS0tDQpUaGlz
IG1lY2hhbmlzbSBpcyBub3QgYSByZXBsYWNlbWVudCBmb3IgImh0dHBzIg0KVVJJczsgaXQgaXMg
dnVsbmVyYWJsZSB0byBhY3RpdmUgYXR0YWNrcy4NCg0KDQpOb3Rlcw0KLS0tLS0NClRoaXMgc2Vu
dGVuY2UgaXMgaW4gdGhlIEFic3RyYWN0LiBJdCBtaXNzZXMgdGhlIHZlcmIgImlzIi4NCg0KSW5z
dHJ1Y3Rpb25zOg0KLS0tLS0tLS0tLS0tLQ0KVGhpcyBlcnJhdHVtIGlzIGN1cnJlbnRseSBwb3N0
ZWQgYXMgIlJlcG9ydGVkIi4gSWYgbmVjZXNzYXJ5LCBwbGVhc2UgdXNlICJSZXBseSBBbGwiIHRv
IGRpc2N1c3Mgd2hldGhlciBpdCBzaG91bGQgYmUgdmVyaWZpZWQgb3IgcmVqZWN0ZWQuIFdoZW4g
YSBkZWNpc2lvbiBpcyByZWFjaGVkLCB0aGUgdmVyaWZ5aW5nIHBhcnR5IGNhbiBsb2cgaW4gdG8g
Y2hhbmdlIHRoZSBzdGF0dXMgYW5kIGVkaXQgdGhlIHJlcG9ydCwgaWYgbmVjZXNzYXJ5LiANCg0K
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NClJGQzgxNjQgKGRyYWZ0LWll
dGYtaHR0cGJpcy1odHRwMi1lbmNyeXB0aW9uLTExKQ0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0NClRpdGxlICAgICAgICAgICAgICAgOiBPcHBvcnR1bmlzdGljIFNlY3Vy
aXR5IGZvciBIVFRQLzINClB1YmxpY2F0aW9uIERhdGUgICAgOiBNYXkgMjAxNw0KQXV0aG9yKHMp
ICAgICAgICAgICA6IE0uIE5vdHRpbmdoYW0sIE0uIFRob21zb24NCkNhdGVnb3J5ICAgICAgICAg
ICAgOiBFWFBFUklNRU5UQUwNClNvdXJjZSAgICAgICAgICAgICAgOiBIeXBlcnRleHQgVHJhbnNm
ZXIgUHJvdG9jb2wgQmlzDQpBcmVhICAgICAgICAgICAgICAgIDogQXBwbGljYXRpb25zIGFuZCBS
ZWFsLVRpbWUNClN0cmVhbSAgICAgICAgICAgICAgOiBJRVRGDQpWZXJpZnlpbmcgUGFydHkgICAg
IDogSUVTRw0KDQo=


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Sun May 21 13:30:39 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 85385129484 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 21 May 2017 13:30:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.002
X-Spam-Level:
X-Spam-Status: No, score=-7.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oJrlFkTd5xxK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 21 May 2017 13:30:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9E4C4129456 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 21 May 2017 13:30:36 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dCXR6-0004Hn-6G for ietf-http-wg-dist@listhub.w3.org; Sun, 21 May 2017 20:26:44 +0000
Resent-Date: Sun, 21 May 2017 20:26:44 +0000
Resent-Message-Id: <E1dCXR6-0004Hn-6G@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <Michael.Bishop@microsoft.com>) id 1dCXR1-0004GU-8e for ietf-http-wg@listhub.w3.org; Sun, 21 May 2017 20:26:39 +0000
Received: from mail-bl2nam02on0124.outbound.protection.outlook.com ([104.47.38.124] helo=NAM02-BL2-obe.outbound.protection.outlook.com) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from <Michael.Bishop@microsoft.com>) id 1dCXQu-0004gt-Ko for ietf-http-wg@w3.org; Sun, 21 May 2017 20:26:34 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=t+sROu/e60tsIsh+TO7Rg1LkKZiqcsk2oSw/qw95DCo=; b=b4FgbppG9OKrG/84Qy+duIs69BmXKfcfZs3O449uV+tkXvlIlAN5C5wCtMdrXzuSrh0tKunFS06keAKv5uz49sS2eQdOJzbix4Mf2tFImuG4yhknfhMFJpoWASKWcblNMG92GPBlIOYcS5s9hDxbP5Pfwvkk0Fzx0li+5gd/cvs=
Received: from BN6PR03MB2708.namprd03.prod.outlook.com (10.173.144.15) by BN6PR03MB2705.namprd03.prod.outlook.com (10.173.144.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Sun, 21 May 2017 20:26:01 +0000
Received: from BN6PR03MB2708.namprd03.prod.outlook.com ([10.173.144.15]) by BN6PR03MB2708.namprd03.prod.outlook.com ([10.173.144.15]) with mapi id 15.01.1101.019; Sun, 21 May 2017 20:26:01 +0000
From: Mike Bishop <Michael.Bishop@microsoft.com>
To: Willy Tarreau <w@1wt.eu>, Julian Reschke <julian.reschke@gmx.de>
CC: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Patrick McManus <mcmanus@ducksong.com>, Kazuho Oku <kazuhooku@gmail.com>
Thread-Topic: Working Group Last Call: draft-ietf-httpbis-early-hints-02
Thread-Index: AQHSz3XGSmaOEKO77Ea6omeOTvwaM6H7s2SAgACCxYCAAwti4A==
Date: Sun, 21 May 2017 20:26:01 +0000
Message-ID: <BN6PR03MB2708FDD1335FAE0A937F670C87FB0@BN6PR03MB2708.namprd03.prod.outlook.com>
References: <42532309-F4FA-4007-8639-04B90743DFFE@mnot.net> <fcf3860a-ed1a-7b04-5776-b5ea3c62a3c0@gmx.de> <20170519215451.GC23629@1wt.eu>
In-Reply-To: <20170519215451.GC23629@1wt.eu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: 1wt.eu; dkim=none (message not signed) header.d=none;1wt.eu; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [2601:600:8080:63a8:dc91:9807:4ac9:eb5e]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1;BN6PR03MB2705;7:QyxTCm1aCpbBeaT35t0pUBSpPQWb/RGWTbm/uvp8Ih42xDBcD89ryxxUxBIyVNErf2S6JDvwavySOGp02x7WZt7manJWyEJ8OSgxMAUf84lqnl8Zsz7uxjVwAVPvWMVcbnZ3UVt+RIEwAVQsYtJoeDHxQrvbK2WdxWggyFJBa3ebIVCnDx0RQyIxgSi1cpQGZwl/pp3m2QGVm+bW1tckuNQFJqWo5cBqae/SrJLij4pcwRLoYfpNxBXwZrxgE7opJrGSk3yuVNzHTNoXsrnd0SRKY9XiaeOPl/qa1LMfM3nAvxQuQiumd9U+pK8wZTBhqBB9zLJog1OfGy9gr/7cjXm/CEz/QnOyqAxZAiRRsr4=
x-ms-traffictypediagnostic: BN6PR03MB2705:
x-ms-office365-filtering-correlation-id: bebd643e-93da-4f31-d92a-08d4a0879910
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081);SRVR:BN6PR03MB2705;
x-microsoft-antispam-prvs: <BN6PR03MB270569C269456A11596D062A87FB0@BN6PR03MB2705.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(26323138287068);
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041248)(20161123555025)(20161123560025)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148);SRVR:BN6PR03MB2705;BCL:0;PCL:0;RULEID:;SRVR:BN6PR03MB2705;
x-forefront-prvs: 03142412E2
x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(979002)(6009001)(39450400003)(39840400002)(39850400002)(39400400002)(39860400002)(39410400002)(24454002)(13464003)(377454003)(2900100001)(6436002)(478600001)(86362001)(9686003)(2950100002)(86612001)(8666007)(81156014)(53936002)(39060400002)(54906002)(77096006)(7696004)(72206003)(6506006)(189998001)(55016002)(305945005)(102836003)(74316002)(10290500003)(6116002)(99286003)(8936002)(81166006)(8676002)(7736002)(5660300001)(6246003)(5005710100001)(76176999)(50986999)(25786009)(54356999)(53546009)(33656002)(229853002)(38730400002)(4326008)(122556002)(2906002)(230783001)(3660700001)(3280700002)(10090500001)(8990500004)(781001)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1102;SCL:1;SRVR:BN6PR03MB2705;H:BN6PR03MB2708.namprd03.prod.outlook.com;FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 May 2017 20:26:01.1476 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2705
Received-SPF: pass client-ip=104.47.38.124; envelope-from=Michael.Bishop@microsoft.com; helo=NAM02-BL2-obe.outbound.protection.outlook.com
X-W3C-Hub-Spam-Status: No, score=-1.8
X-W3C-Hub-Spam-Report: AWL=-0.239, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_NW=0.5
X-W3C-Scan-Sig: titan.w3.org 1dCXQu-0004gt-Ko ec1cdd72e4fd52195b3eba3408a50d41
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Working Group Last Call: draft-ietf-httpbis-early-hints-02
Archived-At: <http://www.w3.org/mid/BN6PR03MB2708FDD1335FAE0A937F670C87FB0@BN6PR03MB2708.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33946
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

More fundamentally, we have this mechanism for dropping a request and its r=
esponse on a client, but don't have a taxonomy of what sorts of request/res=
ponse pairs clients should expect and what they should do with them.

-----Original Message-----
From: Willy Tarreau [mailto:w@1wt.eu]=20
Sent: Friday, May 19, 2017 2:55 PM
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Mark Nottingham <mnot@mnot.net>; ietf-http-wg@w3.org Group <ietf-http-w=
g@w3.org>; Patrick McManus <mcmanus@ducksong.com>; Kazuho Oku <kazuhooku@gm=
ail.com>
Subject: Re: Working Group Last Call: draft-ietf-httpbis-early-hints-02

On Fri, May 19, 2017 at 04:06:49PM +0200, Julian Reschke wrote:
>    HTTP/2 ([RFC7540]) server push can be used as a solution to this
>    issue, but has its own limitations.  The responses that can be pushed
>    using HTTP/2 are limited to those belonging to the same origin.
>    Also, it is impossible to send only the links using server push.
>=20
> That's not clear to me. We could HTTP/2-push a HEAD response with link=20
> header fields, no? Or a GET response which has links in the payload...

Indeed. Probably the wording could be relaxed, saying it's "non-trivial"
or "not straightforward" instead of "impossible".

Willy



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May 22 03:09:15 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9057C129BDB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 May 2017 03:09:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.1
X-Spam-Level:
X-Spam-Status: No, score=-5.1 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7WXDO_GsjO7M for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 May 2017 03:09:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9ACD1126CD8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 May 2017 03:09:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dCkDZ-0001SQ-VH for ietf-http-wg-dist@listhub.w3.org; Mon, 22 May 2017 10:05:38 +0000
Resent-Date: Mon, 22 May 2017 10:05:37 +0000
Resent-Message-Id: <E1dCkDZ-0001SQ-VH@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <wesley.olis@gmail.com>) id 1dCkDU-0001Rf-Qb for ietf-http-wg@listhub.w3.org; Mon, 22 May 2017 10:05:32 +0000
Received: from mail-qk0-f179.google.com ([209.85.220.179]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <wesley.olis@gmail.com>) id 1dCkDN-0000pQ-AB for ietf-http-wg@w3.org; Mon, 22 May 2017 10:05:26 +0000
Received: by mail-qk0-f179.google.com with SMTP id k74so101623002qke.1 for <ietf-http-wg@w3.org>; Mon, 22 May 2017 03:05:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=CzWhBeo5z/8cWe273nqU/DDuv0P/k3U8kGZYx9Q6A9Q=; b=tnTLgfEo5U/Vzr+KGdm9QDeyk1l5LfpTSUGfxwEThVATAKndb1ggR0/K8ulVCXyQU5 QEyjQ/EtiKDv2oloIWbNV+3+rvYTPABP6BfkawVANe+8C6rFF5EfBJgmgeXy98QnFXke XQwzY9jW3Y6BdjtdfuO9lr7bJjqSXNZ4gikgm7qyVs2mAMcVTZIME52Tj66HFvmLc8jz Xijef8HfHiInmOOUn9jZrx9TTaQjl4+dTmpKMerRhyOsmOpD9H6Z06+0l0BSMERUiexr aPlNHSePBXfV/ZZGEFxmYdABmSMlbNdabXFoPd1NklxpY/Ry/l+WuU1j+X8nbTGVY1mD Vy/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=CzWhBeo5z/8cWe273nqU/DDuv0P/k3U8kGZYx9Q6A9Q=; b=o2fpC6ujBpv8P4fM2zDIDDw1PRXqit2iWMMQ6jfptPATnpdSTi5ea1zz61aqSqPGgn 68MUuh69xryWRBvz+3i2NhQhfRVYN0PP92cU4x/hHygPf1fzIMNOyFv5mFiaDnsKMWWZ IpPNQQZey3h0GOk3/1VnqMjWRgrGDfcTiQ69ThQeU+iayObSpo9Yp2fldPylOSSDl19U LU15w6ifVfrqkKnNGFiW/5ogvhiMnnFc+uJhmzJaCc5jrXbLDCqVodOw4NUg3vNXYh5s ikBS/17d09ePqdtxfB7xcBDUTcNry0tg29YfTPwr4V6+qALGdtmNBpK3z5yW9ftV57/3 GsWQ==
X-Gm-Message-State: AODbwcAFkJ93V3Q/vfqA0vI1jp9LoWJY2unji0ROGCqJLVUvuArjzwnS KoCcM8zTOcuMT7LaxgT4fwxecxz6dySt
X-Received: by 10.55.34.133 with SMTP id i127mr243380qki.137.1495447499012; Mon, 22 May 2017 03:04:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.142.69 with HTTP; Mon, 22 May 2017 03:04:58 -0700 (PDT)
In-Reply-To: <5dee731a-d7f3-7701-860a-8307bbb1cbf8@mti-systems.com>
References: <CACvHZ2ZC-yuGvVjHUcibwRMNPuRcpEb-dtoJgosF-K=mxqH+cQ@mail.gmail.com> <5dee731a-d7f3-7701-860a-8307bbb1cbf8@mti-systems.com>
From: Wesley Oliver <wesley.olis@gmail.com>
Date: Mon, 22 May 2017 12:04:58 +0200
Message-ID: <CACvHZ2aBt9WHY6Ckb-Rvq_0B2k7XBVgGaWKq4w1Ln+7iWx=+RA@mail.gmail.com>
To: Wesley Eddy <wes@mti-systems.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a1147fe82f5854205501a0048"
Received-SPF: pass client-ip=209.85.220.179; envelope-from=wesley.olis@gmail.com; helo=mail-qk0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: AWL=1.593, 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1dCkDN-0000pQ-AB e797cf2516c184f2d62637dd0687f118
X-Original-To: ietf-http-wg@w3.org
Subject: Re: 2017-05-19- Internet Protocol sub QoS packet Prioritization for  Multiplexing Streams(http-Quick) - Linux Network Stack
Archived-At: <http://www.w3.org/mid/CACvHZ2aBt9WHY6Ckb-Rvq_0B2k7XBVgGaWKq4w1Ln+7iWx=+RA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33947
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--001a1147fe82f5854205501a0048
Content-Type: text/plain; charset="UTF-8"

Hi,

I am firmilar and gave it another read again. The thing is that all of
these traffic management solutions,
are by some external internet convention for internet back bone and used
for shaping traffic extra.

What I am looking for is sub Active Queue Management and sub all this other
types of traffic identification by convention handling(DiffServ).
Which will give the ability eventually at application level, to be able to
have fine grained control over how I want my packets that
are in flight to be priorities according my application needs and not that
of general traffic.

Imagion that manage to get flow rate of 100kb pipe between server and
client, but as of current can have 200kb in flight
potentially in buffers, I would like to still be able to send additional
packets and have them prioritize over existing packets
such in buffers. This would allow me to reliable base on current network
flow conditions, get important payloads to the client with
no block apposed to attempt initiate another high level connection which
still needs to gage the network conditions.

Kind Regards,

Wesley Oliver




On Fri, May 19, 2017 at 4:31 PM, Wesley Eddy <wes@mti-systems.com> wrote:

> Are you familiar with AQM (and DiffServ) technology that already exists?
>
> E.g. see https://tools.ietf.org/html/rfc7567 and many other documents.
>
> On 5/19/2017 9:52 AM, Wesley Oliver wrote:
>
> Hi guys,
>
> Could any of you be able to give me any recommendations on the Internet
> Protocol sub QoS packet Prioritization for Multiplexing Streams(http-Quick)
> high level document below with regards to.
> The best and lightest Linux compilable one could get hold of to get into
> the network stack, to start looking at technical details for implementation
> on what is possible, such that I can start formulating a more concrete
> technical document.
>
> Pros and Cons would probably help, me determine where to start.
>
> https://docs.google.com/document/d/1kjL7R46GMITykS8T61Nv83CX
> 2zsFz4zjxV51WoMQXp8/edit
>
>
> Kind Regards,
>
> Wesley Oliver
>
>
> --
> --
> Web Site that I have developed:
> http://www.swimdynamics.co.za
>
>
> Skype: wezley_oliver
> MSN messenger: wesley.olis@gmail.com
>
>
>


-- 
-- 
Web Site that I have developed:
http://www.swimdynamics.co.za


Skype: wezley_oliver
MSN messenger: wesley.olis@gmail.com

--001a1147fe82f5854205501a0048
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>I am firmilar and gave it another r=
ead again. The thing is that all of these traffic management solutions,</di=
v><div>are by some external internet convention for internet back bone and =
used for shaping traffic extra.<br><br>What I am looking for is sub Active =
Queue Management and sub all this other types of traffic identification by =
convention handling(<span style=3D"font-size:12.8px">DiffServ)</span>.</div=
><div>Which will give the ability eventually at application level, to be ab=
le to have fine grained control over how I want my packets that</div><div>a=
re in flight to be priorities according my application needs and not that o=
f general traffic.<br><br>Imagion that manage to get flow rate of 100kb pip=
e between server and client, but as of current can have 200kb in flight=C2=
=A0</div><div>potentially in buffers, I would like to still be able to send=
 additional packets and have them prioritize over existing packets</div><di=
v>such in buffers. This would allow me to reliable base on current network =
flow conditions, get important payloads to the client with=C2=A0</div><div>=
no block apposed to attempt initiate another high level connection which st=
ill needs to gage the network conditions.</div><div><br></div><div>Kind Reg=
ards,</div><div><br></div><div>Wesley Oliver</div><div><br></div><div><br><=
/div><div><br></div></div><div class=3D"gmail_extra"><br><div class=3D"gmai=
l_quote">On Fri, May 19, 2017 at 4:31 PM, Wesley Eddy <span dir=3D"ltr">&lt=
;<a href=3D"mailto:wes@mti-systems.com" target=3D"_blank">wes@mti-systems.c=
om</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    <p>Are you familiar with AQM (and DiffServ) technology that already
      exists?</p>
    <p>E.g. see <a class=3D"m_4412504420195729775moz-txt-link-freetext" hre=
f=3D"https://tools.ietf.org/html/rfc7567" target=3D"_blank">https://tools.i=
etf.org/html/<wbr>rfc7567</a> and many other
      documents.<br>
    </p><div><div class=3D"h5">
    <br>
    <div class=3D"m_4412504420195729775moz-cite-prefix">On 5/19/2017 9:52 A=
M, Wesley Oliver
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
      <div dir=3D"ltr">Hi guys,
        <div><br>
        </div>
        <div>Could any of you be able to give me any recommendations on
          the Internet Protocol sub QoS packet Prioritization for
          Multiplexing Streams(http-Quick) high level document below
          with regards to.</div>
        <div>The best and lightest Linux compilable one could get hold
          of to get into the network stack, to start looking at
          technical details for implementation on what is possible, such
          that I can start formulating a more concrete technical
          document.</div>
        <div><br>
        </div>
        <div>Pros and Cons would probably help, me determine where to
          start.</div>
        <div><br>
        </div>
        <div><a href=3D"https://docs.google.com/document/d/1kjL7R46GMITykS8=
T61Nv83CX2zsFz4zjxV51WoMQXp8/edit" style=3D"font-size:12.8px" target=3D"_bl=
ank">https://docs.google.com/docume<wbr>nt/d/1kjL7R46GMITykS8T61Nv83CX<wbr>=
2zsFz4zjxV51WoMQXp8/edit</a></div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Kind Regards,</div>
        <div><br>
        </div>
        <div>Wesley Oliver</div>
        <div><br clear=3D"all">
          <div><br>
          </div>
          -- <br>
          <div class=3D"m_4412504420195729775gmail_signature">-- <br>
            Web Site that I have developed:<br>
            <a href=3D"http://www.swimdynamics.co.za" target=3D"_blank">htt=
p://www.swimdynamics.co.za</a><br>
            <br>
            <br>
            Skype: wezley_oliver<br>
            MSN messenger: <a href=3D"mailto:wesley.olis@gmail.com" target=
=3D"_blank">wesley.olis@gmail.com</a></div>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature" data-smartmail=3D"gmail_signature">-- <br>Web Site tha=
t I have developed:<br><a href=3D"http://www.swimdynamics.co.za" target=3D"=
_blank">http://www.swimdynamics.co.za</a><br><br><br>Skype: wezley_oliver<b=
r>MSN messenger: <a href=3D"mailto:wesley.olis@gmail.com" target=3D"_blank"=
>wesley.olis@gmail.com</a></div>
</div>

--001a1147fe82f5854205501a0048--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May 24 15:00:54 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EDC57129B9C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 May 2017 15:00:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UHKSXhW_M-0R for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 May 2017 15:00:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8B632129B81 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 May 2017 15:00:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dDeH5-0002pH-HN for ietf-http-wg-dist@listhub.w3.org; Wed, 24 May 2017 21:56:59 +0000
Resent-Date: Wed, 24 May 2017 21:56:59 +0000
Resent-Message-Id: <E1dDeH5-0002pH-HN@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <internet-drafts@ietf.org>) id 1dDeGv-0002o4-F2 for ietf-http-wg@listhub.w3.org; Wed, 24 May 2017 21:56:49 +0000
Received: from mail.ietf.org ([4.31.198.44]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <internet-drafts@ietf.org>) id 1dDeGo-0005Y4-F7 for ietf-http-wg@w3.org; Wed, 24 May 2017 21:56:43 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id BEE77129B81; Wed, 24 May 2017 14:56:15 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.51.0
Auto-Submitted: auto-generated
Message-ID: <149566297573.8692.530174270532868453@ietfa.amsl.com>
Date: Wed, 24 May 2017 14:56:15 -0700
Received-SPF: pass client-ip=4.31.198.44; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-6.2
X-W3C-Hub-Spam-Report: AWL=0.050, BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1dDeGo-0005Y4-F7 2cbacf555a99effc3d2e358e0c63e18d
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-expect-ct-01.txt
Archived-At: <http://www.w3.org/mid/149566297573.8692.530174270532868453@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33948
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 directories.
This draft is a work item of the Hypertext Transfer Protocol of the IETF.

        Title           : Expect-CT Extension for HTTP
        Author          : Emily Stark
	Filename        : draft-ietf-httpbis-expect-ct-01.txt
	Pages           : 17
	Date            : 2017-05-24

Abstract:
   This document defines a new HTTP header, named Expect-CT, that allows
   web host operators to instruct user agents to expect valid Signed
   Certificate Timestamps (SCTs) to be served on connections to these
   hosts.  When configured in enforcement mode, user agents (UAs) will
   remember that hosts expect SCTs and will refuse connections that do
   not conform to the UA's Certificate Transparency policy.  When
   configured in report-only mode, UAs will report the lack of valid
   SCTs to a URI configured by the host, but will allow the connection.
   By turning on Expect-CT, web host operators can discover
   misconfigurations in their Certificate Transparency deployments and
   ensure that misissued certificates accepted by UAs are discoverable
   in Certificate Transparency logs.


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

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-httpbis-expect-ct-01
https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-expect-ct-01

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-httpbis-expect-ct-01


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

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



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May 24 20:51:14 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8416A126CBF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 May 2017 20:51:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.501
X-Spam-Level:
X-Spam-Status: No, score=-6.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9K_O6cb1fg0j for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 May 2017 20:51:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3B8C12785F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 May 2017 20:51:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dDjkL-0005dE-MK for ietf-http-wg-dist@listhub.w3.org; Thu, 25 May 2017 03:47:33 +0000
Resent-Date: Thu, 25 May 2017 03:47:33 +0000
Resent-Message-Id: <E1dDjkL-0005dE-MK@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <estark@google.com>) id 1dDjkF-0005cT-NU for ietf-http-wg@listhub.w3.org; Thu, 25 May 2017 03:47:27 +0000
Received: from mail-oi0-f47.google.com ([209.85.218.47]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <estark@google.com>) id 1dDjk9-000893-1i for ietf-http-wg@w3.org; Thu, 25 May 2017 03:47:22 +0000
Received: by mail-oi0-f47.google.com with SMTP id h4so266165387oib.3 for <ietf-http-wg@w3.org>; Wed, 24 May 2017 20:47:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=K+1ta8qv8vqzz78OFgh9yYPsp3F3NohoUygBIeMsJec=; b=cqmdc4lnmqRbnHEynAHgA6S3l8U7I97oTLhgcTnC+qGxBXXfzIg8GZtVjykNJ8gyDE v8SxTpipdlYl5uiQxmXOvc36UlqEIzTJXnN//V4BEOrcicv8z4M1q6pFGaFnOndMK40H 3eVt82hB0/KRal7jzCYq5cCvz/xbqiKXfYVVN4Y8U+f3J7sRckmp8EV4N9xXkzPnO3Vm IdXknQFn516sWp8sq0T3+XjsM++UQVqVPoHYMvzMHKYYCCir5XtnpTkK97BWnumwx/dS L5AFbg4IabtjLAwW2rilDyntwIArjPBzpds5VDYtCIupt21dS/ZoHkO9Vh2lYtxfOSA5 exkg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=K+1ta8qv8vqzz78OFgh9yYPsp3F3NohoUygBIeMsJec=; b=WUAQU9qqFXJjxDx6Jd7o3kP4lR8QLPfl3KxnSnLLQg/7Ypr24d39dRG5Hfxccl1SJO StMOmHC5SYVgZen7DkT7LDepioJjLqdNHwy84UOsOEozcp1JkKVcraVzcWMYSdLWJuBU Grhx3HzIFBwIBrw5O9dc74UtVh8313agbssZlnvPHPQ8XQ7+LE9Of6V6hcY+MMrFCVAf oAFlhNAEdz8yhQX0NINsGRx+hZpr02p1ROlX5EGFbzUTDsl22BHy9/D163TFy6hmNuHJ bPy0mJQXAU1CSTQtqj0EcuPyllc7WuqoWq4tgvU9Vys4zzCIJQqzSrDahv1N77QVpTR3 jrqg==
X-Gm-Message-State: AODbwcCxWBVoDhEPsXvqjecoQn6ShuIzwIP5ycFUPvvFhMqVQ4vjLzDR KjaWbOG0dbY9tFNSXGgOepSXWqzCYHsVPohULA==
X-Received: by 10.202.79.201 with SMTP id d192mr21621624oib.208.1495684014269; Wed, 24 May 2017 20:46:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.202.66.86 with HTTP; Wed, 24 May 2017 20:46:33 -0700 (PDT)
In-Reply-To: <149566297573.8692.530174270532868453@ietfa.amsl.com>
References: <149566297573.8692.530174270532868453@ietfa.amsl.com>
From: Emily Stark <estark@google.com>
Date: Wed, 24 May 2017 20:46:33 -0700
Message-ID: <CAPP_2SZuLMiU4x37oXBTXFN4v3TafCuj0kNKNmhcuo1NuT93bQ@mail.gmail.com>
To: httpbis <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a113d82785e4f1f05505112d2"
Received-SPF: pass client-ip=209.85.218.47; envelope-from=estark@google.com; helo=mail-oi0-f47.google.com
X-W3C-Hub-Spam-Status: No, score=-6.0
X-W3C-Hub-Spam-Report: AWL=2.253, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1dDjk9-000893-1i 239560d979a840d648ca5a2e550592e5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: I-D Action: draft-ietf-httpbis-expect-ct-01.txt
Archived-At: <http://www.w3.org/mid/CAPP_2SZuLMiU4x37oXBTXFN4v3TafCuj0kNKNmhcuo1NuT93bQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33949
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--001a113d82785e4f1f05505112d2
Content-Type: text/plain; charset="UTF-8"

Changes since -00:

* Editorial changes
* Change Content-Type header of reports to 'application/expect-ct-report+
json'
* Update header field syntax to match convention (issue #327)
* Reference RFC 6962-bis instead of RFC 6962

On Wed, May 24, 2017 at 2:56 PM, <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 of the IETF.
>
>         Title           : Expect-CT Extension for HTTP
>         Author          : Emily Stark
>         Filename        : draft-ietf-httpbis-expect-ct-01.txt
>         Pages           : 17
>         Date            : 2017-05-24
>
> Abstract:
>    This document defines a new HTTP header, named Expect-CT, that allows
>    web host operators to instruct user agents to expect valid Signed
>    Certificate Timestamps (SCTs) to be served on connections to these
>    hosts.  When configured in enforcement mode, user agents (UAs) will
>    remember that hosts expect SCTs and will refuse connections that do
>    not conform to the UA's Certificate Transparency policy.  When
>    configured in report-only mode, UAs will report the lack of valid
>    SCTs to a URI configured by the host, but will allow the connection.
>    By turning on Expect-CT, web host operators can discover
>    misconfigurations in their Certificate Transparency deployments and
>    ensure that misissued certificates accepted by UAs are discoverable
>    in Certificate Transparency logs.
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-httpbis-expect-ct/
>
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-ietf-httpbis-expect-ct-01
> https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-expect-ct-01
>
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=draft-ietf-httpbis-expect-ct-01
>
>
> Please note that it may take a couple of minutes from the time of
> submission
> until the htmlized version and diff are available at tools.ietf.org.
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
>
>

--001a113d82785e4f1f05505112d2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span style=3D"font-size:12.8px">Changes since -00:</span>=
<div style=3D"font-size:12.8px"><br></div><div style=3D"font-size:12.8px"><=
div>* Editorial changes</div><div>* Change Content-Type header of reports t=
o &#39;application/expect-ct-report+<wbr>json&#39;</div><div>* Update heade=
r field syntax to match convention (issue #327)</div><div>* Reference RFC 6=
962-bis instead of RFC 6962</div></div></div><div class=3D"gmail_extra"><br=
><div class=3D"gmail_quote">On Wed, May 24, 2017 at 2:56 PM,  <span dir=3D"=
ltr">&lt;<a href=3D"mailto:internet-drafts@ietf.org" target=3D"_blank">inte=
rnet-drafts@ietf.org</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=
"><br>
A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.<br>
This draft is a work item of the Hypertext Transfer Protocol of the IETF.<b=
r>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Title=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:=
 Expect-CT Extension for HTTP<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Author=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : Emil=
y Stark<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Filename=C2=A0 =C2=A0 =C2=A0 =C2=A0 : draft-iet=
f-httpbis-expect-ct-<wbr>01.txt<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Pages=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:=
 17<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Date=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :=
 2017-05-24<br>
<br>
Abstract:<br>
=C2=A0 =C2=A0This document defines a new HTTP header, named Expect-CT, that=
 allows<br>
=C2=A0 =C2=A0web host operators to instruct user agents to expect valid Sig=
ned<br>
=C2=A0 =C2=A0Certificate Timestamps (SCTs) to be served on connections to t=
hese<br>
=C2=A0 =C2=A0hosts.=C2=A0 When configured in enforcement mode, user agents =
(UAs) will<br>
=C2=A0 =C2=A0remember that hosts expect SCTs and will refuse connections th=
at do<br>
=C2=A0 =C2=A0not conform to the UA&#39;s Certificate Transparency policy.=
=C2=A0 When<br>
=C2=A0 =C2=A0configured in report-only mode, UAs will report the lack of va=
lid<br>
=C2=A0 =C2=A0SCTs to a URI configured by the host, but will allow the conne=
ction.<br>
=C2=A0 =C2=A0By turning on Expect-CT, web host operators can discover<br>
=C2=A0 =C2=A0misconfigurations in their Certificate Transparency deployment=
s and<br>
=C2=A0 =C2=A0ensure that misissued certificates accepted by UAs are discove=
rable<br>
=C2=A0 =C2=A0in Certificate Transparency logs.<br>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-httpbis-expect-ct/" =
rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/<wbr>doc/=
draft-ietf-httpbis-expect-<wbr>ct/</a><br>
<br>
There are also htmlized versions available at:<br>
<a href=3D"https://tools.ietf.org/html/draft-ietf-httpbis-expect-ct-01" rel=
=3D"noreferrer" target=3D"_blank">https://tools.ietf.org/html/<wbr>draft-ie=
tf-httpbis-expect-ct-<wbr>01</a><br>
<a href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-expect-=
ct-01" rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/<w=
br>doc/html/draft-ietf-httpbis-<wbr>expect-ct-01</a><br>
<br>
A diff from the previous version is available at:<br>
<a href=3D"https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-expect-ct=
-01" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/rfcdiff?<wbr=
>url2=3Ddraft-ietf-httpbis-<wbr>expect-ct-01</a><br>
<br>
<br>
Please note that it may take a couple of minutes from the time of submissio=
n<br>
until the htmlized version and diff are available at <a href=3D"http://tool=
s.ietf.org" rel=3D"noreferrer" target=3D"_blank">tools.ietf.org</a>.<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" rel=3D"noreferrer" target=
=3D"_blank">ftp://ftp.ietf.org/internet-<wbr>drafts/</a><br>
<br>
<br>
</blockquote></div><br></div>

--001a113d82785e4f1f05505112d2--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Wed May 24 21:34:23 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0461D1294C7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 May 2017 21:34:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.502
X-Spam-Level:
X-Spam-Status: No, score=-6.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RaEC3vKxqtIy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 May 2017 21:34:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 76CBC129436 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 May 2017 21:34:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dDkQ9-0004Qm-As for ietf-http-wg-dist@listhub.w3.org; Thu, 25 May 2017 04:30:45 +0000
Resent-Date: Thu, 25 May 2017 04:30:45 +0000
Resent-Message-Id: <E1dDkQ9-0004Qm-As@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1dDkQ4-0004PS-UI for ietf-http-wg@listhub.w3.org; Thu, 25 May 2017 04:30:40 +0000
Received: from mail-lf0-f45.google.com ([209.85.215.45]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <martin.thomson@gmail.com>) id 1dDkPw-0005Yc-Pa for ietf-http-wg@w3.org; Thu, 25 May 2017 04:30:35 +0000
Received: by mail-lf0-f45.google.com with SMTP id a5so64118201lfh.2 for <ietf-http-wg@w3.org>; Wed, 24 May 2017 21:30:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=a2K/CVA5uDT7Imuy1Fr6EsoZKFQi0wv/VEgOw9jEYYw=; b=Ic+sNwdcpXVh9c0aPvoh852pyhN2Y5RfX0j54gfGqaembo3cudLDctUytdcDRFQtiu 6o0yc8inMPqizlq4C9swsrIOA7PwCMDVxo4Hcm0nBXmzdYImDjEFSsTYfVX/edq6uolk jnovNjhA/M4ImUfwj/U+j7tdgHRMraWajjp/Cd2wrVU7xqNPiZKVBVbdmvfJFuCbaL4S yS0485Rry1fYC+uHGDERJEUJFZwcQ9gI9DJaOCIku/OVzJZweHO7XtoKQJGRKwIXELUv 9stUZBQmJ1d3wDEzVvJ88A2BC9QdA9LdPx3+uoocVq46a1kd0A9Yx2CXgNeR4f6Fj+b5 rctw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=a2K/CVA5uDT7Imuy1Fr6EsoZKFQi0wv/VEgOw9jEYYw=; b=E64L2gwPy1Iw55xXpEu45KgMspsI1d0vsfnx0f8P3gOavK3c96ajelq34Jj0/kLZ5Q MWIQSYy5+bMoqYsiV5fSwLYRKYQW7BVUz3ndNa0VVdoOfHtiVzM7q0fUncBWIFvoiFw+ 0o0sosb5wSwH+VeGkbVyYx2BRa5bQGghfDn21FuI67O6Z6s1ViiIIzXwWVE55AfrlUfd SHiyt5GsTFDtuewhLzs317/2J5r4u/eGT/nKRINPCM58/O7XEaUOO+0RIG4p6YxzSIyY bQtQUC6SEc9EXgbOpW7rhk0QL0LycNhAN8rUaboo20+sU4TGDf+WaoNqV0DMyiHUfFUk 2QFg==
X-Gm-Message-State: AODbwcBgqJh8Nw0AzPTXl2WItWLG8ZbcGF32Kf9FSUgd3Jmc75zq3Bh8 gl7s2+/cYKqfO4Efxddngms2Q40udA==
X-Received: by 10.46.21.68 with SMTP id 4mr10526922ljv.50.1495686605386; Wed, 24 May 2017 21:30:05 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.22.73 with HTTP; Wed, 24 May 2017 21:30:04 -0700 (PDT)
In-Reply-To: <CAPP_2SZuLMiU4x37oXBTXFN4v3TafCuj0kNKNmhcuo1NuT93bQ@mail.gmail.com>
References: <149566297573.8692.530174270532868453@ietfa.amsl.com> <CAPP_2SZuLMiU4x37oXBTXFN4v3TafCuj0kNKNmhcuo1NuT93bQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 25 May 2017 14:30:04 +1000
Message-ID: <CABkgnnUzw8vLN94+axRo5CVpO_a5D=nEWdKC8nkx_AGE36AqnQ@mail.gmail.com>
To: Emily Stark <estark@google.com>
Cc: httpbis <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.215.45; envelope-from=martin.thomson@gmail.com; helo=mail-lf0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-5.7
X-W3C-Hub-Spam-Report: AWL=-0.209, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1dDkPw-0005Yc-Pa cc2360b8360f57544d6af4e580e0605d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: I-D Action: draft-ietf-httpbis-expect-ct-01.txt
Archived-At: <http://www.w3.org/mid/CABkgnnUzw8vLN94+axRo5CVpO_a5D=nEWdKC8nkx_AGE36AqnQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33950
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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 May 2017 at 13:46, Emily Stark <estark@google.com> wrote:
> * Change Content-Type header of reports to
> 'application/expect-ct-report+json'

Presumably you also change the media type of the reports as well.


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 25 06:15:44 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0D3C412954B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 May 2017 06:15:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eCjyTN8M0e0m for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 May 2017 06:15:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C594F1294D8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 May 2017 06:15:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dDsYd-0001nq-0d for ietf-http-wg-dist@listhub.w3.org; Thu, 25 May 2017 13:12:03 +0000
Resent-Message-Id: <E1dDsYd-0001nq-0d@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <ylafon@w3.org>) id 1dDsYX-0001mh-6w for ietf-http-wg@listhub.w3.org; Thu, 25 May 2017 13:11:57 +0000
Received: from raoul.w3.org ([128.30.52.128]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <ylafon@w3.org>) id 1dDsYD-0001ht-Jn for ietf-http-wg@w3.org; Thu, 25 May 2017 13:11:51 +0000
Received: from platy.fdn.fr ([80.67.176.7] helo=[192.168.1.36]) by raoul.w3.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ylafon@w3.org>) id 1dDsYC-000FPK-TF for ietf-http-wg@w3.org; Thu, 25 May 2017 13:11:37 +0000
Content-Type: multipart/alternative; boundary="Apple-Mail=_2599C130-AB67-4B2F-B277-8A783F6E715F"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: David Witherspoon <dwitherspoon2011@gmail.com>
Resent-From: Yves Lafon <ylafon@w3.org>
Date: Wed, 24 May 2017 17:27:53 +0000
Resent-Date: Thu, 25 May 2017 15:11:34 +0200
Resent-To: ietf-http-wg@w3.org
Message-Id: <CAGnbNm78FYtC_CU2V+CbBTvP6qPzVgGNXyowoFRK1fw7T=_dDQ@mail.gmail.com>
X-Name-Md5: efe3dad792d606410c9cc49cedaffc94
To: ietf-http-wg@w3.org
X-Mailer: Apple Mail (2.3273)
X-W3C-Hub-Spam-Status: No, score=-1.5
X-W3C-Hub-Spam-Report: ALL_TRUSTED=-1, BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, NML_ADSP_CUSTOM_MED=0.9, RP_MATCHES_RCVD=-0.001, W3C_NW=0.5
X-W3C-Scan-Sig: mimas.w3.org 1dDsYD-0001ht-Jn 5573504e7a16dc53c772a5192d7f6262
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Server Push and Caching
Archived-At: <http://www.w3.org/mid/CAGnbNm78FYtC_CU2V+CbBTvP6qPzVgGNXyowoFRK1fw7T=_dDQ@mail.gmail.com>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33951
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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=_2599C130-AB67-4B2F-B277-8A783F6E715F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

>  The only native HTTP mechanism for cache invalidation is described in =
RFC7234, Section 4.4:

I believe this is not entirely correct.  RFC7540 Section 8.2.1:=20

   Server push is semantically equivalent to a server responding to a
   request; however, in this case, that request is also sent by the
   server, as a PUSH_PROMISE frame.

Meaning all well-specified semantics of an HTTP request are available to =
a Push Promise/client-initiated request. =20

RFC7234 Section 5.2.1.4 defines one, (request cache-directive, =
no-cache):

   The =E2=80=9Cno-cache=E2=80=9D request directive indicates that a =
cache MUST NOT use
   a stored response to satisfy the request without successful
   validation on the origin server.

It would be semantically incorrect to cancel a server-initiated request =
with a no-cache request directive for the sole reason that it is already =
has a cached response.  In fact, the premise that a server-initiated =
request with a no-cache request directive can already have a cached =
response violates semantic equivalency.  Any request, client or server =
initiated, with a no-cache request directive can not by RFC have a =
validated response in the cache.

Assuming the Push Promise goes through (client still may cancel the Push =
Promise for any reason), this clearly allows for overwriting an existing =
cached response, specifically replacing a cache entry.

I=E2=80=99m uncertain if there is a response that could complete a push =
promise in a way to remove a cache entry.  But by SPEC, it seems any =
server-initiated request (or client initiated request) with a no-cache =
request directive should invalidate the existing cache entry as soon as =
that request reaches the caching layer.  Arguably, replacement is a =
better use case anyways.

Related conversation: =
https://bugs.chromium.org/p/chromium/issues/detail?id=3D232040#c75 =
<https://bugs.chromium.org/p/chromium/issues/detail?id=3D232040#c75>

> I'm also not convinced that no-cache is the right way to signal =
invalidation. If the client receives a push promise with no-cache, I =
would interpret that to mean that all servers between the client and the =
origin (such as a CDN or reverse proxy between the client and the =
origin) have ensured that the pushed response is fresh from the origin =
server. This is what no-cache means: the response has been validated at =
the origin server. It does *not* mean that the client necessarily has an =
invalid version of the resource. What if the push promise has no-cache, =
and we take your idea to not cancel the push, but it turns out the =
client already has the most up-to-date version of the resource? We =
wasted time -- we could have canceled the push sooner. Better, IMO, to =
label the push promise with a conditional header describing the resource =
so the client can determine if the pushed response is more up-to-date =
than the resource it has cached. Also see this thread, which I forgot to =
link earlier:
https://lists.w3.org/Archives/Public/ietf-http-wg/2016JulSep/0522.html =
<https://lists.w3.org/Archives/Public/ietf-http-wg/2016JulSep/0522.html>

I assume you are referring to intermediaries (CDN/caching) sending push =
promises independently from the origin server?  =46rom a technical point =
of view I completely agree with your assertion proxies MUST NOT send a =
push promise with a no-cache request directive unless they have =
validated the resource with the origin server.  However, this is the =
exact same model/flow as response no-cache directives, which is already =
implemented!  Namely, intermediaries should not replay push promises =
with a request no-cache directive without validating the cached =
response, just like it should not serve a cached response with a =
response no-cache directive without validating it.

> What if the push promise has no-cache, and we take your idea to not =
cancel the push, but it turns out the client already has the most =
up-to-date version of the resource? We wasted time -- we could have =
canceled the push sooner.  Better, IMO, to label the push promise with a =
conditional header describing the resource so the client can determine =
if the pushed response is more up-to-date than the resource it has =
cache.

This problem seems to be generic to the request/response model and cache =
directives, whether the request is initiated by the browser or by the =
server.  For example, if a client initiates a request with the no-cache =
cache directive, then it can be an equal waste of time if the cached =
response is already in fact valid.  I would hope that any solution to =
this problem would be generic and solve both cases.  Moreover, I believe =
existing work in progress =
(https://tools.ietf.org/html/draft-kazuho-h2-cache-digest-00 =
<https://tools.ietf.org/html/draft-kazuho-h2-cache-digest-00>) would =
solve this issue in a generic way AND be more efficient than canceling =
the push promise because with the proposal the push promise would not be =
sent in the first place! =20



---
- David Witherspoon=

--Apple-Mail=_2599C130-AB67-4B2F-B277-8A783F6E715F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><div dir=3D"ltr" class=3D""><div class=3D""><div =
style=3D"box-sizing: border-box; margin: 0px; padding: 0px; color: =
rgb(61, 60, 64); font-family: Slack-Lato, appleLogo, sans-serif; =
font-size: 15px; font-variant-ligatures: none; white-space: pre-wrap;" =
class=3D"">&gt;  The only native HTTP mechanism for cache invalidation =
is described in RFC7234, Section 4.4:<br class=3D""></div><div =
style=3D"box-sizing: border-box; margin: 0px; padding: 0px; color: =
rgb(61, 60, 64); font-family: Slack-Lato, appleLogo, sans-serif; =
font-size: 15px; font-variant-ligatures: none; white-space: pre-wrap;" =
class=3D""><br style=3D"box-sizing:border-box" class=3D""></div><div =
style=3D"box-sizing: border-box; margin: 0px; padding: 0px; color: =
rgb(61, 60, 64); font-family: Slack-Lato, appleLogo, sans-serif; =
font-size: 15px; font-variant-ligatures: none; white-space: pre-wrap;" =
class=3D"">I believe this is not entirely correct.  RFC7540 Section =
8.2.1: </div><div style=3D"box-sizing: border-box; margin: 0px; padding: =
0px; color: rgb(61, 60, 64); font-family: Slack-Lato, appleLogo, =
sans-serif; font-size: 15px; font-variant-ligatures: none; white-space: =
pre-wrap;" class=3D""><br style=3D"box-sizing:border-box" =
class=3D""></div><div style=3D"box-sizing: border-box; margin: 0px; =
padding: 0px; color: rgb(61, 60, 64); font-family: Slack-Lato, =
appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: none; =
white-space: pre-wrap;" class=3D"">   Server push is semantically =
equivalent to a server responding to a</div><div style=3D"box-sizing: =
border-box; margin: 0px; padding: 0px; color: rgb(61, 60, 64); =
font-family: Slack-Lato, appleLogo, sans-serif; font-size: 15px; =
font-variant-ligatures: none; white-space: pre-wrap;" class=3D"">   =
request; however, in this case, that request is also sent by =
the</div><div style=3D"box-sizing: border-box; margin: 0px; padding: =
0px; color: rgb(61, 60, 64); font-family: Slack-Lato, appleLogo, =
sans-serif; font-size: 15px; font-variant-ligatures: none; white-space: =
pre-wrap;" class=3D"">   server, as a PUSH_PROMISE frame.</div><div =
style=3D"box-sizing: border-box; margin: 0px; padding: 0px; color: =
rgb(61, 60, 64); font-family: Slack-Lato, appleLogo, sans-serif; =
font-size: 15px; font-variant-ligatures: none; white-space: pre-wrap;" =
class=3D""><br style=3D"box-sizing:border-box" class=3D""></div><div =
style=3D"box-sizing: border-box; margin: 0px; padding: 0px; color: =
rgb(61, 60, 64); font-family: Slack-Lato, appleLogo, sans-serif; =
font-size: 15px; font-variant-ligatures: none; white-space: pre-wrap;" =
class=3D"">Meaning all well-specified semantics of an HTTP request are =
available to a Push Promise/client-initiated request.  </div><div =
style=3D"box-sizing: border-box; margin: 0px; padding: 0px; color: =
rgb(61, 60, 64); font-family: Slack-Lato, appleLogo, sans-serif; =
font-size: 15px; font-variant-ligatures: none; white-space: pre-wrap;" =
class=3D""><br style=3D"box-sizing:border-box" class=3D""></div><div =
style=3D"box-sizing: border-box; margin: 0px; padding: 0px; color: =
rgb(61, 60, 64); font-family: Slack-Lato, appleLogo, sans-serif; =
font-size: 15px; font-variant-ligatures: none; white-space: pre-wrap;" =
class=3D"">RFC7234 Section 5.2.1.4 defines one, (request =
cache-directive, no-cache):</div><div style=3D"box-sizing: border-box; =
margin: 0px; padding: 0px; color: rgb(61, 60, 64); font-family: =
Slack-Lato, appleLogo, sans-serif; font-size: 15px; =
font-variant-ligatures: none; white-space: pre-wrap;" class=3D""><br =
style=3D"box-sizing:border-box" class=3D""></div><div style=3D"box-sizing:=
 border-box; margin: 0px; padding: 0px; color: rgb(61, 60, 64); =
font-family: Slack-Lato, appleLogo, sans-serif; font-size: 15px; =
font-variant-ligatures: none; white-space: pre-wrap;" class=3D"">   The =
=E2=80=9Cno-cache=E2=80=9D request directive indicates that a cache MUST =
NOT use</div><div style=3D"box-sizing: border-box; margin: 0px; padding: =
0px; color: rgb(61, 60, 64); font-family: Slack-Lato, appleLogo, =
sans-serif; font-size: 15px; font-variant-ligatures: none; white-space: =
pre-wrap;" class=3D"">   a stored response to satisfy the request =
without successful</div><div style=3D"box-sizing: border-box; margin: =
0px; padding: 0px; color: rgb(61, 60, 64); font-family: Slack-Lato, =
appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: none; =
white-space: pre-wrap;" class=3D"">   validation on the origin =
server.</div><div style=3D"box-sizing: border-box; margin: 0px; padding: =
0px; color: rgb(61, 60, 64); font-family: Slack-Lato, appleLogo, =
sans-serif; font-size: 15px; font-variant-ligatures: none; white-space: =
pre-wrap;" class=3D""><br style=3D"box-sizing:border-box" =
class=3D""></div><div style=3D"box-sizing: border-box; margin: 0px; =
padding: 0px; color: rgb(61, 60, 64); font-family: Slack-Lato, =
appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: none; =
white-space: pre-wrap;" class=3D"">It would be semantically incorrect to =
cancel a server-initiated request with a no-cache request directive for =
the sole reason that it is already has a cached response.  In fact, the =
premise that a server-initiated request with a no-cache request =
directive can already have a cached response violates semantic =
equivalency.  Any request, client or server initiated, with a no-cache =
request directive can not by RFC have a validated response in the =
cache.</div><div style=3D"box-sizing: border-box; margin: 0px; padding: =
0px; color: rgb(61, 60, 64); font-family: Slack-Lato, appleLogo, =
sans-serif; font-size: 15px; font-variant-ligatures: none; white-space: =
pre-wrap;" class=3D""><br style=3D"box-sizing:border-box" =
class=3D""></div><div style=3D"box-sizing: border-box; margin: 0px; =
padding: 0px; color: rgb(61, 60, 64); font-family: Slack-Lato, =
appleLogo, sans-serif; font-size: 15px; font-variant-ligatures: none; =
white-space: pre-wrap;" class=3D"">Assuming the Push Promise goes =
through (client still may cancel the Push Promise for any reason), this =
clearly allows for overwriting an existing cached response, specifically =
replacing a cache entry.</div><div style=3D"box-sizing: border-box; =
margin: 0px; padding: 0px; color: rgb(61, 60, 64); font-family: =
Slack-Lato, appleLogo, sans-serif; font-size: 15px; =
font-variant-ligatures: none; white-space: pre-wrap;" class=3D""><br =
style=3D"box-sizing:border-box" class=3D""></div><div style=3D"box-sizing:=
 border-box; margin: 0px; padding: 0px; color: rgb(61, 60, 64); =
font-family: Slack-Lato, appleLogo, sans-serif; font-size: 15px; =
font-variant-ligatures: none; white-space: pre-wrap;" class=3D"">I=E2=80=99=
m uncertain if there is a response that could complete a push promise in =
a way to remove a cache entry.  But by SPEC, it seems any =
server-initiated request (or client initiated request) with a no-cache =
request directive should invalidate the existing cache entry as soon as =
that request reaches the caching layer.  Arguably, replacement is a =
better use case anyways.

Related conversation: <a =
href=3D"https://bugs.chromium.org/p/chromium/issues/detail?id=3D232040#c75=
" target=3D"_blank" class=3D"">https://bugs.chromium.org/p/<wbr =
class=3D"">chromium/issues/detail?id=3D<wbr =
class=3D"">232040#c75</a></div><div style=3D"box-sizing: border-box; =
margin: 0px; padding: 0px; color: rgb(61, 60, 64); font-family: =
Slack-Lato, appleLogo, sans-serif; font-size: 15px; =
font-variant-ligatures: none; white-space: pre-wrap;" class=3D""><br =
class=3D""></div><div style=3D"box-sizing: border-box; margin: 0px; =
padding: 0px;" class=3D""><font color=3D"#3d3c40" face=3D"Slack-Lato, =
appleLogo, sans-serif" class=3D""><span =
style=3D"font-size:15px;font-variant-ligatures:none;white-space:pre-wrap" =
class=3D"">&gt; I'm also not convinced that no-cache is the right way to =
signal invalidation. If the client receives a push promise with =
no-cache, I would interpret that to mean that all servers between the =
client and the origin (such as a CDN or reverse proxy between the client =
and the origin) have ensured that the pushed response is fresh from the =
origin server. This is what no-cache means: the response has been =
validated at the origin server. It does *not* mean that the client =
necessarily has an invalid version of the resource. What if the push =
promise has no-cache, and we take your idea to not cancel the push, but =
it turns out the client already has the most up-to-date version of the =
resource? We wasted time -- we could have canceled the push sooner. =
Better, IMO, to label the push promise with a conditional header =
describing the resource so the client can determine if the pushed =
response is more up-to-date than the resource it has cached. Also see =
this thread, which I forgot to link earlier:
<a =
href=3D"https://lists.w3.org/Archives/Public/ietf-http-wg/2016JulSep/0522.=
html" target=3D"_blank" class=3D"">https://lists.w3.org/Archives/<wbr =
class=3D"">Public/ietf-http-wg/<wbr =
class=3D"">2016JulSep/0522.html</a></span></font><span =
style=3D"color:rgb(61,60,64);font-family:Slack-Lato,appleLogo,sans-serif;f=
ont-size:15px;font-variant-ligatures:none;white-space:pre-wrap" =
class=3D"">
</span></div><div class=3D""><br class=3D"">I assume you are referring =
to intermediaries (CDN/caching) sending push promises independently from =
the origin server?&nbsp; =46rom a technical point of view I completely =
agree with your assertion proxies MUST NOT send a push promise with a =
no-cache request directive unless they have validated the resource with =
the origin server.&nbsp; However, this is the exact same model/flow as =
response no-cache directives, which is already implemented!&nbsp; =
Namely, intermediaries should not replay push promises with a request =
no-cache directive without validating the cached response, just like it =
should not serve a cached response with a response no-cache directive =
without validating it.<br class=3D""><br class=3D"">&gt;&nbsp;<span =
style=3D"color:rgb(61,60,64);font-family:Slack-Lato,appleLogo,sans-serif;f=
ont-size:15px;font-variant-ligatures:none;white-space:pre-wrap" =
class=3D"">What if the push promise has no-cache, and we take your idea =
to not cancel the push, but it turns out the client already has the most =
up-to-date version of the resource? We wasted time -- we could have =
canceled the push sooner.  </span><span =
style=3D"color:rgb(61,60,64);font-family:Slack-Lato,appleLogo,sans-serif;f=
ont-size:15px;font-variant-ligatures:none;white-space:pre-wrap" =
class=3D"">Better, IMO, to label the push promise with a conditional =
header describing the resource so the client can determine if the pushed =
response is more up-to-date than the resource it has =
cache.</span></div><div class=3D""><span =
style=3D"color:rgb(61,60,64);font-family:Slack-Lato,appleLogo,sans-serif;f=
ont-size:15px;font-variant-ligatures:none;white-space:pre-wrap" =
class=3D""><br class=3D""></span></div><div class=3D""><font =
color=3D"#3d3c40" face=3D"Slack-Lato, appleLogo, sans-serif" =
class=3D""><span =
style=3D"font-size:15px;font-variant-ligatures:none;white-space:pre-wrap" =
class=3D"">This problem seems to be generic to the request/response =
model and cache directives, whether the request is initiated by the =
browser or by the server.  For example, if a client initiates a request =
with the no-cache cache directive, then it can be an equal waste of time =
if the cached response is already in fact valid.  I would hope that any =
solution to this problem would be generic and solve both cases.  =
Moreover, I believe existing work in progress (<a =
href=3D"https://tools.ietf.org/html/draft-kazuho-h2-cache-digest-00" =
class=3D"">https://tools.ietf.org/html/draft-kazuho-h2-cache-digest-00</a>=
) would solve this issue in a generic way AND be more efficient than =
canceling the push promise because with the proposal the push promise =
would not be sent in the first place! &nbsp;</span></font><br =
class=3D""></div><div class=3D""><span =
style=3D"color:rgb(61,60,64);font-family:Slack-Lato,appleLogo,sans-serif;f=
ont-size:15px;font-variant-ligatures:none;white-space:pre-wrap" =
class=3D""><br class=3D""></span></div><div class=3D""><span =
style=3D"color:rgb(61,60,64);font-family:Slack-Lato,appleLogo,sans-serif;f=
ont-size:15px;font-variant-ligatures:none;white-space:pre-wrap" =
class=3D""><br class=3D""></span></div><br class=3D""></div><div =
class=3D"">---<br class=3D""><div class=3D"">- David =
Witherspoon</div></div></div>
</body></html>=

--Apple-Mail=_2599C130-AB67-4B2F-B277-8A783F6E715F--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 25 15:05:37 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2395E127B5A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 May 2017 15:05:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.002
X-Spam-Level:
X-Spam-Status: No, score=-7.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L3NXkpAIBuDN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 May 2017 15:05:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1AB29129B2B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 May 2017 15:05:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dE0p7-0000EE-Vl for ietf-http-wg-dist@listhub.w3.org; Thu, 25 May 2017 22:01:37 +0000
Resent-Date: Thu, 25 May 2017 22:01:37 +0000
Resent-Message-Id: <E1dE0p7-0000EE-Vl@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <kazuhooku@gmail.com>) id 1dE0p1-0000DM-T6 for ietf-http-wg@listhub.w3.org; Thu, 25 May 2017 22:01:31 +0000
Received: from mail-pf0-f174.google.com ([209.85.192.174]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <kazuhooku@gmail.com>) id 1dE0ov-000722-1i for ietf-http-wg@w3.org; Thu, 25 May 2017 22:01:26 +0000
Received: by mail-pf0-f174.google.com with SMTP id m17so178893391pfg.3 for <ietf-http-wg@w3.org>; Thu, 25 May 2017 15:01:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=b9Cudvmmx6mc7rfw1jlTSO3RvjYB76BloqVdjN06ODQ=; b=aogec7Kk4zFn63Pkla132D6ZzTi5rvH7hIgLUHg/WlLi6ADimVmdVxVULJD+YxVErq FwZloGJOhz3PrjTCrrEhHSFlrHKxm3P5ofY37EPpE5qPVyQ0w9oBLwLMMSDc5AHEUWqd NccSYi4IAV9AwkYUDRhaN6BKqjzUugnxZmba123WQCFaRo5VcIp6MaWaFw9uuKN+b+y8 2fCmjqZEh/iXEin+LNxSjgqTGqZeeOfYTXkF1lP1qGvGcSYfWc2PkgNUY4acyHO4e5pt bSPnFXytBuLbS60iNJXqrfG3NoKfDivwiEBS+W9ja4xccXN2rcHMWSuQ87hHtiIaRs5J phEg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=b9Cudvmmx6mc7rfw1jlTSO3RvjYB76BloqVdjN06ODQ=; b=OHPe6NpLO2SIzOPUkF2KDGs5zJPpB8u6GrzBK4dLGDVoz3j0dt4d9YoRZKolKbka8I HITfGBMv0H+6BXnGonco3GeoIcQ8wqBev0anxrW+NgFSmCuUQ3/twu0yq34+ND+jpJis vRho3aVxkp/Q0UB7h2kRYv45QSGjxZL4v9Q4r1cLKubOp5HcFmCQq3OahtASj7E+vABS ALqkFRmiymA1scLbrCWGqI5XoLyfEIdrKX4hdsEP4iSSTLlAIFpVIHvZpdP68e7cYvNr I+tUcBDjqCF1rDiqGQdHIRA5ojqBdhUFQhNFIeBSqH6r/V2xuvk2Typ0AniFtrqWUQnY vw4A==
X-Gm-Message-State: AODbwcDHkCevrtub060hsh/4S4IYZZ+nNBRgEMooM0u9RGDta50K4Qd3 hMiZ02navUQ0OlRlO7+qVxHo0qPJ49Md
X-Received: by 10.99.45.6 with SMTP id t6mr48584207pgt.209.1495749658224; Thu, 25 May 2017 15:00:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.128.134 with HTTP; Thu, 25 May 2017 15:00:57 -0700 (PDT)
In-Reply-To: <fcf3860a-ed1a-7b04-5776-b5ea3c62a3c0@gmx.de>
References: <42532309-F4FA-4007-8639-04B90743DFFE@mnot.net> <fcf3860a-ed1a-7b04-5776-b5ea3c62a3c0@gmx.de>
From: Kazuho Oku <kazuhooku@gmail.com>
Date: Fri, 26 May 2017 07:00:57 +0900
Message-ID: <CANatvzx=BaRVRuwuuD1ziL8dpv8MXYQERgx8jkJTxJAvia0m2w@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>,  Patrick McManus <mcmanus@ducksong.com>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.192.174; envelope-from=kazuhooku@gmail.com; helo=mail-pf0-f174.google.com
X-W3C-Hub-Spam-Status: No, score=-6.6
X-W3C-Hub-Spam-Report: AWL=0.232, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1dE0ov-000722-1i d763409e25e0f9847cb77bcc941743a1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Working Group Last Call: draft-ietf-httpbis-early-hints-02
Archived-At: <http://www.w3.org/mid/CANatvzx=BaRVRuwuuD1ziL8dpv8MXYQERgx8jkJTxJAvia0m2w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33952
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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,

Thank you very much for the suggestions. My comments in-line.

2017-05-19 23:06 GMT+09:00 Julian Reschke <julian.reschke@gmx.de>:
> Here's my feedback (and yes, as stated elsewhere, there should be at least
> one example in the spec):
>
>
> 1.  Introduction
>
>    The "preload" ([Preload]) link relation can be used to convey such
>    links in the Link header field of an HTTP response.  However, it is
>    not always possible for an origin server to generate a response
>    header block immediately after receiving a request.  For example, the
>
> Maybe s/generate a response header block/generate a final response/?

How about https://github.com/httpwg/http-extensions/pull/353?

Including the word "final" makes sense to me. OTOH I think it might be
beneficial to retain the term "header block", to avoid readers
wondering why the solution to not being able to generate a final
response cannot be to stream the final response as you generate.

>    The dilemma here is that even though it is preferable for an origin
>    server to send some headers as soon as it receives a request, it
>
> s/headers/header fields/ (throughout)
>
>    HTTP/2 ([RFC7540]) server push can be used as a solution to this
>    issue, but has its own limitations.  The responses that can be pushed
>    using HTTP/2 are limited to those belonging to the same origin.
>    Also, it is impossible to send only the links using server push.
>
> That's not clear to me. We could HTTP/2-push a HEAD response with link
> header fields, no? Or a GET response which has links in the payload...

Does changing the last sentence of the quote to "Also, it does not
define a way to push the links only." sound reasonable to you?

The paragraph lists what cannot be done under the current state of
HTTP/2, namely: pushing a resource belonging to a different origin,
push links only, avoid resending an already cached response.

All the other suggestions seemed to me that nobody would object, hence
went directly into master in
https://github.com/httpwg/http-extensions/commit/339ac0fff9524f04e80dfc48db4f3ba3eb8963f6.

Thank you very much for your help.

>
>    This memo defines a status code for sending an informational response
>    ([RFC7231], section 6.2) that contains headers that are likely to be
>
> s/section/Section/ (throughout)
>
> 2.  103 Early Hints
>
>    The 103 (Early Hints) informational status code indicates the client
>    that the server is likely to send a final response with the headers
>    included in the informational response.
>
> maybe "indicates to the client"?
>
>    A client MAY speculatively evaluate the headers included in a 103
>    (Early Hints) response while waiting for the final response.  For
>    example, a client might recognize a Link header field value
>    containing the relation type "preload" and start fetching the target
>    resource.
>
> The "MAY" is a bit weird here, because that's the whole point of the new
> status code. I'd just say "can".
>
>
> 3.  Security Considerations
>
>    Some clients may have issues handling 103 (Early Hints), since
>
> s/may/might/ (avoid lowercase BCP14 keywords or invoke
> https://tools.ietf.org/html/rfc8174)
>
>    informational responses are rarely used in reply to requests not
>    including an Expect header ([RFC7231], section 5.1.1).
>
> 7.2.  Informative References
>
>    [Preload]  Grigorik, I., "Preload", September 2016,
>               <https://w3c.github.io/preload/>.
>
> The reference is dated, but the thing referred to is not. Either cite the
> stable version or drop the date.



-- 
Kazuho Oku


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 25 18:22:42 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D6F4A12EB03 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 May 2017 18:22:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.501
X-Spam-Level:
X-Spam-Status: No, score=-6.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xw2h1VQKC3_o for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 May 2017 18:22:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 07E8212EAFF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 May 2017 18:22:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dE3uL-0004LB-OI for ietf-http-wg-dist@listhub.w3.org; Fri, 26 May 2017 01:19:13 +0000
Resent-Date: Fri, 26 May 2017 01:19:13 +0000
Resent-Message-Id: <E1dE3uL-0004LB-OI@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <kazuhooku@gmail.com>) id 1dE3uG-0004K9-5D for ietf-http-wg@listhub.w3.org; Fri, 26 May 2017 01:19:08 +0000
Received: from mail-pf0-f181.google.com ([209.85.192.181]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <kazuhooku@gmail.com>) id 1dE3u9-0001N3-7e for ietf-http-wg@w3.org; Fri, 26 May 2017 01:19:02 +0000
Received: by mail-pf0-f181.google.com with SMTP id n23so182456530pfb.2 for <ietf-http-wg@w3.org>; Thu, 25 May 2017 18:18:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=H4vBaqVRxQaOlHSqWIyISIi3Exr3O45hNYleiUr9hoo=; b=KZp2gJBzWmi4zl3HZARxtyjfXi5rKM0TkH/4j9Ei8hrpqVJdPWHkKnCd88VkYO2jws 6pofOqcCqEkaDrZFHTeU3dnI8owcDS2mXOG6GegsISCd4bmmXg27Me4ckptVFq/oyAue k14nqC1AG0lSWJ7U+ndT18O2Bh+V6Jd0oXjm97afiiWQrNAcMvElfzINR4KgCdDOGe1I uqjqH8cZeVMV47x1raOIeh/ia2UrumBc2W1g1HxYUIJmkxXYg/Oy0S5fO2s5e3SXqPix c5cqRdkkThGFvdtE0gse5s6KJaZ98sPYWPSHqcvSDWyO+leO6eWlN6ZXfVp1Ja1JpMTS a01Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=H4vBaqVRxQaOlHSqWIyISIi3Exr3O45hNYleiUr9hoo=; b=eCqf7h5+XRqW3SpsUHKmNX4fU469TfRMvLv5qQ/S6vtesCzhANYs2sBEVV02pAde5+ PZPX2Y3CM15l43kridG0us1fgOe604m2W8CSj2infRX/loe3PjBNsb8KL4VFjPr0hXEm ooV12b995yPuLeDCVnRt7yIXtP+GvkmZMTCA3qokb6zfY84e3gNXeuU9ECWmILBjLnFc YfHsZjkVKWmOroAxQJUPJiyp7rmvz9RHn/tynTGh59RB6dAe65gCS1alM54cLzwPjEN6 AIvENab5AW7R2w4O0scKbXKpz5nik1GVVQrDTDcFPWY0y0pbZkxjS9a8YwLD3n7zVfRP E/Wg==
X-Gm-Message-State: AODbwcA9BTZMS+zrZK59mGmFR/yLFdC40u23vgsz3URH+i200QlSBuJu WXsCJFXczYrjEgC0Q5JqlmjSnJ+ieHXYlko=
X-Received: by 10.98.35.17 with SMTP id j17mr48764023pfj.133.1495761514630; Thu, 25 May 2017 18:18:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.128.134 with HTTP; Thu, 25 May 2017 18:18:33 -0700 (PDT)
In-Reply-To: <20170518044838.GB20334@1wt.eu>
References: <42532309-F4FA-4007-8639-04B90743DFFE@mnot.net> <CANatvzy99cHoUyjHMD+m5mMwFn4OnepGDWSQZKv5b4P+bNzedQ@mail.gmail.com> <20170518044838.GB20334@1wt.eu>
From: Kazuho Oku <kazuhooku@gmail.com>
Date: Fri, 26 May 2017 10:18:33 +0900
Message-ID: <CANatvzxGnfK71XVep_-Dg5BiyP-xTP=x9a1-3AFboNbtkD8vyQ@mail.gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>,  Patrick McManus <mcmanus@ducksong.com>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.192.181; envelope-from=kazuhooku@gmail.com; helo=mail-pf0-f181.google.com
X-W3C-Hub-Spam-Status: No, score=-6.3
X-W3C-Hub-Spam-Report: AWL=-0.018, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1dE3u9-0001N3-7e 49492bdd82ebd021fe69905bd3900d5c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Working Group Last Call: draft-ietf-httpbis-early-hints-02
Archived-At: <http://www.w3.org/mid/CANatvzxGnfK71XVep_-Dg5BiyP-xTP=x9a1-3AFboNbtkD8vyQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33953
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

2017-05-18 13:48 GMT+09:00 Willy Tarreau <w@1wt.eu>:
> On Thu, May 18, 2017 at 11:22:02AM +0900, Kazuho Oku wrote:
>> 2017-05-18 10:22 GMT+09:00 Mark Nottingham <mnot@mnot.net>:
>> > Kazuho has indicated that he thinks this draft is ready for WGLC, and we have no open issues.
>> >
>> > Please have a look at:
>> >   https://tools.ietf.org/html/draft-ietf-httpbis-early-hints-02
>> > .. and raise any issues you see here or on the issues list. Statements of support / intent to implement would also be helpful.
>> >
>> > WGLC will end in two weeks, on 1 June 2017.
>>
>> Thank you for changing the state to WGLC.
>>
>> The only change that was made in the -02 draft (which was submitted on
>> Tuesday) is editorial improvements from Mark. I would appreciate it if
>> you could take a look. IMO the text is much clear and concise than
>> -01.
>
> It looks pretty good to me. I just think that one example could have been
> nice (since not everybody is familiar with informational responses), to
> make it visually clear that you can get one or a few 103 prior to a 200
> for a single request.

Hi Willy,

That sounds like a good idea!

I've created a PR adding such an example.
https://github.com/httpwg/http-extensions/pull/354

Please let me know what you think.

Thank you in advance.

>
> I expect it to work out of the box through haproxy, and in general I intend
> to make sure it will.
>
> Regards,
> Willy



-- 
Kazuho Oku


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Thu May 25 22:52:28 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5300D129463 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 May 2017 22:52:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GjIkeK32twVH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 May 2017 22:52:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 916D712943E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 May 2017 22:52:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dE874-00080V-IV for ietf-http-wg-dist@listhub.w3.org; Fri, 26 May 2017 05:48:38 +0000
Resent-Date: Fri, 26 May 2017 05:48:38 +0000
Resent-Message-Id: <E1dE874-00080V-IV@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <w@1wt.eu>) id 1dE86z-0007zf-SH for ietf-http-wg@listhub.w3.org; Fri, 26 May 2017 05:48:33 +0000
Received: from wtarreau.pck.nerim.net ([62.212.114.60] helo=1wt.eu) by titan.w3.org with esmtp (Exim 4.84_2) (envelope-from <w@1wt.eu>) id 1dE86s-00044v-O5 for ietf-http-wg@w3.org; Fri, 26 May 2017 05:48:28 +0000
Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id v4Q5lsxn008487; Fri, 26 May 2017 07:47:54 +0200
Date: Fri, 26 May 2017 07:47:54 +0200
From: Willy Tarreau <w@1wt.eu>
To: Kazuho Oku <kazuhooku@gmail.com>
Cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Patrick McManus <mcmanus@ducksong.com>
Message-ID: <20170526054754.GA8477@1wt.eu>
References: <42532309-F4FA-4007-8639-04B90743DFFE@mnot.net> <CANatvzy99cHoUyjHMD+m5mMwFn4OnepGDWSQZKv5b4P+bNzedQ@mail.gmail.com> <20170518044838.GB20334@1wt.eu> <CANatvzxGnfK71XVep_-Dg5BiyP-xTP=x9a1-3AFboNbtkD8vyQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANatvzxGnfK71XVep_-Dg5BiyP-xTP=x9a1-3AFboNbtkD8vyQ@mail.gmail.com>
User-Agent: Mutt/1.6.1 (2016-04-27)
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: AWL=0.957, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1dE86s-00044v-O5 62b2532e203590ead80cc1ae477d5430
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Working Group Last Call: draft-ietf-httpbis-early-hints-02
Archived-At: <http://www.w3.org/mid/20170526054754.GA8477@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33954
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 Kazuho,

On Fri, May 26, 2017 at 10:18:33AM +0900, Kazuho Oku wrote:
> I've created a PR adding such an example.
> https://github.com/httpwg/http-extensions/pull/354
> 
> Please let me know what you think.

This looks perfect to me.

Thanks,
Willy


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Fri May 26 00:31:20 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 212271242F7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 May 2017 00:31:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qgzG_mOEyAct for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 May 2017 00:31:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4EAA21242EA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 26 May 2017 00:31:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dE9fC-0006z3-IQ for ietf-http-wg-dist@listhub.w3.org; Fri, 26 May 2017 07:27:58 +0000
Resent-Date: Fri, 26 May 2017 07:27:58 +0000
Resent-Message-Id: <E1dE9fC-0006z3-IQ@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <julian.reschke@gmx.de>) id 1dE9f8-0006xx-5f for ietf-http-wg@listhub.w3.org; Fri, 26 May 2017 07:27:54 +0000
Received: from mout.gmx.net ([212.227.17.21]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <julian.reschke@gmx.de>) id 1dE9ez-0003Zr-78 for ietf-http-wg@w3.org; Fri, 26 May 2017 07:27:48 +0000
Received: from [10.82.240.102] ([194.224.169.34]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MWCKz-1dTDfV0Xaz-00XPQu; Fri, 26 May 2017 09:27:12 +0200
To: Kazuho Oku <kazuhooku@gmail.com>
Cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Patrick McManus <mcmanus@ducksong.com>
References: <42532309-F4FA-4007-8639-04B90743DFFE@mnot.net> <fcf3860a-ed1a-7b04-5776-b5ea3c62a3c0@gmx.de> <CANatvzx=BaRVRuwuuD1ziL8dpv8MXYQERgx8jkJTxJAvia0m2w@mail.gmail.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <7c35a7c1-c2f0-cbf1-72ff-059948da829a@gmx.de>
Date: Fri, 26 May 2017 09:27:07 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <CANatvzx=BaRVRuwuuD1ziL8dpv8MXYQERgx8jkJTxJAvia0m2w@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:Cq4RpToDDgHn2cADx5scvPsbpab5lhSLBKih3YVRSQPn+hvkrNy j0wLip6BPrbb1CeFUONtN0bDeomSFiXpqwXpji+0jbD0bFXMdwy65+j2pDmE5icG2o2+bZk 0rfBXtzc8V27Q68Ovh3uDVhutZRP8wXQ245fSraw6OkldLX90+kb+wv21QYSfDT7OxpaaZP GwVyWa6GnyUsd/Bo/WQyg==
X-UI-Out-Filterresults: notjunk:1;V01:K0:iPJZpNAgcDA=:iZwVpiFW3eGfkfHcQWXVpL UOGRKSfNWSFieSCJ7NiQ1F6jPTlhBXFIi+Phkf6K4xSSNeK//8O9Zhwae3wTi0xzSU0HeNctK GanlszoIDReUSX5oFH1iMk+ksVTlftaYCjS2muWX5jJUg9e0Z7laA59G42bTAsu6BIq4HTE5s qiVOwX3bqxNQf6p36q1YfZ05rihWB1NQxlKTtUmJpgyVaHyxqz8pofnuZ/umTwqqEZcmRXs6D XBNf/+TxbvyW5QKt6NyuGhhxBCUIQKeXd6xmouUwCCsJTVMNmtS+DmkqpnjrdTKFl8skZS0Ti EUqRdDmjTcvMM7W8gj9hJaOrbhUTftICizs+7OO4Whhd4FEbM5GTzAbdhSLh1KixRlhFreO6e 1bpFWT9LBt8kOWJlFz22sfdgfHMVzRYuXmGT9a2SY+puVFZm+KGJws2bCOwfJfMq2JU8nOH6I pFfV+8Ll7FiMxyE/SCX1nkD/iomIOqX2mjebVkA6UNca1cAKttp7Sxg8xDeosyeG+/77OmUXv YNPRbrx59lHe5N9JmEXfG4bCVAL6Ta79hyvsQ9SB5eJ053VxMi2FcOYZncxsMXNRvd70UZSWt 1fgAsIwsLtNkKQSG23VhiUJ5tyYWYkmRRfsU/YbdRkmN/J7Pa3PaP8nyPEfO86q2qyWOwwHq1 LFQ5qRhwmNBwUZO0EvlrZ9xILectnUivrHv+OrL5oLxUXPM+zr1HSaqi1ufPSR95hdBh0bMbY SmFXF9Tx0zORh1jdeKlmzpmFmmDD9uu4l//D0YTP5tLW2YtEQObNHP57sJ1o+/4tDRmmMavru rvvWjo3
Received-SPF: pass client-ip=212.227.17.21; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-9.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1dE9ez-0003Zr-78 03ba8decb717f9920bd813b6a1b834c1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Working Group Last Call: draft-ietf-httpbis-early-hints-02
Archived-At: <http://www.w3.org/mid/7c35a7c1-c2f0-cbf1-72ff-059948da829a@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33955
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 2017-05-26 00:00, Kazuho Oku wrote:
> Hi Julian,
> 
> Thank you very much for the suggestions. My comments in-line.
> 
> 2017-05-19 23:06 GMT+09:00 Julian Reschke <julian.reschke@gmx.de>:
>> Here's my feedback (and yes, as stated elsewhere, there should be at least
>> one example in the spec):
>>
>>
>> 1.  Introduction
>>
>>     The "preload" ([Preload]) link relation can be used to convey such
>>     links in the Link header field of an HTTP response.  However, it is
>>     not always possible for an origin server to generate a response
>>     header block immediately after receiving a request.  For example, the
>>
>> Maybe s/generate a response header block/generate a final response/?
> 
> How about https://github.com/httpwg/http-extensions/pull/353?

Looks good to me...

>>     HTTP/2 ([RFC7540]) server push can be used as a solution to this
>>     issue, but has its own limitations.  The responses that can be pushed
>>     using HTTP/2 are limited to those belonging to the same origin.
>>     Also, it is impossible to send only the links using server push.
>>
>> That's not clear to me. We could HTTP/2-push a HEAD response with link
>> header fields, no? Or a GET response which has links in the payload...
> 
> Does changing the last sentence of the quote to "Also, it does not
> define a way to push the links only." sound reasonable to you?

Yes.

> The paragraph lists what cannot be done under the current state of
> HTTP/2, namely: pushing a resource belonging to a different origin,
> push links only, avoid resending an already cached response.
> 
> All the other suggestions seemed to me that nobody would object, hence
> went directly into master in
> https://github.com/httpwg/http-extensions/commit/339ac0fff9524f04e80dfc48db4f3ba3eb8963f6.
> 
> Thank you very much for your help.
> ...

You're welcome :-)

Best regards, Julian


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Fri May 26 13:21:07 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 42806129BEE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 May 2017 13:21:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.401
X-Spam-Level:
X-Spam-Status: No, score=-6.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sendgrid.me
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h03l4W0SQGXs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 May 2017 13:21:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 59C8C129B4C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 26 May 2017 13:21:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dELgc-0002Bg-SB for ietf-http-wg-dist@listhub.w3.org; Fri, 26 May 2017 20:18:14 +0000
Resent-Date: Fri, 26 May 2017 20:18:14 +0000
Resent-Message-Id: <E1dELgc-0002Bg-SB@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1dELgW-0002Ah-Uh for ietf-http-wg@listhub.w3.org; Fri, 26 May 2017 20:18:08 +0000
Received: from o1682455182.outbound-mail.sendgrid.net ([168.245.5.182]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1dELgQ-0005Aa-7U for ietf-http-wg@w3.org; Fri, 26 May 2017 20:18:03 +0000
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me;  h=mime-version:in-reply-to:references:from:subject:to:cc:content-type;  s=smtpapi; bh=LbO1Uq9+vlYj2YFY0upW4vPNzII=; b=vNKLgdlleoIOOWEIoo EN8J/CYoN+z93G4+WJpvXeC1tv3P0k9eeeQt1Le7hZAUzBPCOa1IServ+t7wNSKa wlk6fKLCTTSyKe5LWfGvlG2y0cLMMeY4LHK3gpYW+cwarD0xYTwvdNqGCN62Aqnk LF4D5JdrUyEodxsJ4gKJf5LRg=
Received: by filter0811p1mdw1.sendgrid.net with SMTP id filter0811p1mdw1-9893-59288D37-9 2017-05-26 20:16:55.069759171 +0000 UTC
Received: from mail-qk0-f180.google.com (mail-qk0-f180.google.com [209.85.220.180]) by ismtpd0003p1iad1.sendgrid.net (SG) with ESMTP id 6TAo3vOdSuWbuiMm0u0Vhg for <ietf-http-wg@w3.org>; Fri, 26 May 2017 20:16:55.020 +0000 (UTC)
Received: by mail-qk0-f180.google.com with SMTP id k74so15760401qke.1 for <ietf-http-wg@w3.org>; Fri, 26 May 2017 13:16:55 -0700 (PDT)
X-Gm-Message-State: AODbwcAPYnbdWGF2PlyRr9ctDyC2GcIvhe6q06HrX3DUmCtdjmwdrKzG jvnpREzi2IRN6NR/ObB24GziAOQN3g==
X-Received: by 10.55.3.2 with SMTP id 2mr4353018qkd.166.1495829814687; Fri, 26 May 2017 13:16:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.178.74 with HTTP; Fri, 26 May 2017 13:16:54 -0700 (PDT)
In-Reply-To: <CAGnbNm78FYtC_CU2V+CbBTvP6qPzVgGNXyowoFRK1fw7T=_dDQ@mail.gmail.com>
References: <CAGnbNm78FYtC_CU2V+CbBTvP6qPzVgGNXyowoFRK1fw7T=_dDQ@mail.gmail.com>
From: Patrick McManus <mcmanus@ducksong.com>
Date: Fri, 26 May 2017 16:16:54 -0400
X-Gmail-Original-Message-ID: <CAOdDvNrETmv7BfOg9r8e5U9_oDWtaovvE+cv1MFXXD0hK5yVHQ@mail.gmail.com>
Message-ID: <CAOdDvNrETmv7BfOg9r8e5U9_oDWtaovvE+cv1MFXXD0hK5yVHQ@mail.gmail.com>
To: David Witherspoon <dwitherspoon2011@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a114c9cc4bfbdf705507304d8"
X-SG-EID: YLWet4rakcOTMHWvPPwWbcsiUJbN1FCn0PHYd/Uujh7bhvMq1cmOapl9B3zNPMjiyjFEaieRqLlxBc xAY0QXngJlHkhs2LcTSCLuaN4SPxyrElV0FjLpAMiLgN+72zcyYCL9AGL7bQW/gCezEzFy1SIxFcx/ DOhu1SPv4vNB2ZJu7VoOSW4Y2vzIkabaSuqeDUTbfDV9PG/7J/87V20lBeCAREyEnjO/2XhNwMqWIU Y=
Received-SPF: pass client-ip=168.245.5.182; envelope-from=bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net; helo=o1682455182.outbound-mail.sendgrid.net
X-W3C-Hub-Spam-Status: No, score=-5.2
X-W3C-Hub-Spam-Report: AWL=-0.810, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1dELgQ-0005Aa-7U ff69cf88186ade237b011c8bb2c7f487
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Server Push and Caching
Archived-At: <http://www.w3.org/mid/CAOdDvNrETmv7BfOg9r8e5U9_oDWtaovvE+cv1MFXXD0hK5yVHQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33956
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--001a114c9cc4bfbdf705507304d8
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Wed, May 24, 2017 at 1:27 PM, David Witherspoon <
dwitherspoon2011@gmail.com> wrote:

> > The only native HTTP mechanism for cache invalidation is described in
> RFC7234, Section 4.4:
>
> [

> RFC7234 Section 5.2.1.4 defines one, (request cache-directive, no-cache):
>
> The =E2=80=9Cno-cache=E2=80=9D request directive indicates that a cache M=
UST NOT use
> a stored response to satisfy the request without successful
> validation on the origin server.
>

istm that you are confusing invalidation with use. 5.2.1.4 doesn't say
anything about invalidating the cache - bypassing when satisfying that
request is fine and even sensible if you expect multiple variants. Sec 4.4.
does talk about invalidation in the face of responses to unsafe methods but
a] 7540 does not allow pushing unsafe methods, and b] 4.4. is clear that
this only applies to caches that it "travels through" and its not clear
that 7540 push operates directly on a cache even though it has cache
semantics.

its not clear exactly how pushes should be applied by clients.. they are
making small movements towards "just replaying them" onto the cache
directly, but its obvious that can't be the whole story.. e.g. a response
containing cache-control: no-store is explicitly allowed for use by 8.2 and
that wouldn't work if promised streams were just directly use to populate a
cache.


> It would be semantically incorrect to cancel a server-initiated request
> with a no-cache request directive for the sole reason that it is already
> has a cached response.
>

I don't know that I would go as far as "semantically incorrect" because I
don't think you have the semantics you're looking for :).. but I do agree
that a cached-response that you wouldn't use to satisfy the pushed request
is not a good rationale for canceling the pushed stream. But as far as
correctness goes, you don't need a good reason to correctly cancel any push.


> In fact, the premise that a server-initiated request with a no-cache
> request directive can already have a cached response violates semantic
> equivalency. Any request, client or server initiated, with a no-cache
> request directive can not by RFC have a validated response in the cache.
>
>
I would agree with that. but I think you might also be implying that the
cache needs to invalidate any previously stored entry for the same URL..
and I don't agree with that :) (though it could.)



> Assuming the Push Promise goes through (client still may cancel the Push
> Promise for any reason), this clearly allows for overwriting an existing
> cached response, specifically replacing a cache entry.
>

I agree it allows that. it certainly doesn't MUST or even SHOULD it. It
might be reasonable.

--001a114c9cc4bfbdf705507304d8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, May 24, 2017 at 1:27 PM, David Witherspoon <span dir=3D"ltr">&l=
t;<a href=3D"mailto:dwitherspoon2011@gmail.com" target=3D"_blank">dwithersp=
oon2011@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote=
" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);=
padding-left:1ex"><div style=3D"overflow-wrap: break-word;"><div dir=3D"ltr=
"><div><div style=3D"box-sizing:border-box;margin:0px;padding:0px;color:rgb=
(61,60,64);font-family:Slack-Lato,appleLogo,sans-serif;font-size:15px;font-=
variant-ligatures:none;white-space:pre-wrap">&gt;  The only native HTTP mec=
hanism for cache invalidation is described in RFC7234, Section 4.4:<br></di=
v><br></div></div></div></blockquote><div>[</div><blockquote class=3D"gmail=
_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204=
,204);padding-left:1ex"><div style=3D"overflow-wrap: break-word;"><div dir=
=3D"ltr"><div><div style=3D"box-sizing:border-box;margin:0px;padding:0px;co=
lor:rgb(61,60,64);font-family:Slack-Lato,appleLogo,sans-serif;font-size:15p=
x;font-variant-ligatures:none;white-space:pre-wrap">RFC7234 Section 5.2.1.4=
 defines one, (request cache-directive, no-cache):</div><div style=3D"box-s=
izing:border-box;margin:0px;padding:0px;color:rgb(61,60,64);font-family:Sla=
ck-Lato,appleLogo,sans-serif;font-size:15px;font-variant-ligatures:none;whi=
te-space:pre-wrap"><br style=3D"box-sizing:border-box"></div><div style=3D"=
box-sizing:border-box;margin:0px;padding:0px;color:rgb(61,60,64);font-famil=
y:Slack-Lato,appleLogo,sans-serif;font-size:15px;font-variant-ligatures:non=
e;white-space:pre-wrap">   The =E2=80=9Cno-cache=E2=80=9D request directive=
 indicates that a cache MUST NOT use</div><div style=3D"box-sizing:border-b=
ox;margin:0px;padding:0px;color:rgb(61,60,64);font-family:Slack-Lato,appleL=
ogo,sans-serif;font-size:15px;font-variant-ligatures:none;white-space:pre-w=
rap">   a stored response to satisfy the request without successful</div><d=
iv style=3D"box-sizing:border-box;margin:0px;padding:0px;color:rgb(61,60,64=
);font-family:Slack-Lato,appleLogo,sans-serif;font-size:15px;font-variant-l=
igatures:none;white-space:pre-wrap">   validation on the origin server.</di=
v></div></div></div></blockquote><div><br></div><div>istm that you are conf=
using invalidation with use. 5.2.1.4 doesn&#39;t say anything about invalid=
ating the cache - bypassing when satisfying that request is fine and even s=
ensible if you expect multiple variants. Sec 4.4. does talk about invalidat=
ion in the face of responses to unsafe methods but a] 7540 does not allow p=
ushing unsafe methods, and b] 4.4. is clear that this only applies to cache=
s that it &quot;travels through&quot; and its not clear that 7540 push oper=
ates directly on a cache even though it has cache semantics.<br></div><div>=
<br></div><div>its not clear exactly how pushes should be applied by client=
s.. they are making small movements towards &quot;just replaying them&quot;=
 onto the cache directly, but its obvious that can&#39;t be the whole story=
.. e.g. a response containing cache-control: no-store is explicitly allowed=
 for use by 8.2 and that wouldn&#39;t work if promised streams were just di=
rectly use to populate a cache.<br></div><div>=C2=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex"><div style=3D"overflow-wrap: break-word;">=
<div dir=3D"ltr"><div><div style=3D"box-sizing:border-box;margin:0px;paddin=
g:0px;color:rgb(61,60,64);font-family:Slack-Lato,appleLogo,sans-serif;font-=
size:15px;font-variant-ligatures:none;white-space:pre-wrap">It would be sem=
antically incorrect to cancel a server-initiated request with a no-cache re=
quest directive for the sole reason that it is already has a cached respons=
e. </div></div></div></div></blockquote><div><br></div><div>I don&#39;t kno=
w that I would go as far as &quot;semantically incorrect&quot; because I do=
n&#39;t think you have the semantics you&#39;re looking for :).. but I do a=
gree that a cached-response that you wouldn&#39;t use to satisfy the pushed=
 request is not a good rationale for canceling the pushed stream. But as fa=
r as correctness goes, you don&#39;t need a good reason to correctly cancel=
 any push.<br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex"><div style=3D"overflow-wrap: break-word;"><div dir=3D"ltr"><div=
><div style=3D"box-sizing:border-box;margin:0px;padding:0px;color:rgb(61,60=
,64);font-family:Slack-Lato,appleLogo,sans-serif;font-size:15px;font-varian=
t-ligatures:none;white-space:pre-wrap"> In fact, the premise that a server-=
initiated request with a no-cache request directive can already have a cach=
ed response violates semantic equivalency.  Any request, client or server i=
nitiated, with a no-cache request directive can not by RFC have a validated=
 response in the cache.</div><div style=3D"box-sizing:border-box;margin:0px=
;padding:0px;color:rgb(61,60,64);font-family:Slack-Lato,appleLogo,sans-seri=
f;font-size:15px;font-variant-ligatures:none;white-space:pre-wrap"><br styl=
e=3D"box-sizing:border-box"></div></div></div></div></blockquote><div><br><=
/div><div>I would agree with that. but I think you might also be implying t=
hat the cache needs to invalidate any previously stored entry for the same =
URL.. and I don&#39;t agree with that :) (though it could.)<br></div><div><=
br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
><div style=3D"overflow-wrap: break-word;"><div dir=3D"ltr"><div><div style=
=3D"box-sizing:border-box;margin:0px;padding:0px;color:rgb(61,60,64);font-f=
amily:Slack-Lato,appleLogo,sans-serif;font-size:15px;font-variant-ligatures=
:none;white-space:pre-wrap">Assuming the Push Promise goes through (client =
still may cancel the Push Promise for any reason), this clearly allows for =
overwriting an existing cached response, specifically replacing a cache ent=
ry.</div></div></div></div></blockquote><div><br></div><div>I agree it allo=
ws that. it certainly doesn&#39;t MUST or even SHOULD it. It might be reaso=
nable.<br></div><div><br></div><div>=C2=A0<br></div></div></div></div>

--001a114c9cc4bfbdf705507304d8--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Fri May 26 14:54:55 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 240761204DA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 May 2017 14:54:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.5
X-Spam-Level:
X-Spam-Status: No, score=-6.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kySRkWXL0fuv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 May 2017 14:54:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8F4E01243F6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 26 May 2017 14:54:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dEN8y-0007h0-SM for ietf-http-wg-dist@listhub.w3.org; Fri, 26 May 2017 21:51:36 +0000
Resent-Date: Fri, 26 May 2017 21:51:36 +0000
Resent-Message-Id: <E1dEN8y-0007h0-SM@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <dwitherspoon2011@gmail.com>) id 1dEN8t-0007fl-VC for ietf-http-wg@listhub.w3.org; Fri, 26 May 2017 21:51:31 +0000
Received: from mail-vk0-f43.google.com ([209.85.213.43]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <dwitherspoon2011@gmail.com>) id 1dEN8m-0001Bt-8Z for ietf-http-wg@w3.org; Fri, 26 May 2017 21:51:26 +0000
Received: by mail-vk0-f43.google.com with SMTP id p85so11044623vkd.3 for <ietf-http-wg@w3.org>; Fri, 26 May 2017 14:51:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=kP4C0C0S2xoZ7B7sSBsnKATs/+pscxu4sz5pKhZ/Wvk=; b=RKKL+i1X0QYgs0Jzxw2bOWjFiVGK0ZFBz76uiq34qgaNaJs2D9cM1khfVwCbwEfZFT 0/iRQtZZfaoJSvFvm+gKBX/mgZaqMzTJVniZKH1m70kQI5TP86sbvfGD2JqfZupE+htk ZUQtQnbpp/9kzrGE6eO5YDVs3y5q8tft5opBl5x1HXWeLgoTsbEZbXpDJwAiiMF7Inoy ejQPMRkQ33F7VbMlUlMvF901Cj6HEPYsy+iQwoHVLGbduTOCHetP+hXYrhH3Idpvkpl1 tqytVGoHp4zH3WFeeV4gFYydCp6TrLP7fOxUOC+99wPWURTv0sz2YrIZ3BXC9B6A6fu0 gMXQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=kP4C0C0S2xoZ7B7sSBsnKATs/+pscxu4sz5pKhZ/Wvk=; b=cj2uGNQk8zRGA0tP781TbDXQfGq5WfeTamxsKeCh8tWtqv28JZZ+fgNr5dhPmVFVtW Vedj5Pxhn0bxxHXw3gOMA/dCXFfXCaN9s2xS1JI0Lu4IJLxkFKJnmhHRX9+7JYtEy+V2 yhke4ZYBXcVdDGCHRe+V+jTgN27QHh7guPUpZ8w1PunkDblBE5imvlZbA0OQ+xzst2ao 1uwRUTceZPnOzMImPnJ8cQ1zDZzVqyP9p60jrMGji4MZ5Wo4Vl+oVEWAbLW4ZpfUWWLQ OyK0o7rSfqmzmJwm+uo+Kf+8GIINiaI4nVPF+SQnzb4dr3uAGcMCbUBHTE1hrrrt4kne Z1+A==
X-Gm-Message-State: AODbwcDqvLWIyvm7JLXgdsEQPhxiKvVbdAJv6prr6QFjZF5b3pSLQguH drg2h+0xi4pgULvEdIWvosE9BDhflSSG8Zk=
X-Received: by 10.31.7.202 with SMTP id 193mr1334597vkh.132.1495835457507; Fri, 26 May 2017 14:50:57 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.176.3.133 with HTTP; Fri, 26 May 2017 14:50:57 -0700 (PDT)
In-Reply-To: <CAOdDvNrETmv7BfOg9r8e5U9_oDWtaovvE+cv1MFXXD0hK5yVHQ@mail.gmail.com>
References: <CAGnbNm78FYtC_CU2V+CbBTvP6qPzVgGNXyowoFRK1fw7T=_dDQ@mail.gmail.com> <CAOdDvNrETmv7BfOg9r8e5U9_oDWtaovvE+cv1MFXXD0hK5yVHQ@mail.gmail.com>
From: David Witherspoon <dwitherspoon2011@gmail.com>
Date: Fri, 26 May 2017 14:50:57 -0700
Message-ID: <CAGnbNm7m7QEkCTFwuhVJw-6_cozHOjWOcjcivNa+Pq5i5VBs3w@mail.gmail.com>
To: Patrick McManus <mcmanus@ducksong.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a1143d320165735055074554e"
Received-SPF: pass client-ip=209.85.213.43; envelope-from=dwitherspoon2011@gmail.com; helo=mail-vk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-6.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1dEN8m-0001Bt-8Z 5045131ac30fe39426f5c7bcef9918cf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Server Push and Caching
Archived-At: <http://www.w3.org/mid/CAGnbNm7m7QEkCTFwuhVJw-6_cozHOjWOcjcivNa+Pq5i5VBs3w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33957
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--001a1143d320165735055074554e
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Yes, thanks for the clarification.  I agree invalidation is too strong of
wording.  Rather a request with cache-control: no-cache directive allows
for updating or adding entries to the cache.

> it certainly doesn't MUST or even SHOULD it.

I believe I might still disagree but let me clarify the scenario:

1. client issues request 1, and gets a cache-able response 1.
2. The client then issues the same request (request 2) but with the
no-cache cache request directive and gets a cache-able response 2 from the
origin server.
3.  The client issues request 3 that matches both previous requests and
assume both responses are valid.  rfc7234#section-4.4 states that "When
more than one suitable response is stored, a cache MUST use the most recent
response".  So response 2 would presumably be served from cache to answer
request 3  (OR It can also forward the request with "Cache-Control:
max-age=3D0" or "Cache-Control: no-cache" to disambiguate which response to
use.)

If we now assume that request 2 is server-initiated via a push promise, and
that the push promise is not cancelled, and the client "is just replaying"
it onto the cache then I would assume Step 3 MUST operate in the same way.

> I do agree that a cached-response that you wouldn't use to satisfy the
pushed request is not a good rationale for canceling the pushed stream

Agreed, this arose because Chrome has a PR that implements an optimization
on their implementation of just replaying it onto the cache.  That
optimization "Cancel[s] unnecessary push streams when it's discovered
they're in cache".  I believe the semantics of a no-cache request header is
well defined such that it can't already be discovered in cache.  Sure it
can cancel the Push Promise for any reason, but in this case, it is
ignoring the semantics that the no-cache request directive syntax defines.

Note, if response 2 has a longer validation lifetime then response 1, then
I believe it is behaviorally equivalent to invalidating response 1.

On Fri, May 26, 2017 at 1:16 PM, Patrick McManus <mcmanus@ducksong.com>
wrote:

>
>
> On Wed, May 24, 2017 at 1:27 PM, David Witherspoon <
> dwitherspoon2011@gmail.com> wrote:
>
>> > The only native HTTP mechanism for cache invalidation is described in
>> RFC7234, Section 4.4:
>>
>> [
>
>> RFC7234 Section 5.2.1.4 defines one, (request cache-directive, no-cache)=
:
>>
>> The =E2=80=9Cno-cache=E2=80=9D request directive indicates that a cache =
MUST NOT use
>> a stored response to satisfy the request without successful
>> validation on the origin server.
>>
>
> istm that you are confusing invalidation with use. 5.2.1.4 doesn't say
> anything about invalidating the cache - bypassing when satisfying that
> request is fine and even sensible if you expect multiple variants. Sec 4.=
4.
> does talk about invalidation in the face of responses to unsafe methods b=
ut
> a] 7540 does not allow pushing unsafe methods, and b] 4.4. is clear that
> this only applies to caches that it "travels through" and its not clear
> that 7540 push operates directly on a cache even though it has cache
> semantics.
>
> its not clear exactly how pushes should be applied by clients.. they are
> making small movements towards "just replaying them" onto the cache
> directly, but its obvious that can't be the whole story.. e.g. a response
> containing cache-control: no-store is explicitly allowed for use by 8.2 a=
nd
> that wouldn't work if promised streams were just directly use to populate=
 a
> cache.
>
>
>> It would be semantically incorrect to cancel a server-initiated request
>> with a no-cache request directive for the sole reason that it is already
>> has a cached response.
>>
>
> I don't know that I would go as far as "semantically incorrect" because I
> don't think you have the semantics you're looking for :).. but I do agree
> that a cached-response that you wouldn't use to satisfy the pushed reques=
t
> is not a good rationale for canceling the pushed stream. But as far as
> correctness goes, you don't need a good reason to correctly cancel any pu=
sh.
>
>
>> In fact, the premise that a server-initiated request with a no-cache
>> request directive can already have a cached response violates semantic
>> equivalency. Any request, client or server initiated, with a no-cache
>> request directive can not by RFC have a validated response in the cache.
>>
>>
> I would agree with that. but I think you might also be implying that the
> cache needs to invalidate any previously stored entry for the same URL..
> and I don't agree with that :) (though it could.)
>
>
>
>> Assuming the Push Promise goes through (client still may cancel the Push
>> Promise for any reason), this clearly allows for overwriting an existing
>> cached response, specifically replacing a cache entry.
>>
>
> I agree it allows that. it certainly doesn't MUST or even SHOULD it. It
> might be reasonable.
>
>
>

--001a1143d320165735055074554e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Yes, thanks for the clarification.=C2=A0 I agree inva=
lidation is too strong of wording.=C2=A0 Rather a request with cache-contro=
l: no-cache directive allows for updating or adding entries to the cache.</=
div><div><br>&gt; it certainly doesn&#39;t MUST or even SHOULD it.<br><br><=
/div><div>I believe I might still disagree but let me clarify the scenario:=
</div><div><br></div><div>1. client issues request 1, and gets a cache-able=
 response 1.=C2=A0</div><div>2. The client then issues the same request (re=
quest 2) but with the no-cache cache request directive and gets a cache-abl=
e response 2 from the origin server. =C2=A0</div><div>3.=C2=A0 The client i=
ssues request 3 that matches both previous requests and assume both respons=
es are valid. =C2=A0rfc7234#section-4.4 states that &quot;When more than on=
e suitable response is stored, a cache MUST use the most recent response&qu=
ot;.=C2=A0 So response 2 would presumably be served from cache to answer re=
quest 3 =C2=A0(OR It can also forward the request with &quot;Cache-Control:=
 max-age=3D0&quot; or &quot;Cache-Control: no-cache&quot; to disambiguate w=
hich response to use.)</div><div><br></div><div>If we now assume that reque=
st 2 is server-initiated via a push promise, and that the push promise is n=
ot cancelled, and the client &quot;is just replaying&quot; it onto the cach=
e then I would assume Step 3 MUST operate in the same way.</div><div><br></=
div><div>&gt;<span style=3D"color:rgb(0,0,0);font-size:12.8px">=C2=A0I=C2=
=A0</span><span style=3D"color:rgb(0,0,0);font-size:12.8px">do agree that a=
 cached-response that you wouldn&#39;t use to satisfy the pushed request is=
 not a good rationale for canceling the pushed stream</span></div><div><br>=
</div><div>Agreed, this arose because Chrome has a PR that implements an op=
timization on their implementation of just replaying it onto the cache.=C2=
=A0 That optimization &quot;Cancel[s] unnecessary push streams when it&#39;=
s discovered they&#39;re in cache&quot;.=C2=A0 I believe the semantics of a=
 no-cache request header is well defined such that it can&#39;t already be =
discovered in cache.=C2=A0 Sure it can cancel the Push Promise for any reas=
on, but in this case, it is ignoring the semantics that the no-cache reques=
t directive syntax defines.</div><div><br></div><div>Note, if response 2 ha=
s a longer validation lifetime then response 1, then I believe it is behavi=
orally equivalent to invalidating response 1.</div></div><div class=3D"gmai=
l_extra"><br><div class=3D"gmail_quote">On Fri, May 26, 2017 at 1:16 PM, Pa=
trick McManus <span dir=3D"ltr">&lt;<a href=3D"mailto:mcmanus@ducksong.com"=
 target=3D"_blank">mcmanus@ducksong.com</a>&gt;</span> wrote:<br><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex"><div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><d=
iv class=3D"gmail_quote"><span class=3D"">On Wed, May 24, 2017 at 1:27 PM, =
David Witherspoon <span dir=3D"ltr">&lt;<a href=3D"mailto:dwitherspoon2011@=
gmail.com" target=3D"_blank">dwitherspoon2011@gmail.com</a>&gt;</span> wrot=
e:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div dir=3D"lt=
r"><div><div style=3D"box-sizing:border-box;margin:0px;padding:0px;color:rg=
b(61,60,64);font-family:Slack-Lato,appleLogo,sans-serif;font-size:15px;font=
-variant-ligatures:none;white-space:pre-wrap">&gt;  The only native HTTP me=
chanism for cache invalidation is described in RFC7234, Section 4.4:<br></d=
iv><br></div></div></div></blockquote></span><div>[</div><span class=3D""><=
blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l=
eft:1px solid rgb(204,204,204);padding-left:1ex"><div><div dir=3D"ltr"><div=
><div style=3D"box-sizing:border-box;margin:0px;padding:0px;color:rgb(61,60=
,64);font-family:Slack-Lato,appleLogo,sans-serif;font-size:15px;font-varian=
t-ligatures:none;white-space:pre-wrap">RFC7234 Section 5.2.1.4 defines one,=
 (request cache-directive, no-cache):</div><div style=3D"box-sizing:border-=
box;margin:0px;padding:0px;color:rgb(61,60,64);font-family:Slack-Lato,apple=
Logo,sans-serif;font-size:15px;font-variant-ligatures:none;white-space:pre-=
wrap"><br style=3D"box-sizing:border-box"></div><div style=3D"box-sizing:bo=
rder-box;margin:0px;padding:0px;color:rgb(61,60,64);font-family:Slack-Lato,=
appleLogo,sans-serif;font-size:15px;font-variant-ligatures:none;white-space=
:pre-wrap">   The =E2=80=9Cno-cache=E2=80=9D request directive indicates th=
at a cache MUST NOT use</div><div style=3D"box-sizing:border-box;margin:0px=
;padding:0px;color:rgb(61,60,64);font-family:Slack-Lato,appleLogo,sans-seri=
f;font-size:15px;font-variant-ligatures:none;white-space:pre-wrap">   a sto=
red response to satisfy the request without successful</div><div style=3D"b=
ox-sizing:border-box;margin:0px;padding:0px;color:rgb(61,60,64);font-family=
:Slack-Lato,appleLogo,sans-serif;font-size:15px;font-variant-ligatures:none=
;white-space:pre-wrap">   validation on the origin server.</div></div></div=
></div></blockquote><div><br></div></span><div>istm that you are confusing =
invalidation with use. 5.2.1.4 doesn&#39;t say anything about invalidating =
the cache - bypassing when satisfying that request is fine and even sensibl=
e if you expect multiple variants. Sec 4.4. does talk about invalidation in=
 the face of responses to unsafe methods but a] 7540 does not allow pushing=
 unsafe methods, and b] 4.4. is clear that this only applies to caches that=
 it &quot;travels through&quot; and its not clear that 7540 push operates d=
irectly on a cache even though it has cache semantics.<br></div><div><br></=
div><div>its not clear exactly how pushes should be applied by clients.. th=
ey are making small movements towards &quot;just replaying them&quot; onto =
the cache directly, but its obvious that can&#39;t be the whole story.. e.g=
. a response containing cache-control: no-store is explicitly allowed for u=
se by 8.2 and that wouldn&#39;t work if promised streams were just directly=
 use to populate a cache.<br></div><span class=3D""><div>=C2=A0</div><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex"><div><div dir=3D"ltr"><div><div=
 style=3D"box-sizing:border-box;margin:0px;padding:0px;color:rgb(61,60,64);=
font-family:Slack-Lato,appleLogo,sans-serif;font-size:15px;font-variant-lig=
atures:none;white-space:pre-wrap">It would be semantically incorrect to can=
cel a server-initiated request with a no-cache request directive for the so=
le reason that it is already has a cached response. </div></div></div></div=
></blockquote><div><br></div></span><div>I don&#39;t know that I would go a=
s far as &quot;semantically incorrect&quot; because I don&#39;t think you h=
ave the semantics you&#39;re looking for :).. but I do agree that a cached-=
response that you wouldn&#39;t use to satisfy the pushed request is not a g=
ood rationale for canceling the pushed stream. But as far as correctness go=
es, you don&#39;t need a good reason to correctly cancel any push.<br></div=
><span class=3D""><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><div><div dir=3D"ltr"><div><div style=3D"box-sizing:border-box;m=
argin:0px;padding:0px;color:rgb(61,60,64);font-family:Slack-Lato,appleLogo,=
sans-serif;font-size:15px;font-variant-ligatures:none;white-space:pre-wrap"=
> In fact, the premise that a server-initiated request with a no-cache requ=
est directive can already have a cached response violates semantic equivale=
ncy.  Any request, client or server initiated, with a no-cache request dire=
ctive can not by RFC have a validated response in the cache.</div><div styl=
e=3D"box-sizing:border-box;margin:0px;padding:0px;color:rgb(61,60,64);font-=
family:Slack-Lato,appleLogo,sans-serif;font-size:15px;font-variant-ligature=
s:none;white-space:pre-wrap"><br style=3D"box-sizing:border-box"></div></di=
v></div></div></blockquote><div><br></div></span><div>I would agree with th=
at. but I think you might also be implying that the cache needs to invalida=
te any previously stored entry for the same URL.. and I don&#39;t agree wit=
h that :) (though it could.)<br></div><span class=3D""><div><br></div><div>=
=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div dir=
=3D"ltr"><div><div style=3D"box-sizing:border-box;margin:0px;padding:0px;co=
lor:rgb(61,60,64);font-family:Slack-Lato,appleLogo,sans-serif;font-size:15p=
x;font-variant-ligatures:none;white-space:pre-wrap">Assuming the Push Promi=
se goes through (client still may cancel the Push Promise for any reason), =
this clearly allows for overwriting an existing cached response, specifical=
ly replacing a cache entry.</div></div></div></div></blockquote><div><br></=
div></span><div>I agree it allows that. it certainly doesn&#39;t MUST or ev=
en SHOULD it. It might be reasonable.<br></div><div><br></div><div>=C2=A0<b=
r></div></div></div></div>
</blockquote></div><br></div>

--001a1143d320165735055074554e--


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Fri May 26 20:05:46 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9731812EA42 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 May 2017 20:05:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.502
X-Spam-Level:
X-Spam-Status: No, score=-5.502 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q-z29hNjHHZu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 May 2017 20:05:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5AAFC12EA52 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 26 May 2017 20:05:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dERyw-0000V1-Un for ietf-http-wg-dist@listhub.w3.org; Sat, 27 May 2017 03:01:34 +0000
Resent-Date: Sat, 27 May 2017 03:01:34 +0000
Resent-Message-Id: <E1dERyw-0000V1-Un@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <squid3@treenet.co.nz>) id 1dERyr-0000TO-Or for ietf-http-wg@listhub.w3.org; Sat, 27 May 2017 03:01:29 +0000
Received: from [121.99.228.82] (helo=treenet.co.nz) by titan.w3.org with esmtp (Exim 4.84_2) (envelope-from <squid3@treenet.co.nz>) id 1dERyH-0004GB-Ko for ietf-http-wg@w3.org; Sat, 27 May 2017 03:01:24 +0000
Received: from [192.168.137.92] (unknown [121.98.43.66]) by treenet.co.nz (Postfix) with ESMTP id 54B5D6606A2 for <ietf-http-wg@w3.org>; Sat, 27 May 2017 15:00:20 +1200 (NZST)
To: ietf-http-wg@w3.org
References: <CAGnbNm78FYtC_CU2V+CbBTvP6qPzVgGNXyowoFRK1fw7T=_dDQ@mail.gmail.com> <CAOdDvNrETmv7BfOg9r8e5U9_oDWtaovvE+cv1MFXXD0hK5yVHQ@mail.gmail.com> <CAGnbNm7m7QEkCTFwuhVJw-6_cozHOjWOcjcivNa+Pq5i5VBs3w@mail.gmail.com>
From: Amos Jeffries <squid3@treenet.co.nz>
Message-ID: <7431b4f6-5c18-3a85-3a1d-5135473c5280@treenet.co.nz>
Date: Sat, 27 May 2017 15:00:15 +1200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CAGnbNm7m7QEkCTFwuhVJw-6_cozHOjWOcjcivNa+Pq5i5VBs3w@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=121.99.228.82; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: TIME_LIMIT_EXCEEDED=0
X-W3C-Scan-Sig: titan.w3.org 1dERyH-0004GB-Ko ab381b902544d1cb21c69b20ec14a6d8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Server Push and Caching
Archived-At: <http://www.w3.org/mid/7431b4f6-5c18-3a85-3a1d-5135473c5280@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33958
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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/05/17 09:50, David Witherspoon wrote:
> Yes, thanks for the clarification.  I agree invalidation is too strong 
> of wording.  Rather a request with cache-control: no-cache directive 
> allows for updating or adding entries to the cache.
>
> > it certainly doesn't MUST or even SHOULD it.
>
> I believe I might still disagree but let me clarify the scenario:
>
> 1. client issues request 1, and gets a cache-able response 1.
> 2. The client then issues the same request (request 2) but with the 
> no-cache cache request directive and gets a cache-able response 2 from 
> the origin server.
> 3.  The client issues request 3 that matches both previous requests 
> and assume both responses are valid.  rfc7234#section-4.4 states that 
> "When more than one suitable response is stored, a cache MUST use the 
> most recent response".  So response 2 would presumably be served from 
> cache to answer request 3  (OR It can also forward the request with 
> "Cache-Control: max-age=0" or "Cache-Control: no-cache" to 
> disambiguate which response to use.)
>
> If we now assume that request 2 is server-initiated via a push 
> promise, and that the push promise is not cancelled, and the client 
> "is just replaying" it onto the cache then I would assume Step 3 MUST 
> operate in the same way.

After that step-2 has occured there are only one of two situations possible:
* the cache ignored the response-2 and contains the response-1, or
* it replaced/updated the cache contents with response-2.

The Cache-Control header is exceptionally unlikely to be part of the 
Vary header list, so it is almost not possible to emit a single 
request-3 that causes the response-1 and response-2 to be treated as 
different representations of the same resource. It is possible they are 
different in some other way, but that no-cache itself is irrelevant to 
the variation identity.


>
> > I do agree that a cached-response that you wouldn't use to satisfy 
> the pushed request is not a good rationale for canceling the pushed stream
>
> Agreed, this arose because Chrome has a PR that implements an 
> optimization on their implementation of just replaying it onto the 
> cache.  That optimization "Cancel[s] unnecessary push streams when 
> it's discovered they're in cache".  I believe the semantics of a 
> no-cache request header is well defined such that it can't already be 
> discovered in cache.  Sure it can cancel the Push Promise for any 
> reason, but in this case, it is ignoring the semantics that the 
> no-cache request directive syntax defines.

The semantics of request CC:no-cache is that a cache *MAY* be updated. 
There is no requirement that the updates be stored for future clients.

PUSH simply proactively delivers a response that can be sent on as-is to 
the client, skipping delivery of whatever the cache contained.

If the cache decides to cancel a PUSH stream with no-cache or any 
similar revalidation requirement, the only thing it affects is to 
prevent itself from being able to PUSH that resource onwards. Middleware 
caches must wait to see if the client really does send that requirement 
and handle it in the normal way for such requests. Browser / UA caches I 
would expect to have better info on hand than a remote server - so that 
information should be informing the decision to cancel the push.


>
> Note, if response 2 has a longer validation lifetime then response 1, 
> then I believe it is behaviorally equivalent to invalidating response 1.

Only if the PUSH'd response is cached instead of cancelled. If it got 
cancelled there is no complete response object to do cache replacement with.


Amos



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May 29 19:10:34 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 86465127B5A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 May 2017 19:10:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WwsMz1QWWyoB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 May 2017 19:10:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0803A127863 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 29 May 2017 19:10:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dFWYt-0004uq-8E for ietf-http-wg-dist@listhub.w3.org; Tue, 30 May 2017 02:07:07 +0000
Resent-Date: Tue, 30 May 2017 02:07:07 +0000
Resent-Message-Id: <E1dFWYt-0004uq-8E@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <internet-drafts@ietf.org>) id 1dFWYo-0004tp-8b for ietf-http-wg@listhub.w3.org; Tue, 30 May 2017 02:07:02 +0000
Received: from mail.ietf.org ([4.31.198.44]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <internet-drafts@ietf.org>) id 1dFWYh-0007br-Fz for ietf-http-wg@w3.org; Tue, 30 May 2017 02:06:57 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id EBE88127B5A; Mon, 29 May 2017 19:06:28 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.51.0
Auto-Submitted: auto-generated
Message-ID: <149610998893.24426.8643856000357224333@ietfa.amsl.com>
Date: Mon, 29 May 2017 19:06:28 -0700
Received-SPF: pass client-ip=4.31.198.44; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-6.2
X-W3C-Hub-Spam-Report: AWL=0.058, BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1dFWYh-0007br-Fz 80cc9ab201c239fae275f0d97b1a3b45
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-cache-digest-02.txt
Archived-At: <http://www.w3.org/mid/149610998893.24426.8643856000357224333@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33959
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 directories.
This draft is a work item of the Hypertext Transfer Protocol of the IETF.

        Title           : Cache Digests for HTTP/2
        Authors         : Kazuho Oku
                          Mark Nottingham
	Filename        : draft-ietf-httpbis-cache-digest-02.txt
	Pages           : 13
	Date            : 2017-05-29

Abstract:
   This specification defines a HTTP/2 frame type to allow clients to
   inform the server of their cache's contents.  Servers can then use
   this to inform their choices of what to push to clients.

Note to Readers

   Discussion of this draft takes place on the HTTP working group
   mailing list (ietf-http-wg@w3.org), which is archived at
   https://lists.w3.org/Archives/Public/ietf-http-wg/ .

   Working Group information can be found at http://httpwg.github.io/ ;
   source code and issues list for this draft can be found at
   https://github.com/httpwg/http-extensions/labels/cache-digest .


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

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-httpbis-cache-digest-02
https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-cache-digest-02

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-httpbis-cache-digest-02


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

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



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May 29 20:18:31 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 87E44127698 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 May 2017 20:18:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.001
X-Spam-Level:
X-Spam-Status: No, score=-7.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pvQbZ1uZC-nX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 May 2017 20:18:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 24B20127419 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 29 May 2017 20:18:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dFXcz-0005k9-4y for ietf-http-wg-dist@listhub.w3.org; Tue, 30 May 2017 03:15:25 +0000
Resent-Date: Tue, 30 May 2017 03:15:25 +0000
Resent-Message-Id: <E1dFXcz-0005k9-4y@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <kazuhooku@gmail.com>) id 1dFXcu-0005LR-UA for ietf-http-wg@listhub.w3.org; Tue, 30 May 2017 03:15:20 +0000
Received: from mail-pf0-f175.google.com ([209.85.192.175]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <kazuhooku@gmail.com>) id 1dFXco-0002UN-7V for ietf-http-wg@w3.org; Tue, 30 May 2017 03:15:15 +0000
Received: by mail-pf0-f175.google.com with SMTP id e193so59034197pfh.0 for <ietf-http-wg@w3.org>; Mon, 29 May 2017 20:14:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=oqjvDr2ctCwFG1saSWBq87QCdFAmkQrK4QIyIK9JcBg=; b=jhaw8GkAjnMaIYWGsh84apf/VSaTlO8o0qrWFUUiXNUgRsaMDMC3FQEvEQ5tmlDXYD sXqsQjUGbvwaBPoF+4UiudPLxCxXknpVs72Np3tNDNXcTtnxg6dWGwrFABC1nctw1HK4 0Cxg5bs549iAdJMOfwN4s11Iw3YH7dSTldneKsuEsw/j8pkRuR0jPKZgpjd7ln6ujjUF NzXGBQfm6KLUfeHl8a2uFgt57oIfx8EXFq1oDnmsz1wDp5fLq25LvgVnYNWwh3qga4F0 8bMtgAptbBd/xUHhwJk1B0owShJ5iiTBF8vpz0B4vg5CaCcvctmmahIVll6pasSzDx5t 0Isg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=oqjvDr2ctCwFG1saSWBq87QCdFAmkQrK4QIyIK9JcBg=; b=fwWVnaJFkTsjcNWyqLzPhsMLAmNdhP0XNjR2wdSrSb7PDF6Lb2WemeBBU7XFrVN+/G 9Sk/y8XWnnGzRoIOlbzpvBtX89g1/s4myaN7jQtwGTc9A3cwUEVjGpPaNzz1vnMVqN24 14SdmUfKROhB8P9GG3jB2U9ChvfSum9My7iXgaiMGqwmV73s6D5XoHlcdsLlOIYMZZMA +hTC90bUd9xliL0yZaQyV+dqm2eJrVyMb9po9MapYRi6m2Li4XwAA5XcCT4UnCXtvb+9 743809ipsr8m20U7xMsQCYrVbwG4hPEEr2SBVbz6XVqnt9bm2qkBe5wFkiCzuoI57vjk B+Tg==
X-Gm-Message-State: AODbwcBx1sHQvk+YCIk47xfDeV7t3ZW0kI4fiq5ZtKr+isDXpMBVElUN FsjyZYOuTOBT53Ww0dJO63jW1hWij3wR
X-Received: by 10.84.247.2 with SMTP id n2mr61244293pll.74.1496114087560; Mon, 29 May 2017 20:14:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.128.134 with HTTP; Mon, 29 May 2017 20:14:47 -0700 (PDT)
In-Reply-To: <149610998893.24426.8643856000357224333@ietfa.amsl.com>
References: <149610998893.24426.8643856000357224333@ietfa.amsl.com>
From: Kazuho Oku <kazuhooku@gmail.com>
Date: Tue, 30 May 2017 12:14:47 +0900
Message-ID: <CANatvzwf4Yyf_1P6LTYb7C0GhOM=Oyn7F95rj3+j06Od_mDBEw@mail.gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Cc: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.192.175; envelope-from=kazuhooku@gmail.com; helo=mail-pf0-f175.google.com
X-W3C-Hub-Spam-Status: No, score=-6.6
X-W3C-Hub-Spam-Report: AWL=0.232, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1dFXco-0002UN-7V ece2a7193752a5b43e1b917bcf4ac4a0
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: I-D Action: draft-ietf-httpbis-cache-digest-02.txt
Archived-At: <http://www.w3.org/mid/CANatvzwf4Yyf_1P6LTYb7C0GhOM=Oyn7F95rj3+j06Od_mDBEw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33960
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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!

Today I've submitted a new revision of the Cache Digests draft. Please
let us know what you think.

Three notable changes have been made from the previous version:

* added definition of Cache-Digest header (for using Cache Digest on
Service Workers)
* introduced ACCEPT_CACHE_DIGEST SETTINGS parameter for negotiation
* changed intended status to Experimental

Regarding negotiation, the expected behavior is for the client to:
* use TLS 1.3
* for 1-RTT handshake, wait for ACCEPT_CACHE_DIGEST frame before
sending a CACHE_DIGEST frame
 * and record the value of ACCEPT_CACHE_DIGEST parameter in the TLS
session cache
* for 0-RTT handshake, send CACHE_DIGEST frame at 0-RTT if suggested
by the value of ACCEPT_CACHE_DIGEST parameter stored in the TLS
session cache

Note that waiting for ACCEPT_CACHE_DIGEST frame in the 1-RTT handshake
case will not increase the latency since it is the server that talks
first in the case.

---------- Forwarded message ----------
From:  <internet-drafts@ietf.org>
Date: 2017-05-30 11:06 GMT+09:00
Subject: I-D Action: draft-ietf-httpbis-cache-digest-02.txt
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org



A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Hypertext Transfer Protocol of the IETF.

        Title           : Cache Digests for HTTP/2
        Authors         : Kazuho Oku
                          Mark Nottingham
        Filename        : draft-ietf-httpbis-cache-digest-02.txt
        Pages           : 13
        Date            : 2017-05-29

Abstract:
   This specification defines a HTTP/2 frame type to allow clients to
   inform the server of their cache's contents.  Servers can then use
   this to inform their choices of what to push to clients.

Note to Readers

   Discussion of this draft takes place on the HTTP working group
   mailing list (ietf-http-wg@w3.org), which is archived at
   https://lists.w3.org/Archives/Public/ietf-http-wg/ .

   Working Group information can be found at http://httpwg.github.io/ ;
   source code and issues list for this draft can be found at
   https://github.com/httpwg/http-extensions/labels/cache-digest .


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

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-httpbis-cache-digest-02
https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-cache-digest-02

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-httpbis-cache-digest-02


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

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




-- 
Kazuho Oku


From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Mon May 29 23:58:12 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A49D6129B61 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 May 2017 23:58:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.001
X-Spam-Level:
X-Spam-Status: No, score=-7.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=cuLZHXv+; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=a7lhhJu2
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id poO4VGK21Xwi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 May 2017 23:58:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D0D441243F3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 29 May 2017 23:58:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dFb3U-0004WB-EK for ietf-http-wg-dist@listhub.w3.org; Tue, 30 May 2017 06:55:00 +0000
Resent-Date: Tue, 30 May 2017 06:55:00 +0000
Resent-Message-Id: <E1dFb3U-0004WB-EK@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <mnot@mnot.net>) id 1dFb3O-0004V5-Kf for ietf-http-wg@listhub.w3.org; Tue, 30 May 2017 06:54:54 +0000
Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <mnot@mnot.net>) id 1dFb3H-0007WD-5S for ietf-http-wg@w3.org; Tue, 30 May 2017 06:54:49 +0000
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 684FD150C for <ietf-http-wg@w3.org>; Tue, 30 May 2017 02:54:24 -0400 (EDT)
Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Tue, 30 May 2017 02:54:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=/axyH2pMzM4oHpJZW0Fc21f22Yr1bJuiPKA8JlL8W Zo=; b=cuLZHXv+b5lwBJebd5v1pg4BT9TL6ORl7a6saIvNlRE6Pv8sYziDpdeUF Xjcr9p3kPlkRISLOnrxtvZrwlqsQ7zOojAn2KUd3CfNnFaNEzxHuQycWa9LCJptb UPwSpVKXW7qSy/n43v/lRvE+IKAJfkbznx1Ym+cW5rVwg9NdLQICjuPqytzXT/AK MLiW+HpFhyJms1FLfzTDGfbPotpDOZjezkURpduTDKf5BY5fPTBROh/WUDFp0OsK LbVeaq9cOKApbVVOo/PkGZHfYKWgeoln0E4Kd3W9naR8lmAYPlw5uG+udV9yLMe2 rFx3sPDvcbW+82qVjwA7K5AQ2AVKw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=/axyH2pMzM4oHpJZW0 Fc21f22Yr1bJuiPKA8JlL8WZo=; b=a7lhhJu2fD/+tPQo5puRyN764zSR39MuQ6 eYy6XhV8uv0XduMOaxs6cJ75wi3ZTeJqRamMkC1bRvoIjywRWxejVmwJ3UBKfeWS 2SG8Gzu1TUvtgZ7AckEFGEuJSEBqRPpm+jCu5s+ZMX/GxMS1hnBpE85/yynVQSF4 IKvwnQ5vTokqd5HieR+ujrDdwg8KrjrS0uDwNkPD4dQXt+aa+rt7Pji3m66o0Esy K751shn3IEMrZajzGgcJpjSMW2tQX5o3HdzQB2Hy2bShhUHLrGT8sC+Nxszwqobj Q4SAofsFEXNO3DQe6H9pe/ZLExXJUGtVbS0NmHd+BABtMPYV3rGw==
X-ME-Sender: <xms:HxctWU5WfZ1D4fZEA3WSIG81eQrna8k_yiuAtOjCKobGvua2Aui8fQ>
X-Sasl-enc: uCfwBNgPamLjSRb+qFEkrZ+vVGrHygNHi4/f7hCzYf/W 1496127263
Received: from [192.168.1.18] (cpe-124-188-19-231.hdbq1.win.bigpond.net.au [124.188.19.231]) by mail.messagingengine.com (Postfix) with ESMTPA id BA1D724407 for <ietf-http-wg@w3.org>; Tue, 30 May 2017 02:54:22 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Message-Id: <F8D3C0FD-886A-4558-8F5C-5B822F27269F@mnot.net>
Date: Tue, 30 May 2017 16:54:19 +1000
To: ietf-http-wg@w3.org
X-Mailer: Apple Mail (2.3273)
Received-SPF: pass client-ip=66.111.4.221; envelope-from=mnot@mnot.net; helo=new1-smtp.messagingengine.com
X-W3C-Hub-Spam-Status: No, score=-9.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, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1dFb3H-0007WD-5S 4fb454fe56658bad6eed5a022ed4901b
X-Original-To: ietf-http-wg@w3.org
Subject: Issue: ORIGIN and Server Push [#355]
Archived-At: <http://www.w3.org/mid/F8D3C0FD-886A-4558-8F5C-5B822F27269F@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33961
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 created a new issue:
  https://github.com/httpwg/http-extensions/issues/355

#349 made me realise that, from the server's perspective, they don't =
have hard information about whether the client supports ORIGIN at the =
time they send the ORIGIN frame.

While they might gather this based upon the requests that the client =
subsequently sends, this isn't information you'd want to rely upon.

This is especially relevant to Server Push. Right now, ORIGIN is defined =
to affect what the client is able to push, but (as above), the server =
doesn't have a firm idea about the origins that are actually valid to =
use on the connection at any given time.

A number of potential solutions:

1. The server just speculatively pushes and figures it out based upon =
the responses (i.e. no change)

2. We create an explicit signal from the client to the server (e.g., "I =
will process ORIGIN", probably a SETTING, or "I have processed ORIGIN", =
probably a frame)

3. ORIGIN doesn't constrain Server Push

Note that 1 is not optimal (wasted bytes), and 3 might collide badly =
with future uses of ORIGIN.


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



From ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org  Tue May 30 00:07:03 2017
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7E0C7129353 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 May 2017 00:07:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.001
X-Spam-Level:
X-Spam-Status: No, score=-7.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=HWyu49zO; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=RtPb6YCB
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QdhONJeXeQMv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 May 2017 00:07:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 51BBA1243F3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 30 May 2017 00:07:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dFbDA-000391-NR for ietf-http-wg-dist@listhub.w3.org; Tue, 30 May 2017 07:05:00 +0000
Resent-Date: Tue, 30 May 2017 07:05:00 +0000
Resent-Message-Id: <E1dFbDA-000391-NR@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <mnot@mnot.net>) id 1dFbD6-00038A-GS for ietf-http-wg@listhub.w3.org; Tue, 30 May 2017 07:04:56 +0000
Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <mnot@mnot.net>) id 1dFbCz-0007u7-Py for ietf-http-wg@w3.org; Tue, 30 May 2017 07:04:51 +0000
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id E694515C7 for <ietf-http-wg@w3.org>; Tue, 30 May 2017 03:04:27 -0400 (EDT)
Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Tue, 30 May 2017 03:04:27 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=r1is+vDb1gDPteQmrW yzRHTQSlXrOE6efSXN50iGaVE=; b=HWyu49zO+Ehmyqah5hE4F5/mmTi9CJU9y7 k2jREQiZqcu+DylmGYAcppG1JGWT9sa/B+HRwHINvLPDifjkrkGgAJ6IMDJH0Ggf 9T/AWX0YY7nCYI24GOEHWeynURVi3FPuIo7gwQXZGEH7wYovaK3/YCGpqgw9y2Wd qy7gB7Pm+fAT+ghvIUqMd6VknLKUJR5+oqkcMvsypeNItzUyaLnwgfg79CoUjxu8 HVPrlbQauHem1Kju6TI2P/ftKJc55n5KXK4Pm1mRexryLKlT7Yj34tj11wcMYFoE xeuNWH783Gz8obaupHdvRfnaBrLFLSnzmIHsQ+ZKj6Io4ClCjbeQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=r1is+vDb1gDPteQmrWyzRHTQSlXrOE6efSXN50iGaVE=; b=RtPb6YCB lr/g9tkc3ybX2wPJypsli1EgXKnje1aGw4t/xKEuVO2w6t8SwtEhSyhoyATRHuV5 ilg90oM6U5GOXCYuG4vwouZoAktaHNzWp2yUHTGSqlZxXBVjh9x3R+2P4x+xRbxH G2npzIsUV6fE3q4LqsJdp7U58cMr9jWwF8BWCaWFtI+Ze3yK4xq5F6gDqrn9HM2p XyTaQAfOozJJ0G88vskZ+xni0bOXhWJOgJtDsr1NFuq/DZUu5KoUH4Wodtjxpn0b MLNr4eI0jTtPtjFT0ym8/EYymho7657tC25eHDCjS2RZi04umj5FgsgD7Bn6K1MW GRg18vDgZYLCxQ==
X-ME-Sender: <xms:ehktWbGqaSt2JCKcCMZ0BL_pK7okUHbDaq7ImVhxUB1CCi2xKw_kwA>
X-Sasl-enc: 2XduQQhVk47b2/paB1q8le8SpXoM8RbS4KVVg3+xX0OM 1496127866
Received: from [192.168.1.18] (cpe-124-188-19-231.hdbq1.win.bigpond.net.au [124.188.19.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 4CA9C24407 for <ietf-http-wg@w3.org>; Tue, 30 May 2017 03:04:26 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Tue, 30 May 2017 17:04:23 +1000
References: <F8D3C0FD-886A-4558-8F5C-5B822F27269F@mnot.net>
To: ietf-http-wg@w3.org
In-Reply-To: <F8D3C0FD-886A-4558-8F5C-5B822F27269F@mnot.net>
Message-Id: <71105138-1BA0-48EA-95B6-4C8E647AC74F@mnot.net>
X-Mailer: Apple Mail (2.3273)
Received-SPF: pass client-ip=66.111.4.221; envelope-from=mnot@mnot.net; helo=new1-smtp.messagingengine.com
X-W3C-Hub-Spam-Status: No, score=-9.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, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1dFbCz-0007u7-Py 12f829cb4914462492604edd2cd26be0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Issue: ORIGIN and Server Push [#355]
Archived-At: <http://www.w3.org/mid/71105138-1BA0-48EA-95B6-4C8E647AC74F@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33962
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://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 May 2017, at 4:54 pm, Mark Nottingham <mnot@mnot.net> wrote:
>=20
> I created a new issue:
>  https://github.com/httpwg/http-extensions/issues/355
>=20
> #349 made me realise that, from the server's perspective, they don't =
have hard information about whether the client supports ORIGIN at the =
time they send the ORIGIN frame.
>=20
> While they might gather this based upon the requests that the client =
subsequently sends, this isn't information you'd want to rely upon.
>=20
> This is especially relevant to Server Push. Right now, ORIGIN is =
defined to affect what the client is able to push, but (as above), the =
server doesn't have a firm idea about the origins that are actually =
valid to use on the connection at any given time.
>=20
> A number of potential solutions:
>=20
> 1. The server just speculatively pushes and figures it out based upon =
the responses (i.e. no change)

Oh, and this could involve defining a specific stream error code for =
this situation. Right now, 7540 just specifies using PROTOCOL_ERROR.


> 2. We create an explicit signal from the client to the server (e.g., =
"I will process ORIGIN", probably a SETTING, or "I have processed =
ORIGIN", probably a frame)
>=20
> 3. ORIGIN doesn't constrain Server Push
>=20
> Note that 1 is not optimal (wasted bytes), and 3 might collide badly =
with future uses of ORIGIN.
>=20
>=20
> --
> Mark Nottingham   https://www.mnot.net/
>=20
>=20

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


