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

Paul Kyzivat <pkyzivat@alum.mit.edu> Wed, 27 July 2022 22:28 UTC

Return-Path: <pkyzivat@alum.mit.edu>
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 E0794C14CF1D for <stir@ietfa.amsl.com>; Wed, 27 Jul 2022 15:28:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level:
X-Spam-Status: No, score=-2.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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 (1024-bit key) header.d=alum.mit.edu
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 j6Q2znvwz6R6 for <stir@ietfa.amsl.com>; Wed, 27 Jul 2022 15:28:52 -0700 (PDT)
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2078.outbound.protection.outlook.com [40.107.93.78]) (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 BFF24C14F74F for <stir@ietf.org>; Wed, 27 Jul 2022 15:28:52 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E2nK9JoS00knUelIlta/CBZxqKSy1jv2t/oIWcL7CgQFITg7a/KQq0O4n8mW9fTurOeGSw7A4s4AASy0CiXrJq9dL2i33i5l/ETd3P69bJbqHLU4x+cU9OtS3oQzDKPF+4Idzcok4EPIRF4STxve5iSeZ+9WvdZeaSPVt4MJm6TPt/yumXJTwoI2sEDQyp8YTSfwzssseStIF9LUVe3GkjB1tuxeN6AxWkVZhcy0Je5JmsCx0iPTD7rU1GqbwhUfbJoSbVG7kR1GpjVZjSceGhF1PSQ7lCkeCnccoYLbcMKEBPkb96ArAgxiZdRJI/gU7Fk7Fn/bttibTrsrwFWDGQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UA6X8Jvu9BKZtIZKcVCsS5BzhAWBpxXXNI5g3IdDe7w=; b=HOnc/EwsQcjSkbt77kaTJMAY9w+R2V1xgAwlY4kOJvXjuhEKxI9ycMmhEf8cBUyYoRbE1RiflqkXZSJAJJleOE1j+XHEfrCDmlzJ7nG7nhi+piJfpqEAxTgx0gRsZyC4oOv4FVKF+JH4vAhc31qxQhHAjn2nljRmaOZlN8I1xsHczDC9lt9nS/om0sXWZHcD3FEoYT5fHlfjv1qZhVJulDlmROKP4EQH457Pd4geSRUOlPy87SI2CPyLdjpn/dMuZBHaopbWJRpACv7IkOtfrPnqiW7ZyoTfH/lagIBPMl48SX56LLF/JkrYgcFVkWhObvb3MmCdJ7SP2uOssLPEfQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 18.7.68.33) smtp.rcpttodomain=ietf.org smtp.mailfrom=alum.mit.edu; dmarc=pass (p=none sp=none pct=100) action=none header.from=alum.mit.edu; dkim=none (message not signed); arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alum.mit.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UA6X8Jvu9BKZtIZKcVCsS5BzhAWBpxXXNI5g3IdDe7w=; b=BeFdPgrKSkFdYAY4VVUjcik/VJUJEowtvS876olRw4c0Mqtz8fz1x/m5iWpSkpDM/Q9n/BVc3Klf1hZSwkphPo+4FkGU+GTfeN75DF++Ovhqi7bxvnWXrIAkWnfGcQdDwrbpoxZQIxtIMBGSHOGHLKso51b9t8EdFxqL96A0gq4=
Received: from SA1P222CA0043.NAMP222.PROD.OUTLOOK.COM (2603:10b6:806:2d0::17) by BY5PR12MB4068.namprd12.prod.outlook.com (2603:10b6:a03:203::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.18; Wed, 27 Jul 2022 22:28:49 +0000
Received: from SN1NAM02FT0054.eop-nam02.prod.protection.outlook.com (2603:10b6:806:2d0:cafe::ee) by SA1P222CA0043.outlook.office365.com (2603:10b6:806:2d0::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.10 via Frontend Transport; Wed, 27 Jul 2022 22:28:49 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 18.7.68.33) smtp.mailfrom=alum.mit.edu; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=alum.mit.edu;
Received-SPF: Pass (protection.outlook.com: domain of alum.mit.edu designates 18.7.68.33 as permitted sender) receiver=protection.outlook.com; client-ip=18.7.68.33; helo=outgoing-alum.mit.edu; pr=C
Received: from outgoing-alum.mit.edu (18.7.68.33) by SN1NAM02FT0054.mail.protection.outlook.com (10.97.4.242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.17 via Frontend Transport; Wed, 27 Jul 2022 22:28:48 +0000
Received: from [192.168.1.52] (c-24-62-227-142.hsd1.ma.comcast.net [24.62.227.142]) (authenticated bits=0) (User authenticated as pkyzivat@ALUM.MIT.EDU) by outgoing-alum.mit.edu (8.14.7/8.12.4) with ESMTP id 26RMSkQq025945 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 27 Jul 2022 18:28:47 -0400
Message-ID: <f376e223-3191-cfb1-c398-216697253e4d@alum.mit.edu>
Date: Wed, 27 Jul 2022 18:28:46 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0
Content-Language: en-US
To: pierce@numeracle.com
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>
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
In-Reply-To: <031601d8a1ff$13f586e0$3be094a0$@numeracle.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-EOPAttributedMessage: 0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 9b981a2d-fb43-4488-0bca-08da701f6079
X-MS-TrafficTypeDiagnostic: BY5PR12MB4068:EE_
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: t3HyozxAU9zAB5SmaTlWea+5mmKViML9vX17/L70zKdnnbbCb3v1LkpexrWImJyzpubrt+fMsq4FQ1T881dRhPcI07fh0pr9t0e3W/3/2VVE8aINCHhd4k9USPviQxcZsyuIQhE3QRbkM7BKpXIP0WuIYvFrzoFpybgU8F9tOSe4T6oB4Qa8UWEYBV352N+L+ts4+tyGOJnojHH3j6zgw5NOorDsKgO+V75b/EkO4pE6ud4A+OCk143euvi8n/xzxObd3nBn9XicNz7oBfBF0r3Bw4ylEZx6xjinEklLN9h8vVSU4x19etqw13JahGJDESjUKqu+Sl5JCnoYNWazSx6UOh0aoi4x7Ygi7vNglc99+/Qam1wrrRSb38+XKWxQBh2vrD7FtfdEpQIHi85N+UurUlthV0pG4m6RE9+NAcsWVu75fvegRRehIrnAP3IV+G9UcZhlcAt1db943AXEgA5u+9/8AdnumvtScwNMnSEILZL1XNlj95QMbqWzh43XrLGoPtS2jWErI1DV4TZ+YNPf/mpsh9Bdv6QatmRr7Q4sxG9uSNqcDplYg4bwPWXSlsF2SrJVLjieXk5VlYt31ZSKISNjLNMx8XFw2Ik0UyoGrlyDADeYFXIBUOsRnddboLuMmC589CWI/x/+jnrfWJtzFaAOozW0799MzDDjdDJtYrpbhI+ZuELG+Z41p/YgeRwSNzQzEfj+q18keo3VpdlNtxRkmX2ShhQG+J9mHIY7eQxqM9YNAAnAYet5C/+AmvQ2pirOjJCQYI5eFIBnuMeu2sDctEHBDqMyGqZ5SYdMbR9ZHqQ33SFHPKH51pS+
X-Forefront-Antispam-Report: CIP:18.7.68.33; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:outgoing-alum.mit.edu; PTR:outgoing-alum.mit.edu; CAT:NONE; SFS:(13230016)(396003)(376002)(136003)(346002)(39860400002)(36840700001)(46966006)(53546011)(8936002)(75432002)(5660300002)(2906002)(41300700001)(4326008)(478600001)(86362001)(31696002)(47076005)(186003)(26005)(336012)(6916009)(8676002)(356005)(41320700001)(956004)(316002)(7596003)(2616005)(82740400003)(82310400005)(31686004)(40480700001)(70206006)(83380400001)(70586007)(786003)(36860700001)(43740500002); DIR:OUT; SFP:1101;
X-OriginatorOrg: alum.mit.edu
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jul 2022 22:28:48.9314 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 9b981a2d-fb43-4488-0bca-08da701f6079
X-MS-Exchange-CrossTenant-Id: 3326b102-c043-408b-a990-b89e477d582f
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3326b102-c043-408b-a990-b89e477d582f; Ip=[18.7.68.33]; Helo=[outgoing-alum.mit.edu]
X-MS-Exchange-CrossTenant-AuthSource: SN1NAM02FT0054.eop-nam02.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4068
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/gEI0a2yp8XFE6fC3pm97MC7Yq3A>
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: Wed, 27 Jul 2022 22:28:57 -0000

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