Re: [stir] Review of draft-ietf-stir-rph-emergency-services

"Asveren, Tolga" <tasveren@rbbn.com> Sat, 10 October 2020 22:29 UTC

Return-Path: <tasveren@rbbn.com>
X-Original-To: stir@ietfa.amsl.com
Delivered-To: stir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C3A643A09DB for <stir@ietfa.amsl.com>; Sat, 10 Oct 2020 15:29:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.995
X-Spam-Level:
X-Spam-Status: No, score=-1.995 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=rbbn.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 h8on77klmbci for <stir@ietfa.amsl.com>; Sat, 10 Oct 2020 15:29:21 -0700 (PDT)
Received: from us-smtp-delivery-181.mimecast.com (us-smtp-delivery-181.mimecast.com [63.128.21.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9A6013A09D5 for <stir@ietf.org>; Sat, 10 Oct 2020 15:29:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rbbn.com; s=mimecast20180816; t=1602368960; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TZ2n6Mn8E8ytMRtXn4nPXP2ZBoo0m9Bo8UaotJ9lIkY=; b=GdA+ejJTXj+tmB035gSTVfniTm4zDbyu6jjE8EvZE6VrI3XhkLKc783adkENp/FGQLf+u5 scZSex20u0d0Yvy1xFJL9+Gp7j/yW325w+JkaSQN/FU5FGlsyX2Se9zgOAn3g93HWeBkM8 nknQC9N6ym0n58HA15WP5AuYF0FcXQ4=
Received: from NAM04-SN1-obe.outbound.protection.outlook.com (mail-sn1nam04lp2057.outbound.protection.outlook.com [104.47.44.57]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-254-gvOzXGW5PduchMQXS9y5Lg-1; Sat, 10 Oct 2020 18:29:17 -0400
Received: from BN7PR03MB3827.namprd03.prod.outlook.com (2603:10b6:408:23::13) by BN7PR03MB3427.namprd03.prod.outlook.com (2603:10b6:406:c2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.24; Sat, 10 Oct 2020 22:29:13 +0000
Received: from BN7PR03MB3827.namprd03.prod.outlook.com ([fe80::80a3:233e:f637:82ce]) by BN7PR03MB3827.namprd03.prod.outlook.com ([fe80::80a3:233e:f637:82ce%4]) with mapi id 15.20.3455.028; Sat, 10 Oct 2020 22:29:12 +0000
From: "Asveren, Tolga" <tasveren@rbbn.com>
To: Chris Wendt <chris-ietf@chriswendt.net>, Jack Rickard <Jack.Rickard@metaswitch.com>
CC: "stir@ietf.org" <stir@ietf.org>, "draft-ietf-stir-rph-emergency-services@ietf.org" <draft-ietf-stir-rph-emergency-services@ietf.org>, Brian Rosen <br@brianrosen.net>
Thread-Topic: [stir] Review of draft-ietf-stir-rph-emergency-services
Thread-Index: AdZrPXk4d/f2kRt0QXimDVa1DUwOuwKaVPgAABiWh4AACUk0gAA5+/HQAPcQIAABhbHxwAAWmFOAACRbGyAHFH28AABCKX5g
Date: Sat, 10 Oct 2020 22:29:12 +0000
Message-ID: <BN7PR03MB3827DCC6788EEFEB1C20DCC9A5090@BN7PR03MB3827.namprd03.prod.outlook.com>
References: <BYAPR02MB51891E95480910389FE0FDC7F3400@BYAPR02MB5189.namprd02.prod.outlook.com> <AB059D94-9BCA-4794-BCD4-211D7E8E80F2@brianrosen.net> <BYAPR02MB5189BE4C40E7A72BCFC8BD03F35D0@BYAPR02MB5189.namprd02.prod.outlook.com> <959DCC43-1686-49D3-9195-719CF65C9EE9@brianrosen.net> <BYAPR02MB5189D7055FCD08B0F926B9ADF35A0@BYAPR02MB5189.namprd02.prod.outlook.com> <14ACD074-FD66-4161-AC7A-ADB07127BE2D@chriswendt.net> <BYAPR02MB51899B8CC1EE4AD094A7F40AF32F0@BYAPR02MB5189.namprd02.prod.outlook.com> <0D26A9F6-5559-4273-ACBA-9501E958DF22@chriswendt.net> <BYAPR02MB51892A7D03F185046E574BFFF32C0@BYAPR02MB5189.namprd02.prod.outlook.com> <7E2BC364-2CCF-43EE-BFAF-9B9A29A2BE11@chriswendt.net>
In-Reply-To: <7E2BC364-2CCF-43EE-BFAF-9B9A29A2BE11@chriswendt.net>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [73.80.74.66]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 99172fbd-0abb-43bb-570e-08d86d6bea0d
x-ms-traffictypediagnostic: BN7PR03MB3427:
x-microsoft-antispam-prvs: <BN7PR03MB34277C7B43FBEDD48D890FFBA5090@BN7PR03MB3427.namprd03.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0
x-microsoft-antispam-message-info: 3avLmyCIVgSZ/zYXzzJjolUHf2ukfC8/QFbzYRrcMLhCa4oWn78bQwqEheHwEaYBvtZmczEGdo4l/3DcJ4aNVoCbs4JFxMzkMWWuvlXkdqVc/M2lfQvTeq6ChVF1puDUy3NaNPenuNtt6gWWMFMZHAWIjiYbb7lsy9tT8DHlCbC3/DEjb9yeC9vibndagIW6QNUlhbUKbG8zZ+c9NIyJGY/nmAWAdPEtgigeoEmVfNZcE2mm/cOn77HGGx0lx6LLOWYPP4c15lD++lj+4GspS2Ggd+6iMgansUZwdfS3BUz1rEpJ5uQ7uUTd4sMa8hN5Q72rUOD1AqRxpnBhApoe6TjxBGhEkCwXAPP1uCoxQedvx0TZQAy9UOyzQz/MiK9tGCmgViQsi3LWR83Sp/zW9Q==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN7PR03MB3827.namprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(396003)(39850400004)(136003)(366004)(4326008)(86362001)(71200400001)(8936002)(77540400001)(8676002)(2906002)(26005)(186003)(5660300002)(55016002)(7696005)(9686003)(6506007)(53546011)(30864003)(33656002)(64756008)(66946007)(66446008)(76116006)(66556008)(110136005)(966005)(478600001)(316002)(52536014)(54906003)(66476007)(83080400001)(166002)(83380400001); DIR:OUT; SFP:1101
x-ms-exchange-antispam-messagedata: qhc6Q7vTU6gAdXtOsYId3/uM4j6deBIjo8TzpB8w1latrLQ6rjnsNJS4mTty9J4u2wsE30G/AVgUQwljlD/q6LjfRpaznClW4gp6ARudBYA+d03QI4kNXbWXbhlWL3MSlKnGCXH3RpFVwWsxyzPLWu7v+uc66/K4Wj+6bxpaJxLd6TcVsy+m9frMwZmVFXUwgnfeCkw+bQEU19bY8LyLymPz2uWKD/cOJimm72SrhWPaSTEK++JcPDRRQc1zTjwRGl90ui0lfm9kujcKqI06EJoR2DczE71TNISduBY/aKJsnzUw+B8Kjej3Jk2s/zOlcMhfczFZOEKoZVpA4vfwxQBtpNaapt1eBXEJU2+Pw8N7UtB7Bp8ny0C/YsO52UrEMVOhut3XopoSoz2CB6RztjaWlDdB1yhO1KBhvFF1zhIpce0TrKZhQ7hLsi3Yutc4BmIQGt34pI7poo+rDaNjNrkvDP06rynaNYjljqge46i0X9cKVKStiLeEc34ugVCCeXeKpZ4kiMU0W1H3wssPA2dXoCnOaboNnbYUJIQBdpq2ZAGOs3Tr2JRYRHsWKaMHUZyp+8KsW/rO1avBhAdSzn0QzR2mVpSanxMWo1u2Nu2RQFUjx6u5b6kvJyLcL71iGtMnuYr1trAoU6XMvdH1hg==
x-ms-exchange-transport-forked: True
x-mc-unique: gvOzXGW5PduchMQXS9y5Lg-1
x-originatororg: rbbn.com
x-ms-exchange-crosstenant-authas: Internal
x-ms-exchange-crosstenant-authsource: BN7PR03MB3827.namprd03.prod.outlook.com
x-ms-exchange-crosstenant-network-message-id: 99172fbd-0abb-43bb-570e-08d86d6bea0d
x-ms-exchange-crosstenant-originalarrivaltime: 10 Oct 2020 22:29:12.7346 (UTC)
x-ms-exchange-crosstenant-fromentityheader: Hosted
x-ms-exchange-crosstenant-id: 29a671dc-ed7e-4a54-b1e5-8da1eb495dc3
x-ms-exchange-crosstenant-mailboxtype: HOSTED
x-ms-exchange-crosstenant-userprincipalname: o69DnX//6yhSb+Lelo0vOywTo5zdTKWYfBP3LiWoy8omr9Q0VKi4mvhCFE7V7qp/c1jIFYv10n2awfEicMW9Sw==
x-ms-exchange-transport-crosstenantheadersstamped: BN7PR03MB3427
MIME-Version: 1.0
Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA81A106 smtp.mailfrom=tasveren@rbbn.com
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: rbbn.com
Content-Language: en-US
Content-Type: multipart/alternative; boundary="_000_BN7PR03MB3827DCC6788EEFEB1C20DCC9A5090BN7PR03MB3827namp_"
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/k6RBeLJ-MLBYccd6KGliqBdvUJc>
Subject: Re: [stir] Review of draft-ietf-stir-rph-emergency-services
X-BeenThere: stir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Secure Telephone Identity Revisited <stir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/stir>, <mailto:stir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/stir/>
List-Post: <mailto:stir@ietf.org>
List-Help: <mailto:stir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/stir>, <mailto:stir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Oct 2020 22:29:26 -0000

Not really related to the recent change but a few questions/comments:


i-
   This document adds new "auth" array key values for a Resource
   Priority Header ("rph") claim defined in [RFC8443]
Was there really a restriction in RFC8443 on the values possibly can be used for “rph” claim? My reading is there wasn’t. I would say this draft is not adding new key values but defines semantics associated with some key values.


ii- In addition, the PASSPorT claims and values
   defined in this document are intended for use in environments where
   there are means to verify that the signer of the SIP 'Resource-
   Priority' and 'Priority' header fields is authoritative.
Isn’t this already covered by “7.2 Solution Considerations” in RFC8443 in a generic way?

iii- Means to verify that the signer of Resource-Priority/Priority header fields is authoritative
It seems the following section from draft-rosen-stir-emergency-calls-00 is relevant:
Many countries are starting to adopt the emergency calling paradigms
   promulgated by the IETF.  For example, in North America, the [i3<https://tools.ietf.org/html/draft-rosen-stir-emergency-calls-00#ref-i3>]
   standard defines IP based emergency calling networks, drawing from
   IETF work.  In those systems, a PKI is being created, with a trusted
   root, the "PSAP Credentialing Agency" (PCA).  The PCA provides a root
   of trust that could be used to sign call-backs protecting the SIP
   Priority and Resource Priority header fields.
Arguably an alternative would be adding a new extension to STIR certificates a la TN Authorization List in RFC8226. Actually I would prefer this approach as it would eliminate ambiguity, would just work with a single certificate/PKI and be generically applicable.

iv- A question regarding draft-rosen-stir-emergency-calls-00

   This document recommends that emergency calls from outside an
   Emergency Services IP Network be assigned esnet.0.
Should this ne esnet.1? If it indeed it esnet.0 then why is the value esnet.1 for emergency calls in draft-ietf-rph-emergency-services?


Thanks,
Tolga

From: stir <stir-bounces@ietf.org> On Behalf Of Chris Wendt
Sent: Friday, October 9, 2020 10:18 AM
To: Jack Rickard <Jack.Rickard@metaswitch.com>
Cc: stir@ietf.org; draft-ietf-stir-rph-emergency-services@ietf.org; Brian Rosen <br@brianrosen.net>
Subject: Re: [stir] Review of draft-ietf-stir-rph-emergency-services

________________________________
NOTICE: This email was received from an EXTERNAL sender
________________________________

So, we had discussions with the experts on ‘rph’ and emergency services and agreed to do a 03 rev of this draft that does indeed modify the procedures to remove the ESOrig/ESCallback and incorporate the esnet.x value into the “auth” object array.  Hopefully this addresses the concerns and makes things a bit simpler.  Thanks for the input.

Please, to everyone, review and provide comments.

Thanks.

-Chris


On Sep 3, 2020, at 9:28 AM, Jack Rickard <Jack.Rickard@metaswitch.com<mailto:Jack.Rickard@metaswitch.com>> wrote:

I agree with what you have said there, however Section 4.2 of 8443 also states that you should strip from the INVITE any 'Resource-Priority' header that isn't validated by the passports, which in this case would be the "esnet.x" header. This doesn't seem like a good behaviour to me, which is why I think "esnet" should go in the "auth" claim (as an signing service that didn't implement this would do anyway), at which point I don't see what utility the "ES*" claims provide.

Thanks,
Jack

From: Chris Wendt <chris-ietf@chriswendt.net<mailto:chris-ietf@chriswendt.net>>
Sent: 02 September 2020 21:00
To: Jack Rickard <Jack.Rickard@metaswitch.com<mailto:Jack.Rickard@metaswitch.com>>
Cc: Brian Rosen <br@brianrosen.net<mailto:br@brianrosen.net>>; draft-ietf-stir-rph-emergency-services@ietf.org<mailto:draft-ietf-stir-rph-emergency-services@ietf.org>; stir@ietf.org<mailto:stir@ietf.org>
Subject: Re: [stir] Review of draft-ietf-stir-rph-emergency-services

Not sure why they would break anything.  I think the idea is that if you are doing emergency services you should not include “auth” key and value.  If you implement only 8443 and you only know what to do with “auth” and “auth” is not included in the PASSporT you are verifying, you must ignore other key values you don’t understand. Therefore the validation will fail and you should not try to provide any type of priority service with that call.  This is approach for all PASSporTs with newly defined claims and key values in general.

-Chris



On Sep 2, 2020, at 5:33 AM, Jack Rickard <Jack.Rickard@metaswitch.com<mailto:Jack.Rickard@metaswitch.com>> wrote:

Hi Chris,

I'm still unconvinced about the ESorig and EScallback keys, I'm happy for them to be added as long as they don't break anything. The problem I see is with an intermediate that implements 8443 but not this spec: if "esnet.x" isn't in the auth claim the it should remove "esnet.x" from the 'Resource-Priority' header, which seems like a bad thing to me. Even with this spec it's not currently clear that you shouldn't do that as there's nothing overriding that text from 8443 currently.

As for compact form, I'm perfectly happy with it remaining unspecified, it just surprised me.

Thanks,
Jack

From: Chris Wendt <chris-ietf@chriswendt.net<mailto:chris-ietf@chriswendt.net>>
Sent: 25 August 2020 16:15
To: Jack Rickard <Jack.Rickard@metaswitch.com<mailto:Jack.Rickard@metaswitch.com>>
Cc: Brian Rosen <br@brianrosen.net<mailto:br@brianrosen.net>>; draft-ietf-stir-rph-emergency-services@ietf.org<mailto:draft-ietf-stir-rph-emergency-services@ietf.org>; stir@ietf.org<mailto:stir@ietf.org>
Subject: Re: [stir] Review of draft-ietf-stir-rph-emergency-services

Hi Jack,

I think we still want to keep “auth” and “ESorig/ESCallback” as separate and distinct key/value objects, i see your comments as maybe disagreement stylistically but didn’t see anything to suggest that it wouldn’t work.  The reasoning though is that “auth” is intended to be specific to priority services only, not extensible for other applications.  And the fact of the matter is key/values are cheap, no reason we can’t have new values and be explicit about the intent.  This document is specific to 911 and emergency services and to extend the key/values defined for ‘rph’ claim and ‘rph’ PASSporT extension.

I will make this clearer in the document and explicitly say that “auth” should not be used for emergency services purposes of using resource priority header.

I think it would also make sense to make it clear that that this document extends 8443 and linking the documents.

For compact form, we think it would confuse folks to add provisions for compact form or allow it for little gain, and therefore prefer to leave it undefined.

Thanks.

-Chris




On Aug 20, 2020, at 1:30 PM, Jack Rickard <Jack.Rickard@metaswitch.com<mailto:Jack.Rickard@metaswitch.com>> wrote:

It's not clear that this spec relies on that, and I'm not sure that it should? To me it seems like this could be more widely applicable.

Would you be able to address, from a verification service's point of view, what it should do? I think that will clear up why "Esorig" and "EScallback" are useful above plain "auth".
I think the spec would benefit from that section as well Section 4 of RFC 8443 and section 11 of draft-ietf-stir-passport-rcd-06 are both incredibly useful.

Thanks,
Jack

From: Brian Rosen <br@brianrosen.net<mailto:br@brianrosen.net>>
Sent: 19 August 2020 14:40
To: Jack Rickard <Jack.Rickard@metaswitch.com<mailto:Jack.Rickard@metaswitch.com>>
Cc: draft-ietf-stir-rph-emergency-services@ietf.org<mailto:draft-ietf-stir-rph-emergency-services@ietf.org>; stir@ietf.org<mailto:stir@ietf.org>
Subject: Re: [stir] Review of draft-ietf-stir-rph-emergency-services

About 20% of the US has now upgraded to NG9-1-1, although most service providers haven’t yet.  The wireless carriers are moving towards it; testing is underway.
I will have a companion document in sipcore that handles the signaling aspects of this mechanism.  For the older E911 system, none of stir really helps because the existing system is built on the older Class 4 switches (“Selective Routers”).  All of this mechanism is for NG9-1-1 and the equivalent services in the rest of the world, based on IETF standards (RFC6881, RFC5222, and several others).





On Aug 19, 2020, at 7:19 AM, Jack Rickard <Jack.Rickard@metaswitch.com<mailto:Jack.Rickard@metaswitch.com>> wrote:

Thanks, that's really useful, however, I'm not convinced.

For ESorig, as far as I know this isn't currently always the case, I am aware of situations where emergency calls just look like normal calls with a number of 911. I'm also still unclear about what affect this has, as you can currently already sign emergency calls using the standard mechanisms (barring the whole "urn:service:sos" tn which I don't believe is standardised for STIR yet?)  by putting "esnet.0" in the auth field of an rph passport.

For EScallback, if the sph and "rph.auth" claims cover theis entirely why is EScallback needed? I'm also still unclear what the verification service behaviour is here.

I'm still unclear as to how this spec helps with allowing and preventing malicious use of emergency calls. You can already put esnet resource priority pairs in the "rph.auth" claim and that seems to provide as much security as this does. I do agree the sph claim does provide value, however.

I did just realise that the esnet Resource Priority needs to be in the "rph.auth" claim or the logic from that rfc will kick in and remove it, as per:
RFC 8443, section 4.2
   In such scenarios, the SIP 'Resource-Priority' header field SHOULD be
   stripped from the SIP request, and the network entities should treat
   the call as an ordinary call.

I'll note that some of my questions and concerns haven't been addressed yet, I'm happy to resolve this first, just making a note so that they don't get lost/I don't forget about them.
Jack

From: Brian Rosen <br@brianrosen.net<mailto:br@brianrosen.net>>
Sent: 18 August 2020 22:31
To: Jack Rickard <Jack.Rickard@metaswitch.com<mailto:Jack.Rickard@metaswitch.com>>
Cc: draft-ietf-stir-rph-emergency-services@ietf.org<mailto:draft-ietf-stir-rph-emergency-services@ietf.org>; stir@ietf.org<mailto:stir@ietf.org>
Subject: Re: [stir] Review of draft-ietf-stir-rph-emergency-services

Let’s keep the two use cases separate:
ESorig is an emergency call (user to authority).
EScallback is a call from authority to user.

For ESorg, the call is marked with a Request-URI of urn:service:sos.  The “To” field is ignored in routing and handling the call.  That’s how you know this is an emergency call.   For stir purposes, the From is an ordinary identifier, and gets treated in the normal way.  However, the rph value can only be used by a valid emergency call, and a valid emergency call is a Request URI of urn:service:sos, and a valid From.  So you don’t have any knowledge of emergency services identifiers, only the Request URI of urn:service:sos.

For EScallback, the marking is a distinguished value in SIP Priority.  If a call has that value, it’s a call back.  The originating service provider knows who are the authorities who are allowed to place call backs, so the check is what is in SIP Priority, and one of the allowed authorities in From.  As a practical matter, in most cases, the call will be signed by the emergency authorities themselves, who will be able to get appropriate credentials for this purpose.  In most cases I’m aware of, the To in an emergency call won’t match the From in a Callback, but it’s possible for that to happen, and we want to allow it.

Esnet is a Resource Priority Header namespace, not a SIP Priority value.  We’re allowing emergency calls and call backs to use rph, and we’re protecting against malicious use of it.  So unless the call has urn:service:sos in Request URI, or the right SIP Priority in a call back (and from an authorized authority) they can’t use rph with the esnet namespace.  Generally, unless under attack, emergency calls go through even if there isn’t a passport.  Many networks won’t offer actual priority to emergency calls, but the emergency services networks (ESInets) will.

If a call arrives anywhere with an rph using esnet, and isn’t an emergency call, with the appropriate passport,  any intermediary can refuse to give it any priority,  The emergency authorities may accept a call without a valid passport, but they might treat it with much more suspicion than they would any other call.

For call backs, the network may have special behavior.  For example, it may send the call to the device that placed the emergency call, rather than, for example, voice mail.  The network has to be able to trust that SIP Priority is set appropriately.  It will also have rph using esnet, and the network can grant it appropriate priority if it has that capability, and would not allow esnet otherwise.

The only value in covering other uses of SIP Priority is to protect against middle boxes modifying it.  We don’t really have use cases for that.  It probably wouldn’t hurt to allow it though.

Does that help?

Brian







On Aug 14, 2020, at 1:21 PM, Jack Rickard <Jack.Rickard=40metaswitch.com@dmarc.ietf.org<mailto:Jack.Rickard=40metaswitch.com@dmarc.ietf.org>> wrote:

I have reviewed draft-ietf-stir-rph-emergency-services-02 and have some concerns and questions. I don't believe this spec is implementable in its current form.

Thanks,
Jack

Why are "ESorig" and "EScallback" distinct?
They seem to serve a very similar purpose with the only difference being whether orig or dest should be the emergency services. I don't believe there's any check that can be done to validate:
   When using "ESorig" as the "rph" assertion value, the "orig" claim of
   the PASSporT MUST represent the calling party number that initiates
   the call to emergency services.
This (and the equivalent statement for EScallback) don't seem possible to me to check (barring the standard orig/dest checking)..
This would make the check "at least one of the parties should be the emergency services" enough to validate that this was a reasonable call.


Why have them at all rather than just using auth?
This is very possibly an issue with my understanding, but I'm not clear on why "ESorig" and "EScallback" even need to exist. "esnet.0" etc. are SIP Resource Priority headers, so should be included in the "auth" field anyway by the RPH spec. This spec appears to apply extra constraints (that a one of the callers must be the emergency services) for the "esnet" namespace but it's not clear why entirely separate claims are needed.

In a similar vein, what should a verifier do if it receives a call containing an invalid "ESorig" or "EScallback" value or the passport is invalid/untrusted, I'm assuming the behaviour is the same as for auth but this isn't clear. Although stripping the fact that this is an emergency call is potentially dangerous..


Specify the type of the "ESorig" and "EScallback" claims.
This specification currently doesn't specify the type of the new fields, there are only examples and this isn't enough. It looks like they both follow the same scheme as the rph "auth" claim, however "esnet,x" doesn't quite fit into that due to the comma and that x isn't a valid priority value.


Why is sph limited to psap-callback? What should the verifier do if it isn't that? What should it do if it is?
I'm not entirely clear on the purpose of the sph claim, however, it seems odd that it doesn't cover the full range of possible values for the SIP Priority Header. Is there a reason that it doesn't cover the "non-urgent", "normal", "urgent", or "emergency" values?
There is also no verifier behaviour defined here, should the verifier remove the Priority header if it receives an invite with no passports signing for it? That seems dangerous to me but would be consistent with rph. Alternatively, what should the verifier do if it receives an invite with a valid passport claiming sph but with no Priority header should it add it in? I'm not sure the spec needs to be too prescriptive here, however some mention of verifier behaviour and the associated security considerations would be useful.


Should the spec be stronger about the compact form?
Section 3 currently states

   The use of the compact form of PASSporT is not specified in this

   document.
However, a compact-form passport following this spec would be hard to verify as it introduces multiple possible rph variants, I think this spec could go further and say you shouldn't/mustn't.


What is the requirement of these new parameters.
As I understand it, the passport spec allows you to create a passport containing whatever JWT fields you want and verifiers should just ignore any fields they don't understand. Unless the "ppt" claim is set, which indicates that verifiers should discard it if they don't recognise that passport type. As this spec adds additional fields to an existing passport type it isn't immediately clear what the behaviour should be. Specifically, is an rph passport containing only "rph.ESorig" valid now (where it wouldn't be before because auth isn't present), is an rph passport containing no rph and only sph valid, and what does a non-rph passport with sph or ESorig set mean?

_______________________________________________
stir mailing list
stir@ietf.org<mailto:stir@ietf.org>
https://www.ietf.org/mailman/listinfo/stir<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fstir&data=02%7C01%7CJack.Rickard%40metaswitch.com%7Cfec57c0e64a34156473508d84f7aca06%7C9d9e56ebf6134ddbb27bbfcdf14b2cdb%7C1%7C0%7C637346736096811076&sdata=3BmcGhTMxrGQCmpjDQGV5sG0lCcYViU%2FxpjBJv3mlb0%3D&reserved=0>


-----------------------------------------------------------------------------------------------------------------------
Notice: This e-mail together with any attachments may contain information of Ribbon Communications Inc. that
is confidential and/or proprietary for the sole use of the intended recipient.  Any review, disclosure, reliance or
distribution by others or forwarding without express permission is strictly prohibited.  If you are not the intended
recipient, please notify the sender immediately and then delete all copies, including any attachments.
-----------------------------------------------------------------------------------------------------------------------