Re: ORIGIN - suggested changes

Patrick McManus <mcmanus@ducksong.com> Fri, 03 February 2017 16:26 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 38AB21293F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 3 Feb 2017 08:26:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.618
X-Spam-Level:
X-Spam-Status: No, score=-9.618 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_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-3.199, 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=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 svvcEoxM3XHz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 3 Feb 2017 08:26:03 -0800 (PST)
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 8BD9B1289C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 3 Feb 2017 08:26:03 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cZgdU-0001bF-GW for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Feb 2017 16:22:56 +0000
Resent-Date: Fri, 03 Feb 2017 16:22:56 +0000
Resent-Message-Id: <E1cZgdU-0001bF-GW@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 1cZgdN-0001aT-Ci for ietf-http-wg@listhub.w3.org; Fri, 03 Feb 2017 16:22:49 +0000
Received: from o1.7nn.fshared.sendgrid.net ([167.89.55.65]) 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 1cZgcG-0003II-V7 for ietf-http-wg@w3.org; Fri, 03 Feb 2017 16:22:18 +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=M6nbehrSnefhET0QALl2NRPsDVE=; b=JfsP/FDB/REx5kaW8M RLp4ZsZfM+4qt4qBDtYCh9GWBwcJlfTfSbmrwlvRPCeJouCpc29nhziNpzN+tDSa VMnAGCLU65VGyLqEt7chpNL+X4/lTXfp4XNel7f6iEW7bIx/J7OV4iflI3UeL5A9 Tg1n3TMTKeNquqYs1HrsB0sUo=
Received: by filter0448p1mdw1.sendgrid.net with SMTP id filter0448p1mdw1-27494-5894ADF8-97 2017-02-03 16:21:12.794003724 +0000 UTC
Received: from mail-qt0-f179.google.com (mail-qt0-f179.google.com [209.85.216.179]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id nsfqMxkcTq2EhYUnskJ2og for <ietf-http-wg@w3.org>; Fri, 03 Feb 2017 16:21:12.723 +0000 (UTC)
Received: by mail-qt0-f179.google.com with SMTP id w20so39958278qtb.1 for <ietf-http-wg@w3.org>; Fri, 03 Feb 2017 08:21:12 -0800 (PST)
X-Gm-Message-State: AIkVDXKXcYd9OOFwABmiBkl93ZvA6YLbvkXMV3eidPxIUrAlstUqFSnOfq9nxZspK0kTsKLCUqXIEAuMx+/q/w==
X-Received: by 10.200.52.170 with SMTP id w39mr14733492qtb.123.1486138872278; Fri, 03 Feb 2017 08:21:12 -0800 (PST)
MIME-Version: 1.0
Received: by 10.12.162.65 with HTTP; Fri, 3 Feb 2017 08:21:11 -0800 (PST)
In-Reply-To: <2DAB7A8F-2614-4448-8DA9-6967E6E3BD06@mnot.net>
References: <C3CCA267-F5B5-4827-AC27-9853BDADACDE@mnot.net> <CABkgnnWaN6Kaq28=a+At_YQcZmG_o0-VRMAWBABzdLz-RBxxPA@mail.gmail.com> <5D2EB826-204B-44FC-AB42-B0BBECF9AE62@mnot.net> <CABkgnnX26M2P1Kp-PxPDzREZGp0nGfuJubgTqrs9Hr7n8ttqdA@mail.gmail.com> <373E9285-B023-4D42-A749-368649E34252@mnot.net> <2DAB7A8F-2614-4448-8DA9-6967E6E3BD06@mnot.net>
From: Patrick McManus <mcmanus@ducksong.com>
Date: Fri, 03 Feb 2017 17:21:11 +0100
X-Gmail-Original-Message-ID: <CAOdDvNoS1NKcL7DMS8TUKzqiY46=nse62dFz3Aov7Fj21hxaKQ@mail.gmail.com>
Message-ID: <CAOdDvNoS1NKcL7DMS8TUKzqiY46=nse62dFz3Aov7Fj21hxaKQ@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Martin Thomson <martin.thomson@gmail.com>, "Nygren, Erik" <nygren@akamai.com>
Content-Type: multipart/alternative; boundary="001a1147904a91bfcb0547a2ab45"
X-SG-EID: YLWet4rakcOTMHWvPPwWbcsiUJbN1FCn0PHYd/Uujh6RJel8K7JcDiz+Bq1M/9opIyCfstbp9+nmj/ 5PMLd4bPFBBNbgX9xXpE6wlCzJU2BK54h5Dl1VBkcwPD2u2a4YOpvK7NdkrFrdJmoci+U+3I+SF6qu WijuROD2hyraUCMQgkIZ9OEtNwsDyEQ6GC17ZaGQ4lgc0BmA5QqUHSHEBdImhOO7Ia04VjfRYEWcIr 0=
Received-SPF: pass client-ip=167.89.55.65; envelope-from=bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net; helo=o1.7nn.fshared.sendgrid.net
X-W3C-Hub-Spam-Status: No, score=-6.0
X-W3C-Hub-Spam-Report: AWL=-0.231, 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1.346, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, TIME_LIMIT_EXCEEDED=0, URIBL_BLOCKED=0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1cZgcG-0003II-V7 1336f15415482bf17beb4d419b4c2290
X-Original-To: ietf-http-wg@w3.org
Subject: Re: ORIGIN - suggested changes
Archived-At: <http://www.w3.org/mid/CAOdDvNoS1NKcL7DMS8TUKzqiY46=nse62dFz3Aov7Fj21hxaKQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33437
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Mark - thanks for this. I think we're really onto something and have hit on
the right balance of usefulness and simplicity. I've made a couple PR
comments - but briefly I think the only issue I might want to think harder
about is the interaction with ports that you have specified wrt alt-svc.

I'm eager to implement in firefox and I know of at least 2 CDNs and 1
server that are eager as well.

-P


On Fri, Feb 3, 2017 at 1:43 AM, Mark Nottingham <mnot@mnot.net> wrote:

> I've done some more updating:
>   https://github.com/httpwg/http-extensions/pull/285
>
> At this point, the diff isn't too helpful, so see attached.
>
> Changes include:
>
> 1. Removing set manipulation flags
> 2. Reserving some flags for future backwards-incompatible extensions
> (which makes me feel a bit better about #1)
> 3. Note impact upon Server Push
> 4. Added IANA Considerations and Operational Considerations
> 5. Lots of clarifications
>
> Feedback welcome, as always.
>
>
>
>
>
>
> > On 2 Feb 2017, at 12:30 pm, Mark Nottingham <mnot@mnot.net> wrote:
> >
> >
> >> On 2 Feb 2017, at 12:23 pm, Martin Thomson <martin.thomson@gmail.com>
> wrote:
> >>
> >> On 2 February 2017 at 10:12, Mark Nottingham <mnot@mnot.net> wrote:
> >>> I don't buy the argument that removal itself adds complexity.
> Implementations already need to remember what origins they received a 421
> for, so they already have the concept of origin set removal.
> >>
> >> Well, you just established why it might be unnecessary.  The gain here
> >> is in the client not sending a request to the wrong place.  But if
> >> this is rare enough, then that cost is probably bearable.
> >
> > Right, but the whole point of ORIGIN is to avoid those situations.
> >
> >
> >> The "everything except those" case doesn't concern me that much.
> >> Iknow it's relatively common, but it is fairly rare that the set of
> >> origins that are used is not easily enumerable, or incrementally
> >> discoverable.
> >
> > Spoken like a true browser vendor :)
> >
> > It'd be good to get a bit more data here from server-side folks. Anyone
> share this concern? I note that Nick seems to be OK with it.
> >
> > Cheers,
> >
> > --
> > Mark Nottingham   https://www.mnot.net/
> >
> >
>
> --
> Mark Nottingham   https://www.mnot.net/
>
>
>