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

pierce@numeracle.com Wed, 27 July 2022 14:24 UTC

Return-Path: <pierce@numeracle.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 825CEC35E9A8 for <sipcore@ietfa.amsl.com>; Wed, 27 Jul 2022 07:24:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable 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 q1L-6UCsKFF5 for <sipcore@ietfa.amsl.com>; Wed, 27 Jul 2022 07:24:20 -0700 (PDT)
Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) (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 D4D26C1BED35 for <sipcore@ietf.org>; Wed, 27 Jul 2022 07:22:07 -0700 (PDT)
Received: by mail-ot1-x32d.google.com with SMTP id c20-20020a9d4814000000b0061cecd22af4so8497089otf.12 for <sipcore@ietf.org>; Wed, 27 Jul 2022 07:22:07 -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=EMbe/m+k/jkTzCNTMveIm5sM4lWxypUC+WBjx/xMO8I=; b=0c6eIqE+CcDDEbjgGUNZK5/PSeq70cFAOSbYm6IYE3Kpl1amywHVgphS5mOP/FQRsY xv3oXjDpmn4R1Q2wV8jyWl/Rj39Z+oWsSJMWHr9PSApncca3T286ft230ceFoMp75SRo qfVyStJg86ZL/9h3VL9KCm4TLRui6TV5qtvsanpJX61F75GSGuD2i1d3fz6HQRNX0jg7 LZPqvxVVcLib5Iu59OLgqTkHMfK/TtrHnDayVcOkpdvSRwsT+yXduqyBPykFTbU2nPIP 9LZEu0kzz2yt7gZJRke0WatnKAs0e7EqWrHrNgYRcJ/5cozlnCINbfcyxzXEYyvF6ni4 i6ng==
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=EMbe/m+k/jkTzCNTMveIm5sM4lWxypUC+WBjx/xMO8I=; b=G6o7OQNlfkqnxA36o8V9fPEUhURWoGmpQ4ZbFgVOm5BBX/zFYratWGOwql9tNV06lW hRH0wVvV+7jLK7wF6TwH/iCsz1S+/WyiEj4xphnDVKccbRpLGL8TjdVd49fYDcocgys2 7xuV5f7fKBc5NbxXzw+7tAFxkbdZjYCbEyUFh1jfh026vSB1tE8/hC5HfMGMDYb5Q4yA EusFYkAyE97nkiTpgRxWqI9FmTc5cxwnlnzUsZcvOceHcwMiOfmW/9W/FSHc0euOkCzR Qwa5arNGCoVm0w9onuovUpcUUXJVPTToLKCTXAokhxbuJLZK7ULiqdmCA/HOeKuy9omR iX4w==
X-Gm-Message-State: AJIora+gZx0c0V2/HVqxspB8PmoQlMKJBB9Vr1CIQFSSlxJrFVWkuGtV dc/qPbcuEkWsr4lG2G4vjlB+pA==
X-Google-Smtp-Source: AGRyM1sk2ifvlB7Ac3jXh5pa44MUrMDeiCdndUozyDyd3fVPhOpaPldmV1zmGYKfH/FvhI/s1q1yFw==
X-Received: by 2002:a05:6830:314f:b0:61c:bc96:5a42 with SMTP id c15-20020a056830314f00b0061cbc965a42mr8399640ots.346.1658931726441; Wed, 27 Jul 2022 07:22:06 -0700 (PDT)
Received: from NumeracleLegion ([2605:a601:ae1c:4300:5c0a:eea2:bdda:dc2a]) by smtp.gmail.com with ESMTPSA id m22-20020a4ad516000000b0043575a93b1fsm7204238oos.30.2022.07.27.07.22.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jul 2022 07:22:06 -0700 (PDT)
From: pierce@numeracle.com
To: sipcore@ietf.org, stir@ietf.org
Cc: pierce@numeracle.com
References: <mailman.125.1658862003.55613.sipcore@ietf.org>
In-Reply-To: <mailman.125.1658862003.55613.sipcore@ietf.org>
Date: Wed, 27 Jul 2022 09:22:06 -0500
Message-ID: <017401d8a1c4$402a5e10$c07f1a30$@numeracle.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQHqwszZSudtz9nUqdxUNs8G4k4v761t+Lmw
Content-Language: en-us
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/a5Cr-DRmH1VAKSEUqJMunlcMNLc>
Subject: Re: [sipcore] sipcore Digest, Vol 158, Issue 1
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.39
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: Wed, 27 Jul 2022 14:24:24 -0000

In the STIR WG discussion yesterday there was commentary about having
STIR-specific error information in REASON.

It occurred to me as people discussed what an STI-AS can do with the
information in a REASON from an STI-VS that an STI-AS is rarely in the call
path of an error response to the signature placed there by the STI-AS.

I point this out so that people can be thinking about this aspect.

An STI-VS doesn't typically tell the STI-AS "here's what is wrong with what
you put in the SIP Identity header or certificate chain".

Most of the time, the STI-VS is going to be telling the originating UAC,
"here is what is wrong with what your (3rd party) STI-AS put in the SIP
Identity header or certificate chain".

Also note that this use of REASON has (does? will?) cause unnecessary call
failures.

In the introduction to RFC 3326, it says:

   Clients and servers are free to ignore this header field.  It has no
   impact on protocol processing.

The 2nd sentence is egregiously false.  And can someone explain how to code
"free to ignore"?  Make a choice to ignore using a random number generator
for entertainment?  Always ignore?  Never ignore?  Always write new code to
adapt to every possible new error?

In my experience, a certain vendor chose to kill calls which had a
STIR/SHAKEN 4xx in a REASON header because they could.  i.e., they didn't
understand the 4xx but it was a 4xx which therefore indicated the expected
final response would be a call failure, so they killed the calls.

Calls which would have otherwise completed, instead failed because of an
unknown 4xx in the REASON header. This caused Network Operations staff to
write header manipulation rules which stripped the offending inbound error
messages at the edge of the network.  An argument with the vendor about
killing otherwise good calls led to a discussion of paying for and
scheduling new development which, as far as I know, never happened because
it was cheaper to strip the error messages at the edge of the network.

RFC 3326 correctly observed:

... status codes that provide information about the
   user and about session parameters are typically useful for
   implementing services whereas status codes intended to report errors
   about a request are typically useful for debugging purposes.

So, I will suggest that errors in a REASON that are intended to be used for
"debugging purposes" and which should not result in calls being killed
unnecessarily, should only ever be 1xx.  I think this implies ALL error
messages related to STIR/SHAKEN in a REASON should be 1xx.


-----Original Message-----
From: sipcore <sipcore-bounces@ietf.org> On Behalf Of
sipcore-request@ietf.org
Sent: Tuesday, July 26, 2022 2:00 PM
To: sipcore@ietf.org
Subject: sipcore Digest, Vol 158, Issue 1

Send sipcore mailing list submissions to
	sipcore@ietf.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://www.ietf.org/mailman/listinfo/sipcore
or, via email, send a message with subject or body 'help' to
	sipcore-request@ietf.org

You can reach the person managing the list at
	sipcore-owner@ietf.org

When replying, please edit your Subject line so it is more specific than
"Re: Contents of sipcore digest..."


Today's Topics:

   1. I-D Action: draft-ietf-sipcore-multiple-reasons-00.txt
      (internet-drafts@ietf.org)
   2. Re: I-D Action: draft-ietf-sipcore-multiple-reasons-00.txt
      (Robert Sparks)


----------------------------------------------------------------------

Message: 1
Date: Mon, 25 Jul 2022 13:31:37 -0700
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: sipcore@ietf.org
Subject: [sipcore] I-D Action:
	draft-ietf-sipcore-multiple-reasons-00.txt
Message-ID: <165878109730.56605.6408785536974654600@ietfa.amsl.com>
Content-Type: text/plain; charset="utf-8"


A New Internet-Draft is available from the on-line Internet-Drafts
directories.
This draft is a work item of the Session Initiation Protocol Core WG of the
IETF.

        Title           : Multiple SIP Reason Header Field Values
        Author          : Robert Sparks
  Filename        : draft-ietf-sipcore-multiple-reasons-00.txt
  Pages           : 4
  Date            : 2022-07-25

Abstract:
   The SIP Reason Header Field as defined in RFC 3326 allows only one
   Reason value per protocol value.  Practice shows it is useful to
   allow multiple values with the same protocol value.  This update to
   RFC 3326 allows multiple values for an indicated registered protocol
   when that protocol defines what the presence of multiple values
   means.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-sipcore-multiple-reasons/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-sipcore-multiple-reasons-00.html


Internet-Drafts are also available by rsync at
rsync.ietf.org::internet-drafts




------------------------------

Message: 2
Date: Mon, 25 Jul 2022 17:05:19 -0500
From: Robert Sparks <rjsparks@nostrum.com>
To: sipcore@ietf.org
Subject: Re: [sipcore] I-D Action:
	draft-ietf-sipcore-multiple-reasons-00.txt
Message-ID: <c3b5fd61-d5f7-a621-b3be-7c608a19ec78@nostrum.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

Resending from the correct address:

On 7/25/22 4:07 PM, Robert Sparks wrote:
> Hello sipcore:
> 
> This is just the renaming of draft-sparks-sipcore-multiple-reasons to 
> draft-ietf-sipcore-multiple-reasons.
> 
> There has been a lot of feedback about some short things to add, and I 
> am working on those as a 01. This -00 is here to make comparisons 
> later easier.
> 
> Right now, I'm keeping the source at
> https://github.com/rjsparks/draft-ietf-sipcore-multiple-reasons. PRs 
> are welcome. I'm happy to move that repo to a sipcore github 
> organization should the group choose to have one.
> 
> RjS
> 
> On 7/25/22 3:31 PM, internet-drafts@ietf.org wrote:
>> A New Internet-Draft is available from the on-line Internet-Drafts 
>> directories.
>> This draft is a work item of the Session Initiation Protocol Core WG 
>> of the IETF.
>>
>> ???????? Title?????????? : Multiple SIP Reason Header Field Values 
>> ???????? Author????????? : Robert Sparks ?? Filename??????? : 
>> draft-ietf-sipcore-multiple-reasons-00.txt
>> ?? Pages?????????? : 4
>> ?? Date??????????? : 2022-07-25
>>
>> Abstract:
>> ??? The SIP Reason Header Field as defined in RFC 3326 allows only 
>> one ??? Reason value per protocol value.? Practice shows it is useful 
>> to ??? allow multiple values with the same protocol value.? This 
>> update to ??? RFC 3326 allows multiple values for an indicated 
>> registered protocol ??? when that protocol defines what the presence 
>> of multiple values ??? means.
>>
>>
>> The IETF datatracker status page for this draft is:
>> https://datatracker.ietf.org/doc/draft-ietf-sipcore-multiple-reasons/
>>
>> There is also an HTML version available at:
>> https://www.ietf.org/archive/id/draft-ietf-sipcore-multiple-reasons-0
>> 0.html
>>
>>
>>
>> Internet-Drafts are also available by rsync at 
>> rsync.ietf.org::internet-drafts
>>
>>



------------------------------

Subject: Digest Footer

_______________________________________________
sipcore mailing list
sipcore@ietf.org
https://www.ietf.org/mailman/listinfo/sipcore


------------------------------

End of sipcore Digest, Vol 158, Issue 1
***************************************