Re: [sipcore] Deprecation of tabular format of header fields || Was Re: Session Timers (RFC 4028) for REFER, PUBLISH, MESSAGE not defined

Adam Roach <adam@nostrum.com> Tue, 12 May 2020 16:50 UTC

Return-Path: <adam@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 D81923A0659 for <sipcore@ietfa.amsl.com>; Tue, 12 May 2020 09:50:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, HTML_MESSAGE=0.001, KHOP_HELO_FCRDNS=0.4, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zck-2bv96vil for <sipcore@ietfa.amsl.com>; Tue, 12 May 2020 09:50:57 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (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 EA10C3A05AA for <sipcore@ietf.org>; Tue, 12 May 2020 09:50:56 -0700 (PDT)
Received: from [172.17.121.48] (76-218-40-253.lightspeed.dllstx.sbcglobal.net [76.218.40.253]) (authenticated bits=0) by nostrum.com (8.15.2/8.15.2) with ESMTPSA id 04CGoraK045774 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 12 May 2020 11:50:54 -0500 (CDT) (envelope-from adam@nostrum.com)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nostrum.com; s=default; t=1589302254; bh=VxwVggAIAXWU5fTJ5XFUUBZfUrJlwUyXZAYQJWJiOW0=; h=Subject:To:References:From:Date:In-Reply-To; b=cD3T/l5A+9BiXMZ/eEYYWSafru5/Ljc0rUPG2gl/Xvkilok/m0Ros/trcm5tvdEGl 0N/DngiW2aU2/RgTkOIx4fy/myfFYzp8UUcvWSC4RexPYfWTds6GYsU8S7PZnyjDbU YaPJZlYTqeRZCeytLvGuyj5bgXWjuRBHlcKunWhc=
X-Authentication-Warning: raven.nostrum.com: Host 76-218-40-253.lightspeed.dllstx.sbcglobal.net [76.218.40.253] claimed to be [172.17.121.48]
To: Samir Srivastava <srivastava_samir=40hush.com@dmarc.ietf.org>, Keith Drage <drageke=40ntlworld.com@dmarc.ietf.org>, sipcore@ietf.org
References: <20200510131235.8E2A6C0171@smtp.hushmail.com> <854d7cef-03eb-8974-9159-c493df015996@alum.mit.edu> <8414733e-a5d9-2502-6a89-d6460d931be9@ntlworld.com> <20200511153943.792F620111@smtp.hushmail.com> <32547453-1350-b8a2-d7a5-fc253cf3eaf4@ntlworld.com> <20200512105430.7F9542011C@smtp.hushmail.com>
From: Adam Roach <adam@nostrum.com>
Message-ID: <1169dae0-f8dc-506d-f242-d274b2f438b4@nostrum.com>
Date: Tue, 12 May 2020 11:50:46 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0
MIME-Version: 1.0
In-Reply-To: <20200512105430.7F9542011C@smtp.hushmail.com>
Content-Type: multipart/alternative; boundary="------------8F7C058F2E72D3D5B61FFC4D"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/QivW6gLSwgQcdUDN49TNF49wrgU>
Subject: Re: [sipcore] Deprecation of tabular format of header fields || Was Re: Session Timers (RFC 4028) for REFER, PUBLISH, MESSAGE not defined
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 12 May 2020 16:50:59 -0000

The executive summary is that there was strong consensus not to attempt 
to maintain Tables 2 and 3 in RFC 3261, and many of the reasons for not 
doing so have become even stronger as the protocol has grown. If you're 
interested in the details, you can find the mailing list discussion by 
reading the messages from February through April 2010 here:

https://mailarchive.ietf.org/arch/search/?q=%22table%202%22&f_list=sipcore

There was substantial discussion of the topic at the in-person meeting 
in Anaheim; you can listen to the audio recordings here:

http://www.softarmor.com/sipcore/IETF77/audio/table2-sipcore1.mp3
http://www.softarmor.com/sipcore/IETF77/audio/table2-sipcore2.mp3

...and examine the slides here:

https://www.ietf.org/proceedings/10mar/slides/sipcore-2.pdf

/a

On 5/12/2020 5:54 AM, Samir Srivastava wrote:
> Hi Keith Drage,
>
>   The below does not answer reason for deprecating tabular format i.e. 
> what are things which cannot be captured in tabular format.
>
>  Thanks
> Samir Srivastava
> https://samirsrivastava.typepad.com/
>
> On 5/11/2020 at 9:32 PM, "Keith Drage" 
> <drageke=40ntlworld.com@dmarc.ietf.org> wrote:
>
>     Most header fields are included for a specific purpose entirely
>     unassociated with what mesage it is in.
>
>     i.e. things like
>
>     -    included because this message creates a dialog
>
>     -    included because this message ends a dialog
>
>     -    included becases this message is the request in a transaction
>
>     -    included because this message responds to a transaction
>
>     -    included because I can include it in any request
>
>     etc.
>
>     Those concepts have existed since RFC 3261.
>
>     The exceptions tend to be header fields that are defined along
>     with a MESSAGE to carry them, i.e. in the same RFC.
>
>     I am not suggesting the definers of new messages should not give
>     due consideration, only that in most cases they will not need to
>     add any extra requirements to their new RFC, because all the
>     considerations could already be in the header field defining RFC.
>
>
>     Keith
>
>     P.S. I would note that you cannot go on the date of publication -
>     many RFCs take years to get through publication request to
>     published while others proceed quicker.
>
>
>
>     On 11/05/2020 16:39, Samir Srivastava wrote:
>
>         Hi,
>
>           Please find my replies Inline below prefixed with SS>>
>
>         Thanks
>         Samir Srivastava
>         https://samirsrivastava.typepad.com/
>
>         On 5/11/2020 at 2:59 AM, "Keith Drage"
>         <drageke=40ntlworld.com@dmarc.ietf.org> wrote:
>
>             I dont know whether we reached something we can formally
>             describe as a
>             decision, but the overall opion was that it should be the
>             text that
>             should normatively describe what the requirements were for
>             the actions
>             in respect of inclusion in messages. If these tables were
>             included, they
>             should be clearly described as informative.
>             SS>> I am of the opinion that we need header, message etc
>             in the tabulated form. SIP Parser developers cannot be
>             expected to know the minute details of applicability of
>             the messages and headers etc. SIP architect in the vendor
>             comapnies might be required to give the headers and
>             messages in the tabulated form to SIP Parser developers.
>             If we all agree in the tabulated form as SPEC Writers, it
>             will be good service to the community. What are the
>             difficulties considered which made us to deprecate the
>             table format?
>
>             Further, the normative text should be adequately worded to
>             encompass the
>             understanding what happened when new messages were
>             invented - so rather
>             than specifically listing messages, it should probably
>             talk about
>             messages that create a dialog, etc.
>             SS>> PUBLISH RFC https://tools.ietf.org/html/rfc3903
>                      REFER RFC https://tools.ietf.org/html/rfc3515
>                       MESSAGE RFC https://tools.ietf.org/html/rfc3428
>
>               They all were invented before RFC 4028.. They were NOT
>             developed after Session Timers. So it is left because of
>             mistake. 4028bis and RFC does not mention PUBLISH, REFER,
>             MESSAGE in the text anywhere. SUBSCRIBE, NOTIFY, PRACK,
>             CANCEL, REGISTER, OPTIONS are only defined in the table
>             nowhere in text. If the added headers (MIN-SE,
>             SEssion-Expires are found in these message should be
>             reject the REQUEST or accept the by following "be lenient
>             what one accepts". Some guideline needs to be specified.
>               Developer of new method need to look each header,
>             message etc in their respective RFC. What one can specify
>             for method foo for header foobar in advance?
>
>
>
>
>             Keith
>
>
>             On 10/05/2020 17:59, Paul Kyzivat wrote:
>             > On 5/10/20 9:12 AM, Samir Srivastava wrote:
>             >> Hi,
>             >>
>             >>    The table mentioned in Section 4 in RFC 4028 does
>             not contain
>             >> entries for REFER, PUBLISH and MESSAGE methods Below is
>             the table
>             >> from Section 4
>             >>
>             >>
>             >>
>             +---------------+-----+-----+---+---+---+---+---+---+---+---+---+---+
>             >>     |     Header
>             |where|proxy|ACK|BYE|CAN|INV|OPT|REG|PRA|UPD|SUB|NOT|
>             >>
>             +---------------+-----+-----+---+---+---+---+---+---+---+---+---+---+
>             >>     |Session-Expires|  R  | amr | - | - | - | o | - | -
>             | - | o | - |
>             >> - |
>             >>     |               |     |     |   | |   |   |   |  
>             |   | |   |   |
>             >>     |Session-Expires| 2xx | ar  | - | - | - | o | - | -
>             | - | o | - |
>             >> - |
>             >>     |               |     |     |   | |   |   |   |  
>             |   | |   |   |
>             >>     |Min-SE         |  R  | amr | - | - | - | o | - | -
>             | - | o | - |
>             >> - |
>             >>     |               |     |     |   | |   |   |   |  
>             |   | |   |   |
>             >>     |Min-SE         | 422 |     | - | - | - | m | - | -
>             | - | m | - |
>             >> - |
>             >>
>             +---------------+-----+-----+---+---+---+---+---+---+---+---+---+---+
>             >>
>             >>    They are not applicable for these, but it would have
>             been better
>             >> if it is said categorically.
>             >
>             > IIRC, quite a long time ago it was decided that this
>             table in 3261 was
>             > a bad idea, because it is essentially a summary of
>             normative language
>             > in other sections of the document and is necessarily an
>             approximation.
>             >
>             > After that, other work that updates and extends 3261 has
>             been
>             > inconsistent it whether it updates the table or not.
>             >
>             > What we should be careful of is that the in progress
>             update to session
>             > timers is clear, normatively and expositively,  one way
>             or another.
>             >
>             >     Thanks,
>             >     Paul
>             >
>             > _______________________________________________
>             > sipcore mailing list
>             > sipcore@ietf.org
>             > https://www.ietf.org/mailman/listinfo/sipcore
>
>             _______________________________________________
>             sipcore mailing list
>             sipcore@ietf.org
>             https://www.ietf.org/mailman/listinfo/sipcore
>
>
>         _______________________________________________
>         sipcore mailing list
>         sipcore@ietf.org
>         https://www.ietf.org/mailman/listinfo/sipcore
>
>
> _______________________________________________
> sipcore mailing list
> sipcore@ietf.org
> https://www.ietf.org/mailman/listinfo/sipcore