Re: [sipcore] Warren Kumari's No Objection on draft-ietf-sipcore-multiple-reasons-01: (with COMMENT)

Robert Sparks <rjsparks@nostrum.com> Thu, 27 October 2022 19:11 UTC

Return-Path: <rjsparks@nostrum.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 8B7C7C14CF14; Thu, 27 Oct 2022 12:11:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.29
X-Spam-Level:
X-Spam-Status: No, score=-1.29 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, KHOP_HELO_FCRDNS=0.398, NICE_REPLY_A=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=nostrum.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 zUleAGbuQ0hv; Thu, 27 Oct 2022 12:11:27 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 EDB08C14CE20; Thu, 27 Oct 2022 12:11:26 -0700 (PDT)
Received: from [192.168.1.102] ([47.186.48.51]) (authenticated bits=0) by nostrum.com (8.17.1/8.17.1) with ESMTPSA id 29RJBJRm073841 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 27 Oct 2022 14:11:20 -0500 (CDT) (envelope-from rjsparks@nostrum.com)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nostrum.com; s=default; t=1666897882; bh=l94vOvPKfhEj+f2UhokUN2heZfSKWhoj/o9Mo4uuXbk=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=WhKMsoZFxbVa98fJ4Cu6rXChJI1eWu3axrcu/9aUga/oo21eLrxedEB9I7QRVtUdb ZKk16oIFDNWunXV5ZrywHpUHC+n0k8UeCtmGfsoO0h0HZwwWhhmqPDSeEKPylwjK2Z BA9E3tH75ikTv0laryUCf3DZ8GxnqVBm5wZSqz5I=
X-Authentication-Warning: raven.nostrum.com: Host [47.186.48.51] claimed to be [192.168.1.102]
Message-ID: <4e868042-50b6-a752-1e7d-975836774090@nostrum.com>
Date: Thu, 27 Oct 2022 14:11:14 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.3
Content-Language: en-US
To: Paul Wouters <paul.wouters@aiven.io>
Cc: Warren Kumari <warren@kumari.net>, The IESG <iesg@ietf.org>, draft-ietf-sipcore-multiple-reasons@ietf.org, sipcore-chairs@ietf.org, sipcore@ietf.org, br@brianrosen.net
References: <53f4a763-e2dd-be2c-9617-8c0aa28b847d@nostrum.com> <AC44E4F4-3695-44A3-85C7-C19A19945D9F@aiven.io>
From: Robert Sparks <rjsparks@nostrum.com>
In-Reply-To: <AC44E4F4-3695-44A3-85C7-C19A19945D9F@aiven.io>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/1yPXdjt2eQ4cTpc4h6JN5M7Ky2k>
Subject: Re: [sipcore] Warren Kumari's No Objection on draft-ietf-sipcore-multiple-reasons-01: (with COMMENT)
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: Thu, 27 Oct 2022 19:11:30 -0000

On 10/27/22 11:55 AM, Paul Wouters wrote:
> On Oct 27, 2022, at 10:34, Robert Sparks <rjsparks@nostrum.com> wrote:
>> Inline.
>>
>>> I was going to ballot DISCUSS on this, but I see that Paul W has beat me to the
>>> punch.
>>>
>>> If a "legacy" implementation gets multiple values for a protocol, it is likely
>>> to be OK with this, or is it likely to explode in a massive fireball? I have
>>> absolutely no idea how many implementations there are, how restrictive their
>>> parsers are, etc (AKA, "Nah, we thought about this, and it's all good" is
>>> enough to satisfy me).
>> Yes, we thought about this.
>>
>> We tested this at SIPits back in the day, and implementations ignore any Reason header field values with protocols they don't know about, even if there are multiple values for the same unknown-to-them protocol.
> But that statement doesn’t cover multiple values for protocols they do understand. Do they pick the first ? Just overwrite so it ends up picking the last one ?

If you are asking about older implementations that only know of the 
protocols discussed in RFC3326 (which talks about using SIP and ISUP 
(Q.850)) receiving a message that has, say, more than one ISUP Reason 
header field value: This was tested and things did not just crash. 
RFC3326, like most of SIP, doesn't define what to do if something 
violates a MUST/MUST NOT, but testing showed that reasonable things 
happened, usually in the form of ignoring both values Some 
implementations would 4xx the request, which is allowed, but silly in 
the long run. None did something like "pick one and pretend the other 
didn't exist". But all of that is entirely RFC3326's topic to talk 
about, not this document, which is explicitly not a bis. This isn't the 
place to start trying to add clarification to RFC3326.

If you are asking about older implementations receiving multiple Reason 
header field values with a protocol they are unfamiliar with, we tested 
that, and they universally ignored them, even if there were multiples.

Newer implementations, I'm told informally, are getting tested in labs, 
and the industry that is going to be deploying, e.g, 
https://datatracker.ietf.org/doc/draft-ietf-stir-identity-header-errors-handling/ 
are not expressing concerns with the state of the implementations or the 
efficacy of deployment.


> Hence my question on whether ordering could matter.
>
> Paul