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

Christer Holmberg <christer.holmberg@ericsson.com> Mon, 07 January 2019 19:43 UTC

Return-Path: <christer.holmberg@ericsson.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 296CB1310C4 for <sipcore@ietfa.amsl.com>; Mon, 7 Jan 2019 11:43:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.355
X-Spam-Level:
X-Spam-Status: No, score=-4.355 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.065, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com header.b=TlUO/GwQ; dkim=pass (1024-bit key) header.d=ericsson.com header.b=VzgbwFMC
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 mzjk3LzqGYuP for <sipcore@ietfa.amsl.com>; Mon, 7 Jan 2019 11:43:53 -0800 (PST)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C306F131030 for <sipcore@ietf.org>; Mon, 7 Jan 2019 11:43:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/relaxed; q=dns/txt; i=@ericsson.com; t=1546890230; x=1549482230; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=tZb9tyF8XEnW0io3jxATtLt2ck/p9Fh+tY7nFqf5U/0=; b=TlUO/GwQK7be7gLMejsld72KLgzDe7p5FFSCro0RVdVRgHysFv7MLmRdBbz14YOP ne9gz9u41G2QJwFAF+EAW6T0IxeBoKGAKvjKSu6QcmwGEYV3BViY+QLu9UpCvBL+ ZcssaME5e4ULz2/jh0qGxJKPLX56gmNxxaQbo2YCyog=;
X-AuditID: c1b4fb30-fabff7000000355c-05-5c33abf6ee2d
Received: from ESESSMB503.ericsson.se (Unknown_Domain [153.88.183.121]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id 01.BB.13660.6FBA33C5; Mon, 7 Jan 2019 20:43:50 +0100 (CET)
Received: from ESESBMB504.ericsson.se (153.88.183.171) by ESESSMB503.ericsson.se (153.88.183.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 7 Jan 2019 20:43:50 +0100
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB504.ericsson.se (153.88.183.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Mon, 7 Jan 2019 20:43:50 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tZb9tyF8XEnW0io3jxATtLt2ck/p9Fh+tY7nFqf5U/0=; b=VzgbwFMCCvZ/dDw0fMLw0jZW7vrISgL9min9ZEPSPG2NsTZdNrtcssnn5BW+pDcZJkpCsfoxTVOHW6CATyl9KarRPdfs4eRYS/SkAgPZ2qMJGE4IOVsXckDZYiYh9idNazfdjhqYb1f16c0CyEdKpNOz+2qf8mgDcdlEb1iB6FM=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB3515.eurprd07.prod.outlook.com (10.170.248.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.3; Mon, 7 Jan 2019 19:43:48 +0000
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::852a:3f04:e342:cf55]) by HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::852a:3f04:e342:cf55%3]) with mapi id 15.20.1516.010; Mon, 7 Jan 2019 19:43:48 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Eric Rescorla <ekr@rtfm.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>
Thread-Topic: Eric Rescorla's Discuss on draft-ietf-sipcore-sip-push-21: (with DISCUSS and COMMENT) - the COMMENT issues - part 2
Thread-Index: AQHUpsFObT/3pcQJRUyM7wBcZrMUng==
Date: Mon, 07 Jan 2019 19:43:48 +0000
Message-ID: <HE1PR07MB3161A0F37182BC9AEF1BB4DC93890@HE1PR07MB3161.eurprd07.prod.outlook.com>
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>
In-Reply-To: <CABcZeBM-SdQH4_92uo5-KWWG=Wnb+1u=j7u-1J3FzjjymQYJhA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=christer.holmberg@ericsson.com;
x-originating-ip: [37.33.31.219]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; HE1PR07MB3515; 6:wrLHnRLt+70mE8JIN9GK0iI8ikX2D5zHiAdo1K0AQKyWHR6uQpS4+GmQZTEUDLeocBLmkn1e7qdRO8qqkvgBeR/9yzKKOnRpxCmJik+WGvvPEv8Liwym1m9ZMrU4aXxvap97sUdiAQgypSvHkVrApIOEyvgsYIOZRS2Bw+C1Ym6CJ5wACrnV0WMY7dS+HLbQWGvkdmqwv536iBAhWERt+VtDKZx4pswXLNzaaV1BvGqOCCYv67yPZq7/uajsCKGyqtAmIkxqDV4Hknxp7UPSKz+jHIIG8BCcfOGXTpl2iwfcJbkU4UJL+tvAuyBGU/597bVyNM0BQX0SkB49N1Lz2ch0oc9kZS3bPC31OYzDN3crw5EbANzPf0PU8BeQSyR3cEaDfqJsMD8bGzxpl8R8C7U0gaew15iOTNoCUwLI0jthwhWSby/WXANMWr7+TVsQUqkduVohCaqapPYzNSIZxA==; 5:9DGYqgMrL0m7JJ+e8g0KnUs6tW7MGMhCd4QlgEPFXpe2ZnMlo2JXrFMMuol27QRYtokQQmh6VVQYztc26UeUEOOG6EG7w5DqcbhTvOb7a+w0Z0u6M1hoBef4+ZiqfO09MYSmkZSsbCv4yySgVnXQlFh20W8pj2ruyxacgqF+f+QimzGGim3PBQdwRJOYB/fA7D+VCq5UQKPfXjb1up2SXg==; 7:f8icmhUDlljLTS75YJf94/WvrrE5dKgDV3M/YzOdLlnSn72YZpYnPdNpti7y2fkAgkbyeVg+bk56ltSZUZV6xrEnSXeO4pT69yvIZkMnt1GhsWHQsM6w4BlKgs4W4t5HsgO4N9FQffgECLbDcVBCEA==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 1670d547-1a91-4d53-e698-08d674d87189
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(2017052603328)(7153060)(7193020); SRVR:HE1PR07MB3515;
x-ms-traffictypediagnostic: HE1PR07MB3515:
x-microsoft-antispam-prvs: <HE1PR07MB351575F4C76B2E3395D2D71A93890@HE1PR07MB3515.eurprd07.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(3231475)(944501520)(52105112)(93006095)(93001095)(3002001)(10201501046)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(20161123562045)(20161123564045)(201708071742011)(7699051)(76991095); SRVR:HE1PR07MB3515; BCL:0; PCL:0; RULEID:; SRVR:HE1PR07MB3515;
x-forefront-prvs: 0910AAF391
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(136003)(366004)(396003)(376002)(346002)(189003)(199004)(52314003)(4326008)(316002)(229853002)(54906003)(81156014)(81166006)(8936002)(55016002)(105586002)(8676002)(25786009)(19627405001)(2906002)(74316002)(256004)(14444005)(5070765005)(71200400001)(71190400001)(97736004)(6916009)(6436002)(7736002)(9686003)(6506007)(102836004)(7696005)(76176011)(5660300001)(14454004)(186003)(446003)(3846002)(6116002)(99286004)(26005)(478600001)(53936002)(33656002)(44832011)(54896002)(68736007)(486006)(66066001)(86362001)(11346002)(106356001)(476003)(6606003)(6246003); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB3515; H:HE1PR07MB3161.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: eaYmO1mHBl2LCBEohOqzOf8BDVZSouBd+Plcj4REPEtUHYM/uthTpraxQ8+LDjfe4ppXUV27ozJCObhKX3pncfwh6bCGC/d3KRhSvsQvVtBOEUImPM3hW0kFf+JCNGi8J/5Yr4vo4fBlQLzO0nJylrBq4QJnmFFMtS8mvyAS2mCpAP2bzpl1qYufGvMeq/H2M7do3YyS6rxV/PiIGqUlu6tUfJgMJ9jz8Z/Phn+MllzqUiiOjL6IqHVwAVmy38z72FXd6SwuMIlW0BfyaTlxzZXq0wfEUaXcwoMmIvuUTWLh7WRacALwJ5HS1vyhrfUD
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_HE1PR07MB3161A0F37182BC9AEF1BB4DC93890HE1PR07MB3161eurp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 1670d547-1a91-4d53-e698-08d674d87189
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jan 2019 19:43:48.4643 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3515
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA01SbUhTYRTmvfd6dx2uXpfmQYtsVD8058dEFkQlhUgpFkVIDXLTmy7ntF0T DaSpZeIXfsx0VpgfSDg1k8wgoxxCKlgaFhWk2RS1ZZTmR6krt7vAf895nue85zmHlyHFAy7e jFqbzuq0So2EFlLG2O6sgCWTTBE0YgyTT43fouW5CyZCft/6SiCvWSsn5SUL9aR8caWTPkJH ji+tCyKbmn4TkZWWfPIkeU54MIHVqDNYXeChOGHSt8q/VFrvKMrs7x0W6JH+MSpErgzgUBjL M7sUIiEjxn0IeiYqKb5YRNBX/NVZNBJQfbdDYC8oXEbC8Pd3BK+UE2BaqHbaJhDUzjeQhYhh aCyHIpu/fYgH9oU/a/0OD4mXEDQXtQvswjaci2D1utoueOA8BKOtUxTfIYX2zgZHRArvgbKh t6Qdi7ACKhZ7nXGnEBimWwi74IpPQeOnn44GhLfD8mCrgyexF3ycrCP4XTE09bwmeewJsxab C+9XwvOWz07eFwz6AZrHO+FNXRGyDwOcK4AZm8UpBMCPqipnQzQYraU0bxpG8GJuguIFP7B2 5zmvnAwPcl5SvGmEhPnOBedLOzZiFxFlKLB2U1oep8LgeilV61jbHQaMkxTPS+F9lYHmsT80 11tJHgdAjc1MbebvIUEL8uRYTpWSGBIiZXXqeI5L1Uq1bHon2vhgvY9Wg56g2elwM8IMkriJ egwyhdhFmcFlpZgRMKTEQ6SZClaIRQnKrKusLvWC7oqG5czIh6EkXqI1sbtCjBOV6Wwyy6ax uv8qwbh665FsRdXnNncmtKANj9/psFxrPqwLq69eD/N2q7jdnX3JbErwLGFu2pgb6i9BKnGO zy76V2Z4JV199rRmS9dihMVQHJcdXRhjLDlKHLu4z6Qf3xu1O3sm5kPieRVu5NzzrQ8LLmuz tkYl+7U9E2aKY58ejx7ar4oYi10+ECA70RUvobgkZbAfqeOU/wBw2yHyXAMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/HVcdKKWk9fUwhcWYLTR08GabcUU>
Subject: Re: [sipcore] Eric Rescorla's Discuss on draft-ietf-sipcore-sip-push-21: (with DISCUSS and COMMENT) - the COMMENT issues - part 2
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: Mon, 07 Jan 2019 19:43:57 -0000

Hi,


S 4.1.
>>      capability indicator, the UA SHOULD only send a re-registration
>>      REGISTER request when it receives a push notification (even if the UA
>>      is able to use a non-push mechanism for sending re-registration
>>      REGISTER requests), or when there are circumstances (e.g., if the UA
>>      is assigned new contact parameters due to a network configuration
>>      change) that require an immediate REGISTER request to be sent.
>
>This text doesn't seem correct. If the initial response doesn't
>contain "sip.pns" then you probably would still want to send regular
>REGISTERs

The text is about "sip.pnsreq".

>Yes, but it's not phrased as being conditional on that other condition (see previous comments
>about writing style).

Ok.

---

S 4.1.
>>      REGISTER request.
>>
>>      If the UA no longer wants to receive push notifications (requested by
>>      the proxy), the UA MUST send a binding-refresh REGISTER request
>>      without including the SIP URI parameters described above, or the UA
>>      MUST remove the registration.
>
>This seems pretty hard to conform with, given that mobile applications
>are often just shut down with no warning.

On shut down, I believe mobile applications are typically moved in to a state where they are still able to perform some actions.

>It's not reliable. Sometimes you get that, sometimes you don't.

Anyway, the text applies to situations where the UA is able to perform actions.

So, perhaps clarifying that with:

"the UA MUST (unless it is no longer able to perform SIP procedures, e.g., due to a forced shutdown) send a"

>This doesn't seem much like a MUST.

SHOULD?

---

S 4.1.
>>      document.
>>
>>      For privacy and security reasons, the UA MUST NOT include the SIP URI
>>      parameters defined in this document in non-REGISTER request, to
>>      prevent the PNS information associated with the UA from reaching the
>>      remote peer.  For example, the UA MUST NOT include the SIP URI
>
>For non-SIP experts, why is this not an issue with REGISTER?

The REGISTER will only reach your registrar, it will not be forwarded to the remote peer.

>Please say so.

Ok.

---

S 5.2.
>>      If the UA has indicated, using the 'sip.pnsreg' media feature tag,
>>      that it is able to wake using a non-push mechanism for sending
>>      binding-refresh REGISTER requests, if the proxy does not receive a
>>      REGISTER request prior to 120 seconds before the registration
>>      expires, the proxy MAY request a push notification towards the UA, to
>>      trigger the UA to send a REGISTER request.
>
>This paragraph needs to be rewritten in some way that is not so
>conditional dense.

There are only two conditions, aren't there?

>No.
>
>When a proxy receives:
>   If the proxy considers
>   If the proxy considers
>   Similarly, when the proxy receives [not sure about the indent on this one...]

Ok, I will have a look.

---

S 5.2.
>>      UA expects to receive push notifications from the network.  A proxy
>>      will not request push notifications towards a UA that has not
>>      provided a pn-prid SIP URI parameter.
>>
>>      If the proxy receives information that a registration has expired,
>>      the proxy MUST NOT request further push notifications towards the UA.
>
> Again, how would it receive such information?

E.g., using RFC 3680 - or some other mechanism. As different networks and architectures might use different mechanisms for updating its nodes about the registration status, we don't want to mandate a specific mechanism.

>You need to say something here about how that's out of scope. Otherwise, people just
>go hunting through the text for it.

The first paragraph of section 5.2 does say it is out of scope.

---

S 5.3.1.
>>      registrar too short, the proxy MUST NOT insert a Feature-Caps header
>>      field with a 'sip.pns' feature-capability indicator in the response,
>>      and the proxy MUST NOT request push notifications associated with the
>>      registration.  A registration expiration interval MUST be considered
>>      too short if the interval is smaller than the time prior to
>>      expiration that the proxy would request a push notification.  The
>
>What does this text mean?

If the registration interval is considered too short, a proxy will not enable SIP push.

For example, assume a proxy would send a push notification 30 seconds prior to registration expirations.

Now, if the registration expiration interval is only 20 seconds, it would not work.

I don't think this will ever happen in real life, but people wanted this text.

>OK, but it should be rewritten so it's clear.

I will see what I can do.

---

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.

---

S 10.
>>      by two values, separated by a period (.): Team ID and Topic.  The
>>      Team ID is provided by Apple and is unique to a development team.
>>      The Topic consists of the Bundle ID, which uniquelly identifies an
>>      appliciation, and a service value that identifies a service
>>      associated with the application, separated by a period (.).  For VoIP
>>      applications the service value is "voip".
>
> What is the syntax of these params?

The details can be found in the PNS specific documentation.

>These do not appear to be normative references. I at least need to know enough about
>the structure to know what to expect.

There was another sec-dir/gen-art comment asking to add the web links to the reference section.

I will to that, but I have not yet found the XML way of doing it.

Regards,

Christer