Re: [sipcore] sip-push Discussion Points - Adam's issue on proxies knowing what downstream proxies support

Christer Holmberg <christer.holmberg@ericsson.com> Mon, 14 January 2019 18:27 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 5D7E91311FF for <sipcore@ietfa.amsl.com>; Mon, 14 Jan 2019 10:27:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.854
X-Spam-Level:
X-Spam-Status: No, score=-8.854 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com header.b=D/DYTxRJ; dkim=pass (1024-bit key) header.d=ericsson.com header.b=k9iFMdJ4
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 LAtPMdZ7pNsD for <sipcore@ietfa.amsl.com>; Mon, 14 Jan 2019 10:27:21 -0800 (PST)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (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 3084A1311FE for <sipcore@ietf.org>; Mon, 14 Jan 2019 10:27:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/relaxed; q=dns/txt; i=@ericsson.com; t=1547490439; x=1550082439; 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=cdnDYS6qNQX2gESh+KfVYxVCZhygvmZXtRMBoKosa2w=; b=D/DYTxRJZSd1EY7UMTI7CkCOz7AJJop3OLgYjluIONAMBadKV0afpBs4ZasJv47e DLIOmBb0mCfU/x+ME/ht+SIp6/m0QoYroa3LQyE3zfaVZOMP89LvWbKXSRHEQXzW c2MHi9xb71psYQcMpCNcDt4hnYFNFKF1W2GDFVucZcE=;
X-AuditID: c1b4fb3a-5c9c29e00000672c-06-5c3cd48706de
Received: from ESESSMB501.ericsson.se (Unknown_Domain [153.88.183.119]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id E9.99.26412.784DC3C5; Mon, 14 Jan 2019 19:27:19 +0100 (CET)
Received: from ESESSMR505.ericsson.se (153.88.183.127) by ESESSMB501.ericsson.se (153.88.183.119) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 14 Jan 2019 19:27:19 +0100
Received: from ESESSMB505.ericsson.se (153.88.183.166) by ESESSMR505.ericsson.se (153.88.183.127) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 14 Jan 2019 19:27:18 +0100
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (153.88.183.157) by ESESSMB505.ericsson.se (153.88.183.166) 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, 14 Jan 2019 19:27:18 +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=cdnDYS6qNQX2gESh+KfVYxVCZhygvmZXtRMBoKosa2w=; b=k9iFMdJ4fjalymW2Eblo2Un4agUq7vO6qSGqYxYTU99j4EJ9VsFGPmRgSXPPGFBoa4i/OAH69g6qXtF8Hd78MxoI5X3/f2LOb9CmEfoYZG8T30+DvUWxa8HR3PwVR+K4nHk5pgVmApZjpe4Yyxg1S2J5laTdqGqaSjkggh6nEwM=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB4331.eurprd07.prod.outlook.com (20.176.167.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1537.18; Mon, 14 Jan 2019 18:27:17 +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.1537.018; Mon, 14 Jan 2019 18:27:17 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>, "sipcore@ietf.org" <sipcore@ietf.org>
Thread-Topic: [sipcore] sip-push Discussion Points - Adam's issue on proxies knowing what downstream proxies support
Thread-Index: AQHUqnE92N288fDsQkGGgPjG0KN7FqWr6BuAgAFP94OAAcwygIAANe6A
Date: Mon, 14 Jan 2019 18:27:17 +0000
Message-ID: <AA957DBC-A8DD-4E0E-A9DC-67216754476D@ericsson.com>
References: <77D165C7-7501-4EE3-A89E-3E3D8349CB9C@nostrum.com> <HE1PR07MB31618557C1E7347DCE4C2E7D93860@HE1PR07MB3161.eurprd07.prod.outlook.com> <57ab305b-1a00-7df3-0370-10f82cf2c9a7@alum.mit.edu> <HE1PR07MB316198B66E9FE97123F1DDA293870@HE1PR07MB3161.eurprd07.prod.outlook.com> <c04de831-dcaa-38a8-c15b-e260f8776185@alum.mit.edu>
In-Reply-To: <c04de831-dcaa-38a8-c15b-e260f8776185@alum.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.14.0.181208
authentication-results: spf=none (sender IP is ) smtp.mailfrom=christer.holmberg@ericsson.com;
x-originating-ip: [89.166.49.243]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; HE1PR07MB4331; 6:O8Veb7DEe/MCLZVinc0pbXfrPHu6L69bapCHDdk/Ue5LmLV1zOAOGs3zGYZcO40z1CF/TquBCM3w3zAyIjTyfkSB431GBNK6FPcwJHqoA4sJ3z3RKGyYQbaKn+EpabYun9uqG8GEYZOYfP9fiU+O0zrSv4xz8GKPIQ5SIzvpF6v9ttxZWhlc+As6u2DO0zMjKoC7wg+oQ1hSu7DNaZj6yrVz0PW68DEssrsnTNP6ctD+XzI60H1yvZZOOQYCS5uNsrAqv3dzJvpciQZdfTQYJRooThtzVq/ZQtx2MfSPwjLdNu4mK4RjY5+GkvCozYfVq7t7upkhdAfTajTU8tjuQaq+v65sy2aXcm5Yji2LEp6PmPC9hlKY8+NEo8sB/JDn6kgc1HpJXHlQG5IUMxFoleiWS3xZD6CcorXtGwx3Rd5z9Iz2HNpXP78km9dJqe780rQ6Xo98dcj+qWVaV9JtYA==; 5:Om837ekxNYtJ6yZSWcBw7nblLdguNpGeczcLsGu9XiFAQQoOGK/Zv0ZchQ3qxjZa3Csv4d0ZepqVJxAKtQ+7b4mCrgSY8fIGh9j7krHaUKL31et/A4TNDUtbM9b4FTpLLLeHntZixrsyqfvf5LIRgDgM6vRrN1djtMEizcCPe9RQbMnokLyBdcAyKPh9uS/03t1fQoThhNflTAjb9viLGw==; 7:LavUSdDH9RJTEKcyxCIXzbWOPt8rmqFhyGIP+cgG1dEqz1nuU4E8UOkFvHhufxxh03rF1zxoZX5w7ds2G/DeuAYjZAzviTVrSVqdRKmTimYpEe018YphuLjMWXmKF1Do+GIdnlLf+rQOUMJn31mAGQ==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: f6cfbe80-f40d-4181-9a23-08d67a4dea0f
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(2017052603328)(7153060)(7193020); SRVR:HE1PR07MB4331;
x-ms-traffictypediagnostic: HE1PR07MB4331:
x-microsoft-antispam-prvs: <HE1PR07MB4331BDE44015F6F648C817DE93800@HE1PR07MB4331.eurprd07.prod.outlook.com>
x-forefront-prvs: 0917DFAC67
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(39860400002)(136003)(366004)(396003)(199004)(189003)(476003)(486006)(53936002)(99286004)(11346002)(25786009)(106356001)(2616005)(44832011)(6246003)(2906002)(2171002)(2501003)(58126008)(102836004)(82746002)(110136005)(68736007)(93886005)(86362001)(6436002)(76176011)(256004)(26005)(14444005)(6506007)(316002)(105586002)(14454004)(97736004)(446003)(6486002)(186003)(8936002)(229853002)(5660300001)(7736002)(6512007)(71200400001)(71190400001)(36756003)(305945005)(478600001)(66066001)(83716004)(33656002)(81166006)(3846002)(81156014)(6116002)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB4331; H:HE1PR07MB3161.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-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: KHq8kezLPIU5wSLshUDErx6e0ru7SmQ2SfCa1Tc9UhPXKkThgKeFZmd6yDTeMfgr3hbDaxMnsSMybOwOWSBJ9Du4XkwWA6Y8aGLdEZBJVaUGVu3pxGTiJcKX4pVs/v15SGYFlpmR6Td829IFe/o20qMP22hslXVrvcc9WcUrvF5ywHXQbEz/uZ2n9DeYDqH/eROzr+CFP6eQqB/GIRjR/UoQrI8z0wq+63BNBLp8cD+UE5DZZ0D5/vhCZsoxQj1hXllj4P7RgjJxgqdG2pRbEHBsGjLd1NTFUVP5oUEVljhc/H+3eqBb+2anNfAjy20mbUY7jFxUUaKnevTuN7oCZ98CxCAQwRth0vwtWRVi4Qr54cQDtROsTLkRS/SDYDvKWCefpAz6nYXqRbXtl5Z+VCtm15Q7CcXGo3XpJeJ48DQ=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <7C928C2CCCAB1B4B80D165C60192F0F5@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: f6cfbe80-f40d-4181-9a23-08d67a4dea0f
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2019 18:27:17.5423 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB4331
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAKsWRmVeSWpSXmKPExsUyM2J7uW77FZsYg12HhS1WbDjAavH1xyY2 ByaPv+8/MHksWfKTKYApissmJTUnsyy1SN8ugSvj8Y/7bAX7dCr29P5ia2Bco93FyMEhIWAi 8XZFSBcjF4eQwBFGiQm3/rNDON8YJbpPXmWFc/Ze3Q6VWcIkcWDRfKYuRk4OFoEJzBJbLwdD JCYzScw//p4NwnnEKHFj604mkCVsAhYS3f+0QRpEBAIlri6ZwAxiCwuUSiycN4kVIl4m0fR7 DZTtJtGx5TQbxAJVic3HjrCD2LwC9hIrrkHYQgIXmCQWvEoEsTkFHCTuX37PAmIzCohJfD+1 Buw4ZgFxiVtPIA6VEBCQWLLnPDOELSrx8vE/sF2iAvoSDz4dYIfoTZTYv+oBVI2ixNl3D6F6 ZSUuze9mBPlLQqCJXWL2g1WsEAldiQ9Tp0I1+Eq87p3FClF0ARiSrRehEloSn6/cgLKzJV4v Wglly0hc+7yIdQKj4Swkx84ChhezgKbE+l36EGEPiWVrJ7JC2IoSU7ofss8Ch4WgxMmZT1gW MLKuYhQtTi0uzk03MtJLLcpMLi7Oz9PLSy3ZxAhMJwe3/LbawXjwueMhRgEORiUeXstLNjFC rIllxZW5hxglOJiVRHjLnIBCvCmJlVWpRfnxRaU5qcWHGKU5WJTEef8ICcYICaQnlqRmp6YW pBbBZJk4OKUaGFm994iqOkkalk+Y23HG8rv+zOVXc74sOXmqyihgn4D2gyUS4dZ/75yxO/RR meVT8DmlK41XJr/6Yq6ZO+WovnvE/dOTA3/eLH4m8PPP4pgnsyc8XfQ31cqY7d57WXafHfd3 GAQeZ0wp3rfNRCr+d8dd1WJ3NQ322+uEV11Knn1m/8qVi3OTas4rsRRnJBpqMRcVJwIARypR xyMDAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/LG9zJsSWU87IFv8R9I9syS2qTiE>
Subject: Re: [sipcore] sip-push Discussion Points - Adam's issue on proxies knowing what downstream proxies support
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, 14 Jan 2019 18:27:24 -0000

Hi,

    >>>> I have already created threads for a couple of the issues listed by Ben.
    >>>> I will create separate threads for the other ones. This one covers 
    >>>> Adam's issue regarding proxies knowing what downstream proxies support.
    >>>> 
    >>>> -What is it about?
    >>>> 
    >>>> The text allows a proxy to forward a REGISTER request to another proxy, 
    >>>> if it "knows" that is supports a PNS supported by the UA.
    >>>> 
    >>>> Adam asked how a proxy would know.
    >>>> 
    >>>> -What do I think?
    >>>> 
    >>> > The knowledge is done by operator configuration, but I agree that is not
    >>> > clear in the text.
    >>> >
    >>> > -What do I suggest?
    >>> >
    >>> > Add text clarifying that the knowledge is based on operator configuration.
    >>>
    >>>Features that require configuration are burdensome and prone to error. A
    >>>mechanism that doesn't require it is preferred.
    >>>
    >>>Without going into detail, ISTM that a mechanism can be devised that
    >>>doesn't require this knowledge. But this first requires deciding who
    >>>should choose when multiple PNSs are supported by both client and 
    >>>proxies/registrar.
    >>>
    >>>One possibility is to use one round trip to discover what PNSs are 
    >>>supported by proxies on the path. Then the client can choose one, 
    >>>initialize just *that* PNS, and then another round trip to enable that 
    >>>choice.
    >> 
    >> This is basically how it already works. Note that the suggested change 
    >> applies to "query mode", where the UA does *not*  provide a PRID, so no 
    >> PNS will be "enabled".
    >
    > Ah! I didn't catch that point.
    >
    >> Then, when the UA wants to enable a PNS, it sends a *single* PRID, 
    >> associated with the PNS it wants to use - as currently specified.
    >
    > OK, that seems reasonable.
    >
    >> Now, I have no problem with allowing multiple proxies to indicate 
    >> support of one or more PNSs (or a single proxy indicating support of 
    >> multiple PNSs) in query mode, if people think that would be useful. That 
    >> would mean adding one Feature-Caps header field per supported PNS.
    >> 
    >> So, in query mode, a REGISTER 2xx response could look something like:
    >> 
    >> Feature-Caps: +apns
    >> Feature-Caps: +fcm
    >> Feature-Caps: +webpush, vapid
    >
    > And then the UA gets to choose. Sounds good.
    >
    >> However, I still want to allow a proxy to send 555, if it "knows" that 
    >> no downstream proxy will support any of the PNSs indicated by the UA. 
    >
    >While I have no problem with this if the proxy truly knows, I'm not 
    >inclined to trust a proxy's judgement on this point. It will be pretty 
    >tempting for implementations to simply *assume* they are the only one 
    >and always send the 555. Do we expect that there will be adequate 
    >motivation for proxies to do this right?

    I don't it will work based on the proxy's judgement - proxies will be configured whether to send 555 or not. We also say that the sending of 555 is based on local configuration.

    >> The reason is to avoid the REGISTER to reach the registrar and cause a 
    >> registration that won't be needed (since there is no common PNS 
    >> supported by the UA and any of the proxies).
    >
    > I understand the desire to optimize here, but it is likely to be an 
    > almost insignificant optimization. It will save *one* registration, but 
    > when using PUSH there will most likely be *many* subsequent 
    > push-triggered registrations. Is it worth the bother and complexity?

    It is not about the number of registration messages, but the fact that in some networks each registration consumes resources. And, if no proxy supports the UA PNS, there is no reason to create a registration for that UA, since it anyway won't be able to receive incoming calls.

   And, this is not new text - the option to either forward the request or send 555 has been there all the time.

    Regards,

    Christer