Re: [Webpush] 202 (Accepted) and simplifying acknowledgements
Costin Manolache <costin@gmail.com> Sat, 20 February 2016 02:41 UTC
Return-Path: <costin@gmail.com>
X-Original-To: webpush@ietfa.amsl.com
Delivered-To: webpush@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 6C9D21B2FEA
for <webpush@ietfa.amsl.com>; Fri, 19 Feb 2016 18:41:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.999
X-Spam-Level:
X-Spam-Status: No, score=-0.999 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1,
HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=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 phtfkuClmjIT for <webpush@ietfa.amsl.com>;
Fri, 19 Feb 2016 18:41:19 -0800 (PST)
Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com
[IPv6:2607:f8b0:4003:c06::234])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id 830271B31A6
for <webpush@ietf.org>; Fri, 19 Feb 2016 18:41:19 -0800 (PST)
Received: by mail-oi0-x234.google.com with SMTP id w5so24492258oie.3
for <webpush@ietf.org>; Fri, 19 Feb 2016 18:41:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:cc:content-type;
bh=wrRGczvafIKyienFri5/8Fc0FcLIty/yI6/I25/ZPcI=;
b=mgej0IJ4LlvD3VUqnGzR4HFs0pgIpat8n3uyTcDQB1I/AVjkvS6OXSYE2gjAAt6wdr
+phxQ3cqvGph4dw983oBGHr7IM4I7dTsNEUwiNe9V7+cYT+wMmao1o/DgMrQ12uLJxFV
Sz7quhaG0qXpDUm/bHuCJg17yUPb7VXgRARxLfeuYosMOZbS3l7qvsmF/2Otmq8L8ajQ
1PxokJnBfev6cAcUVIRCA+KRRv3zIA+L0w2XjIj+WSusUo8q6pD50wRtAyvFJROAWGzl
kPz7MbMzQjPt8MwxAtEfsilqAyAhIq1TMYS3c8f9ZEqDF+L00l8XW3evtRiFAncdTtvI
6ktw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:in-reply-to:references:date
:message-id:subject:from:to:cc:content-type;
bh=wrRGczvafIKyienFri5/8Fc0FcLIty/yI6/I25/ZPcI=;
b=dVi0sSB7G6LdQBgZ4bF66vNvjucXf7jLE8vZi02sz3RZ0PLDyUeN3MxSlKrUd3Ntqa
1by5Aks8nJ9B6UeFDmDfvU3NWYdZO3wZAEJ7yoqbUdIaLLkXJBqJVTUjjobK/FN1Fms4
CqDOzUuJZAdutJZTVsrU4dxZpGaVa9mIIs6bI2E0nbs0dHOuG2zPa13B9d/UuwcIW+jo
lRycWBDZiBGoscVFovPuD2uWTxbs/7V4+r5AhhNItEKmVqHn/MUhsRbD7FHuBV26Zltz
br196f7dRs/JhcSeS+0YozhdTd7x94G5FlgwzIE6MNvWIrtAdJ/TZmgwWm6TE4S1Yx3I
sBpQ==
X-Gm-Message-State: AG10YOS3N297zDslY7pY/IGOy2m+Bsmu3DF9jUeY0cXmya0RMImxzXn9/ahE4qajtN/KxrnlKtxuomtvRgMaKQ==
MIME-Version: 1.0
X-Received: by 10.202.104.73 with SMTP id d70mr12623640oic.16.1455936078974;
Fri, 19 Feb 2016 18:41:18 -0800 (PST)
Received: by 10.76.75.35 with HTTP; Fri, 19 Feb 2016 18:41:18 -0800 (PST)
In-Reply-To: <BY2PR0301MB0647B99B681C7C5DA10D998B83A10@BY2PR0301MB0647.namprd03.prod.outlook.com>
References: <BY2PR0301MB06475638E9DE5D87782E71C783A00@BY2PR0301MB0647.namprd03.prod.outlook.com>
<CABkgnnU_oxOJX3TMY2EpfZS7NSwfhteWA2Tzh=L_gw1RNFWoLQ@mail.gmail.com>
<BY2PR0301MB0647B99B681C7C5DA10D998B83A10@BY2PR0301MB0647.namprd03.prod.outlook.com>
Date: Sat, 20 Feb 2016 02:41:18 +0000
Message-ID: <CAP8-FqnYCMr1ez-XHt_feWNeA1RtT794VK9ai0GmD7s9pdRmDA@mail.gmail.com>
From: Costin Manolache <costin@gmail.com>
To: Brian Raymor <Brian.Raymor@microsoft.com>
Content-Type: multipart/alternative; boundary=001a11409e84cd951d052c2a8832
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/d93aLcSur93VNgA5MtJoIJhMOfQ>
Cc: Martin Thomson <martin.thomson@gmail.com>,
"webpush@ietf.org" <webpush@ietf.org>
Subject: Re: [Webpush] 202 (Accepted) and simplifying acknowledgements
X-BeenThere: webpush@ietf.org
X-Mailman-Version: 2.1.15
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: Sat, 20 Feb 2016 02:41:21 -0000
Let me try to describe the problem: 1. AS1 sends 100 push messages 2. AS2 sends another 100 push messages 3. PS returns 100 push receipt URLs for each. The question is contained in the receipt URL. The PS has no way to know which message is from AS1 and which is from AS2 - all sent messages look the same. So it must return 200 distinct push receipts. If a PS requires sender authentication - it's pretty easy, PS knows public key of AS1 and AS2, and it returns only 2 URLs, one for AS1 and one for AS2, than 2 GET requests are made and AS1 and AS2 each get their 100 receipts. So in GCM case - everything looks great. If a PS doesn't require authentication - you need some other way to know that messages are sent from AS1 or AS2. This is similar with the subscription set on the UA side - where the UA starts by creating a subscription set, and than each subscription is associated with the set. We could be symmetrical, and just let AS create a 'subscription set' for itself, and have each send include the set. This would act like the public key - but have shorter life and be more private. Costin On Sat, Feb 20, 2016 at 12:52 AM, Brian Raymor <Brian.Raymor@microsoft.com> wrote: > On Fri, Feb 19, 2016 at 3:53 PM, Martin Thomson < martin.thomson@gmail.com > > wrote: > > > The question is: what would the :receipt link identify? > <big snip> > > Beyond reducing moving parts, there is really no substantial behavioral > difference from the current :push:receipt design. But it's been a long week > and I may be missing the obvious. > > The PS has the same amount of information when returning a :push:receipt > as before, since it has the ability to maintain the relationships (implicit > or explicit) between an individual subscription and/or a subscription set, > and its corresponding :push resource. It could return the appropriate > :push:receipt for all responses related to a specific :push resource. > > That's why we've always had language to provide a way for the AS to > discern between receipts associated with different messages: > > Each receipt is pushed as the response to a synthesized GET request > sent in a PUSH_PROMISE. This GET request is made to the same push > message resource that was created by the push service when the > application server requested message delivery. > > Or are you proposing a new feature and I've missed the point? > > ...Brian > > > > > > _______________________________________________ > Webpush mailing list > Webpush@ietf.org > https://www.ietf.org/mailman/listinfo/webpush >
- [Webpush] 202 (Accepted) and simplifying acknowle… Brian Raymor
- Re: [Webpush] 202 (Accepted) and simplifying ackn… Costin Manolache
- Re: [Webpush] 202 (Accepted) and simplifying ackn… Martin Thomson
- Re: [Webpush] 202 (Accepted) and simplifying ackn… Brian Raymor
- Re: [Webpush] 202 (Accepted) and simplifying ackn… Brian Raymor
- Re: [Webpush] 202 (Accepted) and simplifying ackn… Costin Manolache
- Re: [Webpush] 202 (Accepted) and simplifying ackn… Martin Thomson