Re: [sipcore] Alexey Melnikov's Discuss on draft-ietf-sipcore-sip-push-21: (with DISCUSS and COMMENT)

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 09 January 2019 14:09 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 99B2712426E for <sipcore@ietfa.amsl.com>; Wed, 9 Jan 2019 06:09:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.954
X-Spam-Level:
X-Spam-Status: No, score=-6.954 tagged_above=-999 required=5 tests=[DKIMWL_WL_HIGH=-4.553, 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=caGAONmn; dkim=pass (1024-bit key) header.d=ericsson.com header.b=eEuLcUoU
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 EHCDls34bBOc for <sipcore@ietfa.amsl.com>; Wed, 9 Jan 2019 06:09:25 -0800 (PST)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (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 F3EF71228B7 for <sipcore@ietf.org>; Wed, 9 Jan 2019 06:09:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/relaxed; q=dns/txt; i=@ericsson.com; t=1547042963; x=1549634963; 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=NaMlJh+AO8G/OBAkGol0Qw9I+turUuCcc8770Nswqxk=; b=caGAONmnrb/viHWb4BhbKpynlFfAaRm7svoSW9pE8lP65n5+9uU2mM2ZY/Q+HbEV BUEkLlsIf1xkTwkP01nr9E4BcwQY0D1B0pQPWLQUrShBXfp/R6/LBdTIbEb/5+kR Aix9t5XkWkm3BAdzrrCX696wQ03dCFWOCimppD++HJU=;
X-AuditID: c1b4fb2d-d9dff7000000062f-a8-5c360093c8bb
Received: from ESESBMB502.ericsson.se (Unknown_Domain [153.88.183.115]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id FA.F0.01583.390063C5; Wed, 9 Jan 2019 15:09:23 +0100 (CET)
Received: from ESESBMR506.ericsson.se (153.88.183.202) by ESESBMB502.ericsson.se (153.88.183.169) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 9 Jan 2019 15:09:22 +0100
Received: from ESESBMB503.ericsson.se (153.88.183.170) by ESESBMR506.ericsson.se (153.88.183.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 9 Jan 2019 15:09:22 +0100
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB503.ericsson.se (153.88.183.170) 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; Wed, 9 Jan 2019 15:09:22 +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=NaMlJh+AO8G/OBAkGol0Qw9I+turUuCcc8770Nswqxk=; b=eEuLcUoUVeEAiB5UtbRgo7E7RuYu2bNdD2tqlkEfk5Rv5bKcvDO27H8FU/m9vALBpTeSjqBsQMA7xP2c8tGdHtYHiTyD+O5e9OZr5SRiGgFds/LNz8s2lDlSQi9DStdu73KMlBnnVM0NmfYCfHYtw8AiT5qWgUNkg/yVeCiHLZc=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB3513.eurprd07.prod.outlook.com (10.170.247.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.4; Wed, 9 Jan 2019 14:09:21 +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; Wed, 9 Jan 2019 14:09:21 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Alexey Melnikov <aamelnikov@fastmail.fm>, The IESG <iesg@ietf.org>
CC: "draft-ietf-sipcore-sip-push@ietf.org" <draft-ietf-sipcore-sip-push@ietf.org>, Brian Rosen <br@brianrosen.net>, "sipcore-chairs@ietf.org" <sipcore-chairs@ietf.org>, "br@brianrosen.net" <br@brianrosen.net>, "sipcore@ietf.org" <sipcore@ietf.org>
Thread-Topic: Alexey Melnikov's Discuss on draft-ietf-sipcore-sip-push-21: (with DISCUSS and COMMENT)
Thread-Index: AQHUqBLz5rv/kyLPA0K7YOhkM5TUrqWm4bJg
Date: Wed, 09 Jan 2019 14:09:21 +0000
Message-ID: <HE1PR07MB3161DEF01265C95C7FD9707A938B0@HE1PR07MB3161.eurprd07.prod.outlook.com>
References: <154703521377.7454.12348610753191573496.idtracker@ietfa.amsl.com>
In-Reply-To: <154703521377.7454.12348610753191573496.idtracker@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [192.176.1.75]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; HE1PR07MB3513; 6:8NulWuoQJwSGoe8NyKY3ELvLoPGZFJ6fR50HTlnxi6RPKZGonwaeF4ZMqFt36oCb1wvAoLulftAM9kTwTln16KszTkslZdCNsEoNFgtXT6BXd6JncTSeo5C1Dm/LhE+ikgR4p0Fr7xJV2rvnncww2lvBj0F7JkPYx4x0j9UweMO+ssiZuBdEAp/3zXpeYkAluWeK3jX8A2DgG0eq1TWL3uK+/mU1qtZ8F1TY1IF1y3Fe3x1qJfvKIfQsuOpVDCwNMHwA4gJHQBZD4keP4y2BiafPoR+b9okf8i/5Rsz2vmCoThv14yCoLWoPT8kIxMrRa/+6FRQgcaSrhOTUvhKan70k0487izSZrVYsYu9UP9e1AI8JCbDlXWFeOxPkdSC+IiXAgOpx4qJIlmRgFY8g0qXYfp1fINPRsOHkIlNdg8jZm0dQF1bHapZ5YO+lrTNrlci2/eZjNkKJHfzX29e3LA==; 5:j9jSpzdH1hh1w44tuwmNTndlhYfNQJwwyIGsaJ9hCHxe7PFZti0ZjsmpTHoh+dHjoUTek8pwRUnNFA9zR1VjV0ekW1JSDIxM+Q4IzJ6RqslrUlUyGMEG+THdtuWXad8uSfwJf5MSEiyXBcUyRMUDiBEASp0VIfEQcTSKGh2bRpUQtdz9J4rStoqmVhPpD2FjIRgzUTsdswsVEL3yJuVRRg==; 7:V5CeFX8lpSHW9UJuBJ5LuZYHgIu42ue3MvN8crP1ZsgO4iguHajonqCoLAJYIL5WPqCc+aEndKm+UpgHJH0FLSrnnakL+9KV5X1gl6b8uqcENodvQQWu2mXF+t50WrKLkHjO31w6D7fwEbste7ms9w==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: f822ab6f-a8ed-4fc6-8c6f-08d6763c0d4a
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(2017052603328)(7153060)(7193020); SRVR:HE1PR07MB3513;
x-ms-traffictypediagnostic: HE1PR07MB3513:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=christer.holmberg@ericsson.com;
x-microsoft-antispam-prvs: <HE1PR07MB3513EA6156EC47B957614B74938B0@HE1PR07MB3513.eurprd07.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(3002001)(10201501046)(3231475)(944501520)(52105112)(93006095)(93001095)(6041310)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:HE1PR07MB3513; BCL:0; PCL:0; RULEID:; SRVR:HE1PR07MB3513;
x-forefront-prvs: 0912297777
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(346002)(366004)(136003)(39860400002)(189003)(199004)(54906003)(4326008)(110136005)(105586002)(8676002)(99286004)(14454004)(11346002)(256004)(14444005)(106356001)(97736004)(446003)(33656002)(316002)(486006)(476003)(55016002)(6506007)(102836004)(76176011)(68736007)(7696005)(186003)(25786009)(26005)(345774005)(478600001)(7736002)(66066001)(44832011)(9686003)(305945005)(53936002)(2906002)(6246003)(71200400001)(71190400001)(229853002)(5660300001)(86362001)(6436002)(8936002)(81156014)(74316002)(6116002)(81166006)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB3513; 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: xhqtn+al9ErWNQ4w42eqpZ54qpplMSeEHDe8BaGE83zzqyijUHVEng6h7TPFbGX3Zk/eEqXQwx5o2RieH45efx2kIrLiYjGQpBc6gIe81iqG8rEPY6JQ4oIQPvqiOjl0Jt4TQUiGgFO8HyM6yMFQV6cofr7tOETx+CFZn4xqdl+EehHRTLqgpJteUsFVI1r8Q63T9SMhEejwVXzeKcSCDBglIDdaDfWjKClgTPmv2b8LDStGo3/s+v/ujc8t4eXkQ23rtZ140dm0EJCZ+6YgG1nAW/JdUbw1I6DZ6FBJHVGt/FKIipTsr1mk3xtFFVp8
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: f822ab6f-a8ed-4fc6-8c6f-08d6763c0d4a
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jan 2019 14:09:21.0957 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3513
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02SaUhUURTHu++9efMcHby+NE+KGkMUuOZkOR/aNAi/KBZUYgM15XNBHW2e igqCaBZomrmmZWqauYuirYPLYIlGaNkiYeqUiTofylxK3PL5DPr2+5///557zuUyJHtPYsdE aOM4nVYTpaBlVEnQE94tf8dh9YEOvaWq64eBUH0fL6JVafMNhOrO6m1SlT1fSaoW/7TRJ2i/ 8aU1qd+zgW7ar7p6mQgkg2VHQrioiARO53Hskiy8zHSdiJ1wSNQ/b6ZTUZ1tJjJjAHvB6och lIlkDIt7EdQO3CUEg8WLCFqrtaKxyQ/7TKQoqggoHNRTgqBwLgm3Ot7QopNHwMjGNCEKI4L+ /NlNwTA0VkHWuouA1vgUGD/5CBESryGYWv9KCvftxKGQXTAsEdgah0Ht6GupmFfCg04klCm8 F8o2GiihLMdqKM0wFyf1h/SldlpgMxwALS1LW10Q3gW/Bxq3tiGxLXyeLCfElTFU6wdJkW1g 5tu6RGgJeA90tZ4Ryw7wrjxr61UAp0lh3DArEQ03+FlYuH3WH2Zac7ZDQwhMj7NpsZEzzDVG ijNooKt+YjsfCU252VIx/5aEirxJaS7yLP1vPpFdoeLFL1pkF6ipNJECy7EV9JdMUhWIqkc2 PMfz0WHKg+6cLuIKz8do3bVcXBva/DM97StuT1GDyceAMIMUFnL9yCE1K9Ek8EnRBgQMqbCW 7x/1UrPyEE1SMqeLuaiLj+J4A7JnKIWtfJW1UrM4TBPHRXJcLKf75xKMmV0qusk6KdNTlGcL WMa7PjLgJLOQZgwcux90OWl4YjenNI7XlJ1TNmUyTt1Vqh4vG44scPdVnu+dD76WODf9KDmC ny3aF74QaomKUy7UWVxN6xz74nr6VaVtwnLojLlsvXHq+I2V0KnS5pzOvsyPR1/6pni8d/TO iHds3pNo796RVKyg+HCNpzOp4zV/Ae+rWrEvAwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/svef7eQfIuHYxZfosknZ2WwPxRg>
Subject: Re: [sipcore] Alexey Melnikov's Discuss on draft-ietf-sipcore-sip-push-21: (with DISCUSS and COMMENT)
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: Wed, 09 Jan 2019 14:09:28 -0000

Hi Alexey,

Thank You for the review! Please see inline.

----------------------------------------------------------------------
DISCUSS:
----------------------------------------------------------------------

>I am generally excited about addition of push notifications to SIP.
>I have a couple of comments (and a few less serious ones) that I would like to discuss before recommending approval of this document:
>
>10.  pn-provider, pn-param and pn-prid URI Parameters for Apple Push
>     Notification service
>
>   When the Apple Push Notification service (APNs) is used, the PNS-
>   related SIP URI parameters are set as described below.
>
>   The value of the pn-provider URI parameter is "apns".
>
>   Example: pn-provider = apns
>
> Spaces are not allowed in URIs unencoded, so your example is misleading. I suggest you change it to "pn-provider=apns" (i.e. delete space before and after "=").
>
> Similar comment about 2 other parameter examples defined in this section.

Good catch. I will fix it (by deleting the spaces).

---

> 10.  pn-provider, pn-param and pn-prid URI Parameters for Apple Push
>     Notification service
>
>   The value of the pn-param URI parameter is a string that is composed
>   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.
>
> I assume it doesn't contain any periods?
>
>   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".
>
> How many periods are used in the value? If your example below is correct, can you clarify that Bundle ID itself contains periods?
>
>   Example: pn-param = DEF123GHIJ.com.yourcompany.yourexampleapp.voip

The Bundle ID part of the Topic typically contains periods. The Team ID, and the service part of the Topic, do not contain periods.

Note that the Topic is actually created by Apple, and I don't even know whether the Apple PNS needs to separate the Bundle ID part from the service part. And, as far as I know, we don't need to separate the parts in our proxy implementation. We do separate the Team ID from the Topic, but we know the first period is the separator (as the Team Id does not contain periods).

----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

>I am agreeing with Adam's DISCUSS.
>
>In 8.2:
>
>     pns-list        = pns *(COMMA pns)
>
> My understanding is that COMMA (defined in RFC 3261) allows folding whitespace, in particular CRLF. Do you really want this in values? It is Ok if you do, I just wanted to double check.

In the SIP syntax we are less strict than in some other protocols when it comes to folding whitespaces etc. The syntax above is very common in SIP.

---

>8.7.  SIP URI Parameters
>
>     COLON = <COLON defined in [RFC3261]>
>
> COLON is not used in this section or anywhere else in the document.

I have no idea how it got there, because as far as I can remember we haven't used COLON in any version of the draft.

I will remove it.

---

>14.4.1.  sip.pnsreg
>
>      Security considerations: This media feature tag does not introduce
>         new security considerations, as it simply indicates support for
>         a basic SIP feature. If an attacker manages to remove the media
>         feature tag, push notifications towards the client will be
>
> Is "not" missing before "be"?
>
>        requested.

Correct. I will add "not".

Regards,

Christer