Re: [stir] sipcore Digest, Vol 158, Issue 1

pierce@numeracle.com Thu, 28 July 2022 00:29 UTC

Return-Path: <pierce@numeracle.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 B4807C13CCDF for <stir@ietfa.amsl.com>; Wed, 27 Jul 2022 17:29:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=numeracle-com.20210112.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dEKjMlNV406B for <stir@ietfa.amsl.com>; Wed, 27 Jul 2022 17:29:23 -0700 (PDT)
Received: from mail-oa1-x34.google.com (mail-oa1-x34.google.com [IPv6:2001:4860:4864:20::34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4D653C147920 for <stir@ietf.org>; Wed, 27 Jul 2022 17:29:23 -0700 (PDT)
Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-1013ecaf7e0so506113fac.13 for <stir@ietf.org>; Wed, 27 Jul 2022 17:29:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=numeracle-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:thread-index :content-language; bh=44fnI/Y0Fn6k4kOAX/di0fDZXWqP9UoU1VQgPUfKDpY=; b=pPjIqxHvZ74PF6WR297GQVUNZWR61yIqGI8EilOCrKhXnh/sUvnJ/2e1tIzxOjMwSS s3QF6YWWmmIxeO3AobqRzCgecX+khi0GZKFhoczVZulrIe+yDvNsBSQHhXVITHWhu6ve VcitEOVLgqgX/lR+dSqRLPA9zZq3/N5BlObvVCRWQq0Gs9YSfzanJ2nLlmA9ouuPE/GT zQTrgVKlfkJO+L6RKdel6dXVc5SCp1zkU1qkGkuk0IgZP+DJwO+/kPtlWi6cfK/Wmt1e a3HKEJmEVXVSdX4yd3HN+Ic5zzxSIyuHoR2W6aaYxcoq0F70OPInZLbRa30mYzTvyBOc TjPA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=44fnI/Y0Fn6k4kOAX/di0fDZXWqP9UoU1VQgPUfKDpY=; b=hoIUWjxS88Oajs/Uq274b/hMCFoxE5+w2kdAWZ2EUSbH0dYt8g02s4RcGd4nQAoWz+ sRjgki3iKjZN81WLUeXuD+TRb4K+Hyy0SvD4lzHvdUNdTPVnE+vRCSppdLNGf/TwFDgQ 8/Lbwldk7R+cu97KWxeWkOBQ4Y0Uk9dEJauhFl5bUYBVKg+U6tUrvIluKwSLA/Wp8cBb 7w6iqZHExWDbXw7Yx3076IRSQZGMZrMDMvxfPPGQk/a7mHKxKAoymapvLfVFLi+4Ld3L 6XI84J3McWuvnm+TpEhYHl5jNOtA8dwxhH7IYjEuE2B4PnQMfB32BAdOw5FuN3n2IWGg F1pA==
X-Gm-Message-State: AJIora8jlWLUj/+8Vvw5+9g46fTx2OG3Bpc2Td2t8C/f00dDNOtVDCwi zRXBeNFGRLFkM+UfUtrphNaUedjarSZ4Qg==
X-Google-Smtp-Source: AGRyM1svg/dR8yirb5wBVszW1hujhhQMrpLmSL10A/6x5Bv5gLtpgFqWwd322tNchkz20gkFaxu0rA==
X-Received: by 2002:a05:6870:40d5:b0:10c:2e95:72fd with SMTP id l21-20020a05687040d500b0010c2e9572fdmr3720457oal.123.1658968161185; Wed, 27 Jul 2022 17:29:21 -0700 (PDT)
Received: from NumeracleLegion ([2605:a601:ae1c:4300:5c0a:eea2:bdda:dc2a]) by smtp.gmail.com with ESMTPSA id e68-20020a9d2aca000000b0061cbd18bd18sm8116576otb.45.2022.07.27.17.29.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jul 2022 17:29:20 -0700 (PDT)
From: pierce@numeracle.com
To: 'Paul Kyzivat' <pkyzivat@alum.mit.edu>
Cc: stir@ietf.org
References: <mailman.125.1658862003.55613.sipcore@ietf.org> <017401d8a1c4$402a5e10$c07f1a30$@numeracle.com> <e74caf42-b5cb-a473-f4f5-12c1129f4437@alum.mit.edu> <023301d8a1da$8b7c47f0$a274d7d0$@numeracle.com> <dd851703-33c0-898f-2e93-fabbd3119f67@alum.mit.edu> <02a501d8a1f4$4b9be630$e2d3b290$@numeracle.com> <f2923342-4cda-9cef-1843-ce270d829d79@alum.mit.edu> <031601d8a1ff$13f586e0$3be094a0$@numeracle.com> <f376e223-3191-cfb1-c398-216697253e4d@alum.mit.edu>
In-Reply-To: <f376e223-3191-cfb1-c398-216697253e4d@alum.mit.edu>
Date: Wed, 27 Jul 2022 19:29:21 -0500
Message-ID: <038301d8a219$150f0e60$3f2d2b20$@numeracle.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQHqwszZSudtz9nUqdxUNs8G4k4v7wFi2Y5HAUlOtrwB518wqAHsK6RpAdQud+gBFgpnegJuyO/pAg+2/Bes/2YykA==
Content-Language: en-us
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/jZiR2Qi-X1tmAcrPyBg8vgkZUcQ>
Subject: Re: [stir] sipcore Digest, Vol 158, Issue 1
X-BeenThere: stir@ietf.org
X-Mailman-Version: 2.1.39
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: Thu, 28 Jul 2022 00:29:28 -0000

I intentionally used 1xx and informational interchangeably.  My assumption is even if an implementation doesn't recognize a specific 1xx, they should at least know it was informational and something they would be "free to ignore".  This goes for the subscriber UA as well.

I think your comments are helpful and constructive.  I also agree that STIR as a separate protocol from SIP in the REASON should help prevent lesser implementations from killing calls that are otherwise acceptable.

Thank you again for taking the time to read and engage in the dialogue.

Best regards,

Pierce

-----Original Message-----
From: Paul Kyzivat <pkyzivat@alum.mit.edu> 
Sent: Wednesday, July 27, 2022 5:29 PM
To: pierce@numeracle.com
Cc: stir@ietf.org
Subject: Re: [stir] sipcore Digest, Vol 158, Issue 1

On 7/27/22 5:23 PM, pierce@numeracle.com wrote:
> Just a hunch, but I will speculate the phone companies will not want error messages going to the subscribers who didn't cause the error.  You can guess what actions they might take to prevent that.

While I think there are some voip apps that will render the Reason headers in a response to the users, I agree that for a typical user that would be confusing and so a provider wouldn't do it. But it could be quite helpful, and not bothersome, to capture that info in the phone's call history and provide a way for the user to query for it.

> Because STIR/SHAKEN errors in REASON headers should not be a possible cause of call failures (poorly defined rules for, or poorly considered implementation of, when to ignore the messages notwithstanding), STIR error messages in REASON headers should be informational only.

"Informational" is a name for a class of SIP response codes. There is guidance in SIP for how to handle particular response codes that you don't understand, based on their class.

In Reason headers, when the 'protocol' is SIP then the reason cause reuses the SIP response code values. But that does not mean that a reason cause is to be handled the same way as the same value received as a response code. (The proper handling is poorly specified and largely discretionary. Your examples show that this should be improved.)

There is nothing I'm aware of that says cause values that are in the 1xx range should be handled differently from cause values that are 4xx, 5xx, or 6xx.

And this gets even more problematic when you change the reason protocol from SIP to STIR.  I see *nothing* that says

   Reason: SIP ;cause=436 ;text="Bad Identity Info"
and
   Reason: STIR ;cause=436 ;text="Bad Identity Info"

should be treated the same way. IMO it would be *bad* for a provider to automatically fail a call when it receives provisional or successful response containing:

   Reason: STIR ;cause=4xx ;text="..."

Perhaps this needs to be clarified somewhere.

	Thanks,
	Paul