Re: [Webpush] AD evaluation: draft-ietf-webpush-protocol-09

Martin Thomson <martin.thomson@gmail.com> Fri, 23 September 2016 04:54 UTC

Return-Path: <martin.thomson@gmail.com>
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 37B0012B781 for <webpush@ietfa.amsl.com>; Thu, 22 Sep 2016 21:54:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, 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 B0bspzhbTeMU for <webpush@ietfa.amsl.com>; Thu, 22 Sep 2016 21:54:10 -0700 (PDT)
Received: from mail-qt0-x229.google.com (mail-qt0-x229.google.com [IPv6:2607:f8b0:400d:c0d::229]) (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 B777B12B8E0 for <webpush@ietf.org>; Thu, 22 Sep 2016 21:54:10 -0700 (PDT)
Received: by mail-qt0-x229.google.com with SMTP id 93so47785054qtg.2 for <webpush@ietf.org>; Thu, 22 Sep 2016 21:54:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qZ/Xm/vA7k3oLumfDY27zNuYIOx0NYULB3u87CnUREQ=; b=i+e0Z9/SINjOhAQdMXC94NLh5AfQnGUrymOZl9h/+j3vjGyIFTZYoEU8jUo9MJncGh wkbbFWUZEMdzkoWHAt6T0oA6oGNkmGbMk62FqmZZqMGjfxODfEmZp85jN4f2iCsycgPe ob1lPBgpj6LWS0sbxH4vegAHwDEw/jOChKxJgIRoElDYCLCdU4ymnkZRC0/ZRxg2R3pJ 5DXgrbk/aonyZYT8FZUdv1Q9ftBSq5icvPH7M052na/PmOXLqI36W3L1GODhG3YK0Pyo 2AY+wQ32XerBiRaxAzkhIbzdZQ5gowI/eTQgWPSHs5zvL8gdItyLU0+ncNuuFt3a9HpL 9qYw==
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:from:date :message-id:subject:to:cc; bh=qZ/Xm/vA7k3oLumfDY27zNuYIOx0NYULB3u87CnUREQ=; b=ZrDGSCULFHrR7yF3BkwPMe0MDPplZIWoPOht4pT6aOQPQPZ1+dMy2HoE/Af1NLjV17 SU3JMEm8nWyjOXpsFedXiHSis874MMG7GJxpACUM0Dx/9876y0nX78ErrPjFrqbjW2L8 Q8RPrjAEzLhV4FPNwA2EeEd5iicRiHTkxQvtnB6BbbmtW2EPvN5bjM4nKbX3w2nXK2/5 grbtLfix4Qw5fKy0yzfMN/aXwcH6sYFSSwGH4KSF+tFiq1LWIODxBh+uCN0lbUywcT2M ObuXL987poCwBFy0eTiMQXkQoKVJJbYxzztLxdopNzX+At69Ovaclg97lqSYN57Y5fXT YySA==
X-Gm-Message-State: AA6/9RkyPKd20Mp2OYKagVk84I0v6RZIzo3ohO6fEwjwNXuhDlf5oFuZ4RWrlB9KLHDtC9kP9NZFXvu0e6uUvA==
X-Received: by 10.237.45.39 with SMTP id h36mr5890269qtd.155.1474606449877; Thu, 22 Sep 2016 21:54:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.22.146 with HTTP; Thu, 22 Sep 2016 21:54:09 -0700 (PDT)
In-Reply-To: <1E66EFF9-A0B5-4BB5-8F1D-0ABABBB3C353@cooperw.in>
References: <1E66EFF9-A0B5-4BB5-8F1D-0ABABBB3C353@cooperw.in>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Fri, 23 Sep 2016 14:54:09 +1000
Message-ID: <CABkgnnXgA+c0KR5g7qC_U4Hdg=2QoeDpaCXY98nZQGqB1gcDfw@mail.gmail.com>
To: Alissa Cooper <alissa@cooperw.in>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/webpush/i9jkgO1zglX0Vn_lKJQcdZ7pk_M>
Cc: "webpush@ietf.org" <webpush@ietf.org>
Subject: Re: [Webpush] AD evaluation: draft-ietf-webpush-protocol-09
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: Fri, 23 Sep 2016 04:54:12 -0000

Thanks for reviewing Alissa,

The other comments look like they have mechanical fixes.  We will get to that.

On 22 September 2016 at 13:25, Alissa Cooper <alissa@cooperw.in> wrote:
> = Section 5.4 =
>
> "Delivery receipts for the deleted message
>    SHOULD be suppressed."
>
> Why is this a SHOULD rather than a MUST? It seems incorrect in all cases to send a delivery receipt for a message that never gets delivered.

I realize that this is actually too short to be comprehensible.  What
I think that this was trying to capture was that sometimes replaced
messages might be delivered successfully, but the acknowledgment might
be still in transit toward the server.  That acknowledgement could
trigger a delivery receipt.

This recommends that receipts be suppressed in this case.  They might
not be given the distributed nature of the push service.
(Acknowledgments might be handled in a stateless fashion, and checking
that a replacement has occurred can be expensive; preventing the race
adds cost and latency also.)

>>>
A push message replacement request creates a new push message resource
and simultaneously deletes any existing message resource that has a
matching topic. If an attempt was made to deliver the deleted push
message, an acknowledgment could arrive at the push service after the
push message has been replaced.  Delivery receipts for such deleted
messages SHOULD be suppressed.
<<<