Re: [sipcore] Eric Rescorla's Discuss on draft-ietf-sipcore-sip-push-21: (with DISCUSS and COMMENT) - the COMMENT issues - part 3

Eric Rescorla <ekr@rtfm.com> Tue, 08 January 2019 13:47 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: sipcore@ietfa.amsl.com
Delivered-To: sipcore@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8FE09128CB7 for <sipcore@ietfa.amsl.com>; Tue, 8 Jan 2019 05:47:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20150623.gappssmtp.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 PQ1YEPQvqHvK for <sipcore@ietfa.amsl.com>; Tue, 8 Jan 2019 05:47:57 -0800 (PST)
Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (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 F39B8124BAA for <sipcore@ietf.org>; Tue, 8 Jan 2019 05:47:56 -0800 (PST)
Received: by mail-lj1-x231.google.com with SMTP id l15-v6so3421735lja.9 for <sipcore@ietf.org>; Tue, 08 Jan 2019 05:47:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IrMI8txcRmDHAyoMcDXfnhJ5Kc2qqmaamvYduHUmpeU=; b=B1GJ4iVjnYFmYnJmO0z0/1nM+x7YCP40/45B55iTdDlK1N9oRG6CfTFk2RaHSlTNSM C8UPh7BEhT4+P5EidiwrFEPQ4foUTkYRvw/l4RiBzUcFyWc9NkZ4E0sob2PnwF8xFdGD O2ZauICyGWepGyEL6UxBUStGvmAwnm2dOjLyf0pmwTiGT9ayyMx3QJR7cwS/+kce2Xpb xpWuU4REaFW559mgqMREDyHy80j6H3qInOcA/zMg84KVSXqaBqJE2rBnxSeDKJ9JfI7u puQPoBAy/f5ig3OsJf1BOVNESySyGh0oDeQkmgcT0egUQeXuULJ9wFh70tSl5gmFKTsC a6SQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IrMI8txcRmDHAyoMcDXfnhJ5Kc2qqmaamvYduHUmpeU=; b=Ts4W5D3+rnrkZiH1usSsRXqB0yGMe7c8ScvbgVI3b8OaHMgmUSi/XPn26t8cgg9TzN qs1HBTYmXJE2OJ8zCbl5bwqOMKhPzBpVliqmRMPnDZVDKqFYRvw3/qonWHetovp2PVts DfEsyFYpS8QJeoatYNVbBuvGfuozehedx/mvpcSXzz7z3FqCuLdI3sZiEWp1fSXVUUID cQgQtLZoT5v5nCsfhZDHH6WPx3tQtb3W/p7zK7QNQQIEjdZSN3Or2OwRy7WdHJQ11EEc LCfB8UhKpv66TaTI5XJfVievZNQ6k3+01HH9C8YMtmpH0nbXTByR7vc/NHHOVWo1wx+3 aWOw==
X-Gm-Message-State: AJcUukeD3iarb/FCvsQQoeptS4tsJazfZimO48ww78uqeOOjNvsuTbM+ fmTE8SWXnhbXYpa758cPQ/oExsnIxFZJOD+4ddyg6g==
X-Google-Smtp-Source: ALg8bN5R2CTxmyC3e/yKFNkgp2EMI9uav87kvvx1J+ve0tSJtphaJbO8irne5M85dzvkIw3to8h6/xQJOsPn37z2h50=
X-Received: by 2002:a2e:1552:: with SMTP id 18-v6mr1120058ljv.68.1546955275189; Tue, 08 Jan 2019 05:47:55 -0800 (PST)
MIME-Version: 1.0
References: <154681733718.17024.3190954246737206843.idtracker@ietfa.amsl.com> <HE1PR07MB31611EECBA89EF1FC46D756C93890@HE1PR07MB3161.eurprd07.prod.outlook.com> <CABcZeBM-SdQH4_92uo5-KWWG=Wnb+1u=j7u-1J3FzjjymQYJhA@mail.gmail.com> <HE1PR07MB31611682A1DA90ADBC1E620D93890@HE1PR07MB3161.eurprd07.prod.outlook.com> <CABcZeBNC-3Gc3LStnRwn2T_SSeO6Zo=S3Oy+90MX1xjxo0njgA@mail.gmail.com> <HE1PR07MB3161FF8C793D16A45AA7C7F6938A0@HE1PR07MB3161.eurprd07.prod.outlook.com>
In-Reply-To: <HE1PR07MB3161FF8C793D16A45AA7C7F6938A0@HE1PR07MB3161.eurprd07.prod.outlook.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 08 Jan 2019 05:47:18 -0800
Message-ID: <CABcZeBNq1W=10hz6Zjv3vGU9J6+vwdqL6wk3Zr58yowXApjNGg@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Cc: The IESG <iesg@ietf.org>, "br@brianrosen.net" <br@brianrosen.net>, "sipcore@ietf.org" <sipcore@ietf.org>, "draft-ietf-sipcore-sip-push@ietf.org" <draft-ietf-sipcore-sip-push@ietf.org>, "sipcore-chairs@ietf.org" <sipcore-chairs@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a95ab7057ef29721"
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/y9MJMKyAkpIZmc4Nbr005G6aYNM>
Subject: Re: [sipcore] Eric Rescorla's Discuss on draft-ietf-sipcore-sip-push-21: (with DISCUSS and COMMENT) - the COMMENT issues - part 3
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sipcore/>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Jan 2019 13:48:00 -0000

On Tue, Jan 8, 2019 at 4:50 AM Christer Holmberg <
christer.holmberg@ericsson.com> wrote:

> Hi,
>
>
> S 5.3.2.
> >>
> >>      If the proxy has knowledge that the UA is awake, and that the UA is
> >>      able to receive the SIP request without first sending a REGISTER
> >>      request, the proxy MAY choose to not request a push notification
> >>      towards the UA (and wait for the associated REGISTER request and
> 2xx
> >>      response) before it tries to forward the SIP request towards the
> UA.
> >
> >Why not race these?
>
> One could do that, but I don't think it should be mandated.
>
>
> >The current text prohibits racing if you *don't* know that the UA is
> awake.
>
> The basic assumption of the mechanism is that a UA cannot receive SIP
> requests before it has received the push notification, sent the REGISTER
> etc.
>
>
> >But that may or may not be true, depending on whether the device has
> gone to sleep
>
> Implementations can of course do whatever they want, but I think it is bad
> design to specify such behavior. Unless the request will reach the UA, some
> re-transmissions will be "wasted",
>

We trade off "wasted" transmissions for performance all the time. For
instance: RFC 6555.


and once the proxy receives the REGISTER the re-transmission timer might
> have become rather big.
>

Well, that's easy to fix by not incrementing the timer on these
transmissions.


But, perhaps we could say something like:
>
> "if the proxy has knowledge, or strong reasons to believe, that the UA is
> awake"
>
> An example of such strong reason is that the proxy received the previous
> REGISTER just a few seconds ago.
>

This text still seems to discourage this behavior, and I'm not in agreement
with you that we should do so.

-Ekr

Regards,
>
> Christer
>
>
> -Ekr
>
>
> Regards,
>
> Christer
>
>
>
>