Re: [sipcore] AD Evaluation of draft-ietf-sipcore-sip-push-20 - Ben's technical comments

Christer Holmberg <christer.holmberg@ericsson.com> Fri, 30 November 2018 21:05 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 3695713103B for <sipcore@ietfa.amsl.com>; Fri, 30 Nov 2018 13:05:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.761
X-Spam-Level:
X-Spam-Status: No, score=-5.761 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.46, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com header.b=DDxh3kbD; dkim=pass (1024-bit key) header.d=ericsson.com header.b=THsHkgiB
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 Xr1ml2GFG5KO for <sipcore@ietfa.amsl.com>; Fri, 30 Nov 2018 13:04:59 -0800 (PST)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (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 375DF131007 for <sipcore@ietf.org>; Fri, 30 Nov 2018 13:04:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1543611896; x=1546203896; 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=bZ5luwEzFXJFsHhT12tkO2t8xbnO2XzBbUWSb4yiCJA=; b=DDxh3kbD0HPV3qDValOZY+ZzCMd3wJs6m0AMB88LlKTmkgTP1ytFR3T1Lbuq+luL O5TxQ/3qo99+nOb63E3uL/SOnsImW1Kh3JnJmBNDJvTL+uMawL2GSS2tjqvGMwM4 f5fCSzkLSEeLynJeN8uY8ow7bFMk74eoLPRUaQkPEF0=;
X-AuditID: c1b4fb25-a68609e00000191f-0a-5c01a5f897c3
Received: from ESESSMB505.ericsson.se (Unknown_Domain [153.88.183.123]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id A5.29.06431.8F5A10C5; Fri, 30 Nov 2018 22:04:56 +0100 (CET)
Received: from ESESBMR502.ericsson.se (153.88.183.134) by ESESSMB505.ericsson.se (153.88.183.123) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 30 Nov 2018 22:04:55 +0100
Received: from ESESBMB505.ericsson.se (153.88.183.172) by ESESBMR502.ericsson.se (153.88.183.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 30 Nov 2018 22:04:55 +0100
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB505.ericsson.se (153.88.183.172) 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; Fri, 30 Nov 2018 22:04:55 +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=bZ5luwEzFXJFsHhT12tkO2t8xbnO2XzBbUWSb4yiCJA=; b=THsHkgiBtTwN2ZQN8TvBwq1DgHanRvEx+X107TID3za7h9i/8RnoaIozfSyWEfkziSfo92Dw5uHxZfkc0oGOmOlxWkrctHff8iyCrHfzMr1w1+pPyb54rFanTACj51ciPvzvN7a8ycNKC0NG6jbJ1GOlhOt99ca8uRNQkvR5SmA=
Received: from AM6PR07MB5621.eurprd07.prod.outlook.com (20.178.91.14) by AM6PR07MB4775.eurprd07.prod.outlook.com (20.177.39.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1382.6; Fri, 30 Nov 2018 21:04:50 +0000
Received: from AM6PR07MB5621.eurprd07.prod.outlook.com ([fe80::a5dd:4302:feec:e113]) by AM6PR07MB5621.eurprd07.prod.outlook.com ([fe80::a5dd:4302:feec:e113%3]) with mapi id 15.20.1382.020; Fri, 30 Nov 2018 21:04:50 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Ben Campbell <ben@nostrum.com>
CC: "draft-ietf-sipcore-sip-push.all@ietf.org" <draft-ietf-sipcore-sip-push.all@ietf.org>, "sipcore@ietf.org" <sipcore@ietf.org>
Thread-Topic: AD Evaluation of draft-ietf-sipcore-sip-push-20 - Ben's technical comments
Thread-Index: AQHUiHytmojzzmIlHki0KLFKIQ1gbqVoiJIAgABfvgA=
Date: Fri, 30 Nov 2018 21:04:50 +0000
Message-ID: <420E89E0-1E52-4520-88B4-115CF60E2C21@ericsson.com>
References: <E8AB5B39-4546-4D73-82C8-1E7744D8D17C@ericsson.com> <D7AD3CBD-AA9C-4CB9-B41A-9BE1EA25CEE4@nostrum.com>
In-Reply-To: <D7AD3CBD-AA9C-4CB9-B41A-9BE1EA25CEE4@nostrum.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.13.0.181109
x-originating-ip: [89.166.49.243]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM6PR07MB4775; 6:NY4cSRWbs8AkyCVI3Kve7515EKuKS00a9J68F+Muq2mQDkzAb6VJDs52UUTiOan8nJqzJdQnEPQXki56QLuhkqjDngWe7MITA66diBgtfpnpa4zPY+y/JjsQYQlq1hvGLoih5Z28mcSgzozhnJUohsAle3pw+pIDf+ccg0nHasKaw8PUwPCG7DfASokH02IxgY1KPwXqjOR+dBsT1F8KM4n7icUIY69mKbG8K9X2jXss8kxfd8H2NSq4xuBcd7q7gBjPro+G/f+0xgIAKHMQAzH4/0zF+QzW6lvF51mH3bJZ51qgz0x0ne+XIgYz9bhFyHARVglRSYIuVxd3hsSDC8bpkyoYGl4M5lgYquUOG2io9o8puG9oYq7JCLlHTjJIjgvxry0DCBP3VESGALarFWuF/nQhaNtzzZet9ZodZu+mC2N9+BNnvhaA59zQQOQcmb+8fCDXI0K5R4OqT4S9sg==; 5:OTBG6jwTCs168I/M/a8/Fg7rp1dl42+EEe9u29wLCix8LgToIOVRTHhjmivgaMCcNQPzLYPSz5vFdjhR1IXamFGG/JP/qqWYJvdY+Bfov+bmtt5oeaJe/HXLO4aX8lgpaH3/y7NbJuxDLXiSYw96NP/DUWrMt6Q61aqXCE8QsIA=; 7:jLBXMazHDhbKFkLsSEcKGd9MVCPRqG/+HbPsnq4zKyUJtRTvuO+oxc+Ui/4h9Oyoahnpcli/eJtK3WhJ5rQg/noAvZSeg/+QMNCOeZxUVAjaantQ1ia+TkbOS/ds54fGA3LHrdyk9AnKSCwSRyLkjA==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: e863c015-18a6-41a9-1b3b-08d6570777c2
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:AM6PR07MB4775;
x-ms-traffictypediagnostic: AM6PR07MB4775:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=christer.holmberg@ericsson.com;
x-microsoft-antispam-prvs: <AM6PR07MB47756C1875F61A5F90E818AE93D30@AM6PR07MB4775.eurprd07.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231453)(999002)(944501468)(52105112)(93006095)(93001095)(10201501046)(3002001)(148016)(149066)(150057)(6041310)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:AM6PR07MB4775; BCL:0; PCL:0; RULEID:; SRVR:AM6PR07MB4775;
x-forefront-prvs: 087223B4DA
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(366004)(346002)(39860400002)(396003)(376002)(199004)(189003)(51444003)(6916009)(8936002)(83716004)(71200400001)(71190400001)(14454004)(256004)(14444005)(6116002)(3846002)(36756003)(186003)(6506007)(6486002)(25786009)(2906002)(26005)(6436002)(229853002)(102836004)(81166006)(81156014)(8676002)(82746002)(68736007)(478600001)(97736004)(99286004)(4326008)(316002)(66066001)(476003)(2616005)(44832011)(76176011)(446003)(11346002)(86362001)(486006)(53936002)(551934003)(6512007)(58126008)(54906003)(7736002)(106356001)(305945005)(6246003)(5660300001)(33656002)(105586002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR07MB4775; H:AM6PR07MB5621.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: 8eui2qU9p5Uuu8bLA68+MwjfZOLXBv9bxX1bhWbznyAxAfx4VoKPLbZ4ZxMh2/7mwX7ssco9eif3sQUOhkia1YSdhpX1yTGRTs4nruGmYNDpm08V9hQzXna5JuKrh38da2GemhKRLeML3Psv78nl72MiG3xTrcADtZHLoNj7PnQwKawUdBOIcMsLsmdw0KGinDTz66RtRScNW++c7dA7EMtwTF/M4g1xW91ZWVPuvoUeIy5q/oGcuhDuEAg3GgIDhMHaqAiExiE6bx2ONfLo12Cr3/JmKudW7yXMH4Da0WSi3HmP1Der+i14a8p1ZVqblRBiX21PwWCgR5H0aZSeaPPQ6MzjIuxsirgaSnUAWGU=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <CF189EE7D1F4C7468D2CB4858789566D@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: e863c015-18a6-41a9-1b3b-08d6570777c2
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Nov 2018 21:04:50.3980 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB4775
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02Sa0hTcRjG+Z9zth1Xi3/L5YvSB0cSGl5qlhJWFkV+0Aj9YIlWJz2oqFN2 lmYFamakI/MaKpYLpoSI4iw18ToUdeYlJYPCcDYqQ7xltm6rnR2Dvj3v83vO+39eODQpLxe5 08lqLatRM6lKsZSqPt9xw9dWj2IDPrQrgusKxyTBS+2jKPirzSgOJcMMhu9EWM1zK3WOiJGG JLCpyZmsxv/YZWlSQUWtKONR0LW18k0iF306VIRcaMCBYJ3qp4qQlJbjQQRN4z0SHsjxJoLC YTcBOLTtZS8pDAYCJtfGCX6gcAkJY+9WxAIpJaCib2JrWEAwZZpARYimxTgYdPb9/F5XrISP +c+cD5L4NoKRgW4xD3bhCzC//pYUQjFQXLxO8d+64iNgy1PxNoW9YLltmuC1DB+HOy/yxUJX LUwPNzt7uzj8sqU/zjUI74Zv5iZnnsRu8MZaRwhHYzB0T5KCVsDie7uI1wrsDwXm+xLB94Tx ZctWfg9M1+kQ3xnwrBhm+vVbwBdWKysdiyQOHQG6w0JkCsFG06BIiPiAecEoEfow0Nc4T/Jn AU6Bceu+EqSq+a9djYOQ2BtauvwFOwwa6quQoD2hQmeR1DiP3wmj1VZKj0SNSMGx3JW0xIMq P1aTHM9x6Wo/Nas1IsevMvD0p1cnmlk6YUKYRsrtsp4HKFYuYjK57DQTAppUusqMNx2WLIHJ vs5q0i9prqaynAl50JTSTWYJaouR40RGy6awbAar+UcJ2sU9F23rmAg/tdeymD/XezInxP5E saTVKzwio+pXOidmGbvPwx1m2Zl7Q1om4tXvzsT1zixRa8/ql/By/7O3bOYgr6O1Wa/1UXEX u/IapfF5SQtxoQHQomqVKDJ+bCRytobIUlfD57Ih/S8iI3COSzBF73s80ux+Ogcp16os3nej 45UUl8Qc8CE1HPMX1En+lCYDAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/Yb_LMaJfK9oAxERM_x09h695Pbg>
Subject: Re: [sipcore] AD Evaluation of draft-ietf-sipcore-sip-push-20 - Ben's technical comments
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: Fri, 30 Nov 2018 21:05:06 -0000

Hi,

I saw that Paul replied on the “Expires” issue, so I will reply to his e-mail on that issue.

---

>>>-6th paragraph: "REGISTER request will create NAT bindings..."
>>>
>>>  If we talk about creating NAT bindings as one of the purposes of the push-triggered REGISTER, we may also need to 
>>>  think about the lifetime of those nat bindings, and how that interacts with the REGISTER expires value. I'm not sure we 
>>> want to go there; would it make sense to remove the mention?
>>
>> I am not sure that is needed in the context of PUSH, since the NAT bindings only need to be alive in time for the request that triggered the push notification to reach the UA. Next time there is an inbound SIP request, the REGISTER triggered by the push notification associated with the request will create a NAT binding (if the previous one has expired) for that request.
>
> A one line comment to that effect would be helpful.

I suggest adding the following:

“NOTE: The lifetime of any NAT binding created by the REGISTER request only needs to be long enough in order for the SIP request that triggered the push notification to reach the UA.” 

---

>>> - 7th paragraph:
>>> --  The first sentence seems to still assume the REGISTER has as single contact. Should it say to insert the tag into each 
>>> contact header field? (but see general §4.1 comment above.)
>>
>> What sentence are you referring to?
>
> Sorry, it’s the 8th paragraph: "If the UA is able to send binding refresh REGISTER requests using a
> non-push mechanism (e.g., using an internal timer that periodically wakes the UA), the UA MUST 
> insert a ’sip.pnsreg’ media feature tag [RFC3840] in the Contact header field URI of each REGISTER request"

I will fix as suggested (“insert a tag in each Contact header field”).

---

>>> Along those lines, what is the PUSH proxy expected to do with inbound SIP requests that do not contain the parameters 
>>> in the R-URI? Route them normally? Reject them?
>>
>> I think that is an implementation issue. If the proxy also handles non-PNS calls, it would forward the request using normal procedures.
>
> A brief mention of that would be helpful.

I suggest the following:

"NOTE: If the SIP request does not contain the pn- parameters, the proxy processing of the request is based on local policy, e.g., depending on whether the proxy servers requests towards UAs that do not use the SIP push mechanism, in which case the proxy will forward the request using normal SIP procedures. Otherwise the proxy might reject the request."
 
---

>>> §6: Is support for push-notifications on mid-dialog requests optional? If so, please state that up front.
>>
>> If one wants to support longlived SIP dialogs, one obviously will have to implement section 6. I am not sure we need to say something.
>
> I’m more concerned about whether an implementation can choose _not_ to support long-lived dialogs. I assume 
> so since there’s a separate negotiation. All I’m looking for is the word “optional” somewhere early in the section :-)

An implementation can choose not to support a feature no matter what the spec says :)

What about adding the following to the end of the first paragraph:

"The procedures in this section are optional to support, but MUST be supported by proxies that will deployed in SIP networks where the type SIP dialogs described above might occur."

---

>>>  §6.1.1: Does the UA indicate support on a per-dialog basis? That is, it can support the mechanism for some dialogs but not others?
>>
>> It could be per-dialog basis. The text says: "if the UA is willing to receive push notifications triggered by incoming mid-dialog requests”.
>
> I assume that if the UA indicates support in one dialog-initiating transaction but not another, that the proxy should not assume 
> that it supports mid-dialog push in both transactions. If that’s a correct assumption, it would be helpful to explicitly state it.

I suggest the following:

"NOTE: As the 'pn-purr' SIP URI parameter only applies to a give dialog, the UA needs to include a 'pn-purr' parameter in the 
  Contact header of the request or response for each dialog in which the UA is willing to receive push notifications triggered by incoming 
  mid-dialog requests."

(Related to that, I noted that the purr parameters are missing from the grammar, IANA section etc. I will fix that.)

---

>>>  §9, 1st paragraph: We are talking about a specification that defines the parameter usage for the given PNS, not the PNS in it's entirety, right?
>>
>> Yes. I suggest to say: "defines the usage of the associated PNS". Because, the parameter itself only identifies the PNS.
>
> You said “Yes”, which I take to agree that we don’t require a spec for the PNS itself, but then you said “defines the usage of the 
> associated PNS”, which does sound like a requirement for a spec of the PNS itself. So I’m confused :-)

You do need a spec that defines how to use the PNS, but you don't need to details on how the PNS is implemented etc.

Regards,

Christer