Re: [stir] RFC 8224

Chris Wendt <chris-ietf@chriswendt.net> Wed, 07 April 2021 15:23 UTC

Return-Path: <chris-ietf@chriswendt.net>
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 C329B3A1CEB for <stir@ietfa.amsl.com>; Wed, 7 Apr 2021 08:23:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=chriswendt-net.20150623.gappssmtp.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 hFAZW5St5cQw for <stir@ietfa.amsl.com>; Wed, 7 Apr 2021 08:23:42 -0700 (PDT)
Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A6AA53A1CE7 for <stir@ietf.org>; Wed, 7 Apr 2021 08:23:34 -0700 (PDT)
Received: by mail-qv1-xf2c.google.com with SMTP id n44so4136624qvg.12 for <stir@ietf.org>; Wed, 07 Apr 2021 08:23:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chriswendt-net.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=VcUkK+wP144jvMfzPrCbukHmG2vwS3fifTbRZVAqYQY=; b=SeijtLqCHHnTVzcPgQl1HDA4PIp6qRPzrDKe6C/IHyG38HrxIeCw//XQnfW7QA9m4l a60MAMXJckXAoaUuTWzVJ5rYg/kATgtbXWz/Zu3tVHpHu1NXXVkc9cgySVJP4b1qWGkt So17t31WU4gOHvU2vNKNm5I8ZMCeYiZIHKVbhtq7Fwt0dW1RU6HfXzBJIGqn568zcwE/ eDDBh0mFL029jYnRru26A/ky+RbL0+/0cjuZE1lw393M2vH9CJ/1zdaB/hIcZp/LSfSC WxKgBfIMqBkjP/3+KCMcYEvVzOivg3Pd3IeaqwwFiL0878UTWyYMXzifAZzAgBiEHIIB 7VNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=VcUkK+wP144jvMfzPrCbukHmG2vwS3fifTbRZVAqYQY=; b=XCd8NzCPVrBIwAvgMb8dkuDc1M5HBZbWNiRCPedLsMJQyOXUady2KEYiQwER48zF2n Tfdm3wDW+Nl0ObQzxCgHtdfwq+Jr5xIvQrC4WRt2aso2EkRcY1X/Z/9xRrAhsGSwlvJv FNGM771Ti7EoWcKFfFWvObjnSDRBhbcqaBNOqYZfz08Ila4g5sk+QeBI0Qb3EfRpa/lh y5EJgspAqyWC4gviOGnVPOEJwUPItCklqn8ufQusycGYooHwuhDd6YnhKEq60LJF+ILl 5GMKTi+1Edf55rTJG9TOQLtsxSSiQ5riIDaNsL+iUKLFW2b5mEe+LmRE0UZCfIQ67/Yw /TFA==
X-Gm-Message-State: AOAM532VUu5cYG8hVIRQ4hH2VPgnsu3VFqfDZWauqieYrTITnpITe5BS mfjpX7TU6ZveV4Gl5miWM2iI5Q==
X-Google-Smtp-Source: ABdhPJyAIi+k5SsUdLmMzh5qwmGJrB+sXg1AAA31c6tAX0peQ0Yqx2I6WK8vPF7NuQuAF84qT6zjUQ==
X-Received: by 2002:a05:6214:905:: with SMTP id dj5mr4157326qvb.34.1617809012837; Wed, 07 Apr 2021 08:23:32 -0700 (PDT)
Received: from [192.168.0.32] (c-68-82-121-87.hsd1.pa.comcast.net. [68.82.121.87]) by smtp.gmail.com with ESMTPSA id l6sm16869954qkk.28.2021.04.07.08.23.31 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Apr 2021 08:23:32 -0700 (PDT)
From: Chris Wendt <chris-ietf@chriswendt.net>
Message-Id: <79A0A819-D3B9-4E68-A979-971594F9E018@chriswendt.net>
Content-Type: multipart/alternative; boundary="Apple-Mail=_91221276-9E96-440F-80D6-04B35EA65DC7"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
Date: Wed, 07 Apr 2021 11:23:24 -0400
In-Reply-To: <AM0PR07MB38608E2AAD15EF2514A1B78293759@AM0PR07MB3860.eurprd07.prod.outlook.com>
Cc: "Zerr, Brad" <BZerr@tnsi.com>, Marc Petit-Huguenin <marc@petit-huguenin.org>, Cullen Jennings <fluffy@iii.ca>, IETF STIR Mail List <stir@ietf.org>, Eric Rescorla <ekr@rtfm.com>, Jon Peterson <jon.peterson@neustar.biz>, "Toy, Arthur" <atoy@tnsi.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
References: <DM6PR15MB4108EDAC1D320CA0132CFFE3C8779@DM6PR15MB4108.namprd15.prod.outlook.com> <85B1C6DA-6128-4D4D-A0A4-499C03CA390D@iii.ca> <AM0PR07MB3860550B5D4DB10FAA5EF0D293769@AM0PR07MB3860.eurprd07.prod.outlook.com> <ca269d6c-5b64-1c2d-3c30-06ecbe1945ee@petit-huguenin.org> <AM0PR07MB3860D8B8F633F8AD911CA47893759@AM0PR07MB3860.eurprd07.prod.outlook.com> <DM6PR15MB4108A6CF60DB1FB40C427C7FC8759@DM6PR15MB4108.namprd15.prod.outlook.com> <AM0PR07MB38609183F83C41834AC0BDB493759@AM0PR07MB3860.eurprd07.prod.outlook.com> <5BE0F62B-2DE2-4073-BB7D-47DA2E1584B4@chriswendt.net> <AM0PR07MB38608E2AAD15EF2514A1B78293759@AM0PR07MB3860.eurprd07.prod.outlook.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/gNLNJmNOmLaJ9A-MIJ6MDVL8YkM>
Subject: Re: [stir] RFC 8224
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: Wed, 07 Apr 2021 15:23:48 -0000

Yes, sorry you are correct.

> On Apr 7, 2021, at 11:18 AM, Christer Holmberg <christer.holmberg@ericsson.com> wrote:
> 
> Hi Chris,
>  
> Note that the examples are valid tel-URLs. However, as per RFC 2806, they are “local numbers”, not “global numbers”.
>  
> Regards,
>  
> Christer
>  
> From: Chris Wendt <chris-ietf@chriswendt.net> 
> Sent: keskiviikko 7. huhtikuuta 2021 18.10
> To: Christer Holmberg <christer.holmberg@ericsson.com>
> Cc: Zerr, Brad <BZerr@tnsi.com>; Marc Petit-Huguenin <marc@petit-huguenin.org>; Cullen Jennings <fluffy@iii.ca>; IETF STIR Mail List <stir@ietf.org>; Eric Rescorla <ekr@rtfm.com>; Jon Peterson <jon.peterson@neustar.biz>; Toy, Arthur <atoy@tnsi.com>
> Subject: Re: [stir] RFC 8224
>  
> This is a legit question for RFC8224 and agree with the answers, but just in case it’s relevant you would not send these types of SIP URIs as dest in context of STIR/SHAKEN (over NNI/peering relationship) which only supports tel URIs currently.  That may not be your use-case but just wanted to clarify in case it was relevant.  I would be curious to know the context if you are willing to share though, i am guessing intra network use case between device and app server?  Definitely interested in those cases, for me in context of delegate certs.
>  
> -Chris
> 
> 
> On Apr 7, 2021, at 9:52 AM, Christer Holmberg <christer.holmberg@ericsson.com <mailto:christer.holmberg@ericsson.com>> wrote:
>  
> Hi,
>  
> ´*´ can be used as such in a SIP-URI, but ‘#’ would have to be escaped.
>  
> So:
>  
> To: sip:*55;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone <sip:*55;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone>
>  
> …is ok, but;
>  
> To: sip:#55;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone <sip:*55;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone>
>  
> …is NOT ok. Instead:
>  
> To: sip:%2355;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone <sip:%2355;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone>
>  
> …will have to be used.
>  
> Regards,
>  
> Christer
>  
>  
>  
> From: Zerr, Brad <BZerr@tnsi.com <mailto:BZerr@tnsi.com>> 
> Sent: keskiviikko 7. huhtikuuta 2021 14.27
> To: Christer Holmberg <christer.holmberg@ericsson.com <mailto:christer.holmberg@ericsson.com>>; Marc Petit-Huguenin <marc@petit-huguenin.org <mailto:marc@petit-huguenin.org>>; Cullen Jennings <fluffy@iii.ca <mailto:fluffy@iii.ca>>; IETF STIR Mail List <stir@ietf.org <mailto:stir@ietf.org>>
> Cc: chris-ietf@chriswendt.net <mailto:chris-ietf@chriswendt.net>; Eric Rescorla <ekr@rtfm.com <mailto:ekr@rtfm.com>>; Jon Peterson <jon.peterson@neustar.biz <mailto:jon.peterson@neustar.biz>>; Toy, Arthur <atoy@tnsi.com <mailto:atoy@tnsi.com>>
> Subject: RE: [stir] RFC 8224
>  
> Good Morning.
>  
> Would you mind providing an example of what the TO header should look like for both a * and # dial to help clear up?  Assume they are leading characters in the TO header.
>  
> Example of what is being sent today:
>  
> To: sip:*55;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone <sip:*55;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone>
>  
> To: sip:#55;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone <sip:*55;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone>
>  
> From: Christer Holmberg <christer.holmberg@ericsson.com <mailto:christer.holmberg@ericsson.com>> 
> Sent: Wednesday, April 7, 2021 3:14 AM
> To: Marc Petit-Huguenin <marc@petit-huguenin.org <mailto:marc@petit-huguenin.org>>; Cullen Jennings <fluffy@iii.ca <mailto:fluffy@iii.ca>>; Zerr, Brad <BZerr@tnsi.com <mailto:BZerr@tnsi.com>>; IETF STIR Mail List <stir@ietf.org <mailto:stir@ietf.org>>
> Cc: chris-ietf@chriswendt.net <mailto:chris-ietf@chriswendt.net>; Eric Rescorla <ekr@rtfm.com <mailto:ekr@rtfm.com>>; Jon Peterson <jon.peterson@neustar.biz <mailto:jon.peterson@neustar.biz>>; Toy, Arthur <atoy@tnsi.com <mailto:atoy@tnsi.com>>
> Subject: RE: [stir] RFC 8224
>  
> Hi,
> 
> >I think the question was about the format to use before canonicalization.
> >
> >My understanding of RFC 3986 is that `#` should be escaped because it is the delimiter for an URI fragment. Fragments are not defined in SIP URIs, but a generic URI parser may still remove everything after and including '#'.
> 
> "#" will have to be escaped in a SIP-URI, e.g., in a To header field.
> 
> But, Section 8.3 of RFC 8224 has nothing to do with a SIP-URI or the To header field.
> 
> Regards,
> 
> Christer
> 
> 
> 
> 
> 
> 
> 
> OTOH there is no need to escape '*' as it is part of the `sub-delims` rule.
> 
> so
> 
> ....
> To: sip:*55;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone <sip:*55;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone>
> ....
> 
> is fine, but dialing directly an extension would be:
> 
> ....
> To: sip:+14085550460%2377@example.org;user=phone <sip:+14085550460%2377@example.org;user=phone>
> ....
> 
> On 4/6/21 5:43 AM, Christer Holmberg wrote:
> > Hi,
> > 
> > %2A is not the ASCII format of *, it is the escaped (see RFC 3261).
> > 
> > And, the syntax allows both * and #, so no need to escape (in fact, it is not even possible to escape in this case):
> > 
> > tn-spec = 1*tn-char
> > tn-char = "#" / "*" / DIGIT
> > 
> > Also, note that RFC 8224 does not define the syntax of the To header field - that is done in RFC 3261. The telephone number described in Section 8.3 of RFC 8224 will be included in the PASSPort (RFC 8225).
> > 
> > Regards,
> > 
> > Christer
> > 
> > From: stir <stir-bounces@ietf.org <mailto:stir-bounces@ietf.org>> On Behalf Of Cullen Jennings
> > Sent: tiistai 6. huhtikuuta 2021 15.30
> > To: Zerr, Brad <BZerr@tnsi.com <mailto:BZerr@tnsi.com>>; IETF STIR Mail List <stir@ietf.org <mailto:stir@ietf.org>>
> > Cc: chris-ietf@chriswendt.net <mailto:chris-ietf@chriswendt.net>; Eric Rescorla <ekr@rtfm.com <mailto:ekr@rtfm.com>>; Jon Peterson <jon.peterson@neustar.biz <mailto:jon.peterson@neustar.biz>>; Toy, Arthur <atoy@tnsi.com <mailto:atoy@tnsi.com>>
> > Subject: Re: [stir] RFC 8224
> > 
> > 
> > Adding to STIR mailing list …
> > 
> > 
> > On Apr 5, 2021, at 9:19 AM, Zerr, Brad <BZerr@tnsi.com<mailto:BZerr@tnsi.com <mailto:BZerr@tnsi.com%3cmailto:BZerr@tnsi.com>>> wrote:
> > 
> > Good Morning.
> > 
> > This may not be the correct process, so let me know if I should ask this in a different forum.
> > 
> > I had a question regarding section 8.3 when it comes to * and # handling. Is this stating that when a * or # proceeds a digit string (i.e. *55), it should be in ASCI Format for the * (i.e. %2A)
> > 
> > <image001.png>
> > 
> > So Instead of this:
> > 
> > To: sip:*55;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone <sip:*55;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone>
> > 
> > It should be this
> > 
> > To: sip:%2A55;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone <sip:%2A55;phone-context=ims.mnc420.mcc312.3gppnetwork.org@ims.mnc420.mcc312.3gppnetwork.org;user=phone>
> > 
> > 
> > 
> 
> 
> -- 
> Marc Petit-Huguenin
> Email: marc@petit-huguenin.org <mailto:marc@petit-huguenin.org>
> Blog: https://protect2.fireeye.com/v1/url?k=980fc57b-c794fc4a-980f85e0-86e2237f51fb-d778e82319b4f5fa&q=1&e=032f1e9f-0aed-459c-b48f-5a5bb8a74467&u=https%3A%2F%2Fmarc.petit-huguenin.org%2F <https://protect2.fireeye.com/v1/url?k=980fc57b-c794fc4a-980f85e0-86e2237f51fb-d778e82319b4f5fa&q=1&e=032f1e9f-0aed-459c-b48f-5a5bb8a74467&u=https%3A%2F%2Fmarc.petit-huguenin.org%2F>
> Profile: https://www.linkedin.com/in/petithug <https://www.linkedin.com/in/petithug>
>  
> 
> This e-mail message is for the sole use of the intended recipient(s) and may
> contain confidential and privileged information of Transaction Network Services.
> Any unauthorized reviews, use, disclosure or distribution is prohibited. If you are not
> the intended recipient, please contact the sender by reply e-mail and destroy all copies
> of the original message.
> 
> 
> 
> This email has been scanned for email related threats and delivered safely by Mimecast.
> For more information please visit http://www.mimecast.com <https://protect2.fireeye.com/v1/url?k=637df9a8-3ce6c0ad-637db933-86959e472243-f3817145c048b8e8&q=1&e=c8cf1527-7ed0-445d-a2d9-6e029fd3a549&u=http%3A%2F%2Fwww.mimecast.com%2F>