Re: [Webpush] Stephen Farrell's Discuss on draft-ietf-webpush-protocol-11: (with DISCUSS and COMMENT)
Stephen Farrell <stephen.farrell@cs.tcd.ie> Mon, 17 October 2016 07:13 UTC
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: webpush@ietfa.amsl.com
Delivered-To: webpush@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 72AD312959F; Mon, 17 Oct 2016 00:13:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.732
X-Spam-Level:
X-Spam-Status: No, score=-4.732 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.431, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
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 wkHKeKA0ezTP; Mon, 17 Oct 2016 00:13:38 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 569BC1294FB; Mon, 17 Oct 2016 00:13:38 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 32ADFBE4C; Mon, 17 Oct 2016 08:13:34 +0100 (IST)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aYOUifsbDr27; Mon, 17 Oct 2016 08:13:32 +0100 (IST)
Received: from [10.87.48.210] (95-45-153-252-dynamic.agg2.phb.bdt-fng.eircom.net [95.45.153.252]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 3026CBE39; Mon, 17 Oct 2016 08:13:32 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1476688412; bh=XtbkD+d5NkMLO9mFjf6rW5QnZr0v+RyTvcu1Wk3ZTjw=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=lgBnlPt7IilApdVhBHqWDiLtdXzUwgAdxDvT+Y69+z9bAOXR8ke9Pgqzm9SRUDD5R JiBCW7sUjQOEvXkkFAjFt6y2NXfTpNV7ZgvNrAB7m9P2TJGAwJVosYLodAgz/5MBQZ teWFBfRHwbv769T5e0/+zeFe+dYL3Gvl+5A5ubZI=
To: Brian Raymor <Brian.Raymor@microsoft.com>, The IESG <iesg@ietf.org>
References: <CY1PR03MB238089D350CD6A78DB9E80BE83DF0@CY1PR03MB2380.namprd03.prod.outlook.com> <5816348f-015a-beca-a5e6-3883fff02aab@cs.tcd.ie> <CY1PR03MB2380AE2A057528E2B17FA0B083DF0@CY1PR03MB2380.namprd03.prod.outlook.com> <CY1PR03MB2380D52D2AA9CC7D60EA5FA883D00@CY1PR03MB2380.namprd03.prod.outlook.com>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <77e09f1f-04de-7819-92ea-9e4609cd853d@cs.tcd.ie>
Date: Mon, 17 Oct 2016 08:13:32 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <CY1PR03MB2380D52D2AA9CC7D60EA5FA883D00@CY1PR03MB2380.namprd03.prod.outlook.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="------------ms010804000200030004050805"
Archived-At: <https://mailarchive.ietf.org/arch/msg/webpush/9G_0BUVHApB147JsmGAJQphJFcU>
Cc: "draft-ietf-webpush-protocol@ietf.org" <draft-ietf-webpush-protocol@ietf.org>, Shida Schubert <shida@ntt-at.com>, "webpush-chairs@ietf.org" <webpush-chairs@ietf.org>, "webpush@ietf.org" <webpush@ietf.org>
Subject: Re: [Webpush] Stephen Farrell's Discuss on draft-ietf-webpush-protocol-11: (with DISCUSS and COMMENT)
X-BeenThere: webpush@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Discussion of potential IETF work on a web push protocol <webpush.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/webpush>, <mailto:webpush-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/webpush/>
List-Post: <mailto:webpush@ietf.org>
List-Help: <mailto:webpush-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/webpush>, <mailto:webpush-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Oct 2016 07:13:40 -0000
On 17/10/16 08:03, Brian Raymor wrote: > Correcting a mail bounce. Apologies for duplicates. > > Take two. > >> So what's not clear to me is how webpush works with the SOP >> and whether there's anything more that needs to be said about >> that in the document. For example, you sensibly recommend >> running the push service on port 1001 but none of the examples >> mention that port in the Host or :authority values shown. >> This may all be clear to someone who's very familiar with >> alt-svc though, (but it wasn't clear to me:-), which might >> be fine, but I'm not sure. As an example, is the application >> that is pushing the messages required to know that the >> push service is or is not using port 1001? > > I've added a clarification to Section 1.1 regarding the examples in the > document - outlining the minor changes required if Alt-Svc was in play: > > https://github.com/webpush-wg/webpush-protocol/pull/141/files > > The small difference is the inclusion of the Alt-Used header field in the user agent > requests to the push service. No other changes (such as URLs) are required which > matches the description in RFC7838: '... in general, they are not visible to > the software "above" the access mechanism. ' The "routing" is transparently > managed in the HTTP stack based on my understanding. > > Similarly, the application server is NOT required to know that the push service and > user agent are using port 1001. Thanks. I think I've tracked down the source of my confusion which isn't quite the above (though that does seem like an improvement). In section 3 it says: "The push service shares the same default port number (443/TCP) with HTTPS, but MAY also advertise the IANA allocated TCP System Port 1001 using HTTP alternative services [RFC7838]." I think the MAY there is what got me into a confused state. Say if a UA knows to use port 1001 on example.net and just goes there, then the UA will treat the content as having the origin example.net:1001. If however the UA goes to example.net on port 443 first and then sees an alt-svc, then when it goes to port 1001 it'll treat the content as having origin just example.net. I guess that'll make a difference in how the UA handles pushed content. And I think what's different here, compared to a generic use of alt-svc, is that port 1001 is being registered so it's more likely a UA goes directly there the very first time and never hits 443. Seems to me that may mean there's a missing bit of text warning of that, and perhaps a missing bit of text that push services would be wise to advertise the port 443 URLs to which a UA can subscribe and then use alt-svc to schlep UAs over to port 1001. (And maybe that means that the text about "advertising the alternate port (1001)" could also do with a change?) Does the above sound right? Or am I still confused? :-) Cheers, S. > > ...Brian >
- [Webpush] Stephen Farrell's Discuss on draft-ietf… Stephen Farrell
- Re: [Webpush] Stephen Farrell's Discuss on draft-… Brian Raymor
- Re: [Webpush] Stephen Farrell's Discuss on draft-… Stephen Farrell
- Re: [Webpush] Stephen Farrell's Discuss on draft-… Brian Raymor
- Re: [Webpush] Stephen Farrell's Discuss on draft-… Brian Raymor
- Re: [Webpush] Stephen Farrell's Discuss on draft-… Stephen Farrell
- Re: [Webpush] Stephen Farrell's Discuss on draft-… Martin Thomson
- Re: [Webpush] Stephen Farrell's Discuss on draft-… Stephen Farrell
- Re: [Webpush] Stephen Farrell's Discuss on draft-… Brian Raymor
- Re: [Webpush] Stephen Farrell's Discuss on draft-… Stephen Farrell
- Re: [Webpush] Stephen Farrell's Discuss on draft-… Brian Raymor
- Re: [Webpush] Stephen Farrell's Discuss on draft-… Stephen Farrell