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

Keith Drage <drageke@ntlworld.com> Wed, 13 May 2020 12:25 UTC

Return-Path: <drageke@ntlworld.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 3582F3A0D97 for <sipcore@ietfa.amsl.com>; Wed, 13 May 2020 05:25:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ntlworld.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 zrX2Y1zLo7NE for <sipcore@ietfa.amsl.com>; Wed, 13 May 2020 05:25:28 -0700 (PDT)
Received: from know-smtprelay-omc-4.server.virginmedia.net (know-smtprelay-omc-4.server.virginmedia.net [80.0.253.68]) (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 095EF3A10A2 for <sipcore@ietf.org>; Wed, 13 May 2020 05:25:27 -0700 (PDT)
Received: from [192.168.0.17] ([81.97.229.170]) by cmsmtp with ESMTPA id YqRwjIlxUlYjAYqRwjinh1; Wed, 13 May 2020 13:25:25 +0100
X-Originating-IP: [81.97.229.170]
X-Authenticated-User: drageke@ntlworld.com
X-Spam: 0
X-Authority: v=2.3 cv=d6TbNyrE c=1 sm=1 tr=0 a=uMkRna9mZ6QJhuoPpEZIww==:117 a=uMkRna9mZ6QJhuoPpEZIww==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=283K6oDNAAAA:8 a=48vgC7mUAAAA:8 a=dRqFMkKFnnnXGC19Oh8A:9 a=QEXdDO2ut3YA:10 a=8c8-Wn2gAAAA:8 a=WjmIRXxJcTImafgfJNgA:9 a=VhMpQWFZPWSI2hSO:21 a=_W_S_7VecoQA:10 a=jdmypcmVXt6yuKJ2GOTk:22 a=w1C3t2QeGrPiZgrLijVG:22 a=4UqCWT6cI65jMZUUGvaY:22
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntlworld.com; s=meg.feb2017; t=1589372725; bh=mXuPyd2jVQ24SrVbRygoSG7t3uMCtuc5UMSW9vBKjbk=; h=Subject:To:References:From:Date:In-Reply-To; b=TygXiYdDLH1YoQJrfNKUZsDqoALk33vpZrMIxJZJI9LRIYXfnZiDTS/1lhcatGSo+ Y7sxb/8k2gD4ace9NxzovF11EePygO6OTazpn6T/be7FTdpOC6nhpMQKpQWIBpTYYk p1Bh2bUqTqUNK6Ro/0fo3UNk0snESNpN92k6hb3UoLDTMww/JFZv1cxhNNW4i3QcRg 87vjvN38DQN+LmGLQzWnijJWZbnHvUsmkyAgvYVoLpwxyiUTppVOQ0uOdge1R7zYkP cNb+kJmLv5dBpS2XggfoH+x2BBmZWQ8FlUdUlFFwDL0Qh+knl98sDM+mWvhwIPf3Ik OHZAGHjA8qNgg==
To: Samir Srivastava <srivastava_samir=40hush.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: Keith Drage <drageke@ntlworld.com>
Message-ID: <c12508c3-11c2-aa14-28c6-ecfea4b73bd5@ntlworld.com>
Date: Wed, 13 May 2020 13:25:23 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; 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="------------6B7FB7FBEC28EDD3C6DD119D"
Content-Language: en-GB
X-CMAE-Envelope: MS4wfApRG/U99Hx4Fsit/OvWzRBXysEPfTbJw5KY1OdNxCNXckgJX2Di5yxGcSOoIKJ6d6R0T7RP9RUKyDynodAZcLOiz+Zxp/MXigh7ER0SGa2KlfgrXkjT djlj+KH6/lnC5Amkb5OiM4j1s9kJqI6sSagTXk7+tV5kdSNOxNCmWRIPd7p/CQQbSPrcbN0gNxISEOZRFLX6V4J986qVUbi6apY5SAk59pIMDPonM33G2X1f
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/2c64A0D7gfonKOyGusadSTXLOpY>
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: Wed, 13 May 2020 12:25:32 -0000

To answer your question from my perspective (and others may have further 
reasons)

1)    Maintainability. Every new header field and every new message 
would require some representation of the table, which either needs to 
reproduce the entire table, or explain the extension part relates to the 
existing table. If the entire table is not reproduced, then obviously 
there is not just the RFC 3261 table, but every other table in every 
other specification. If the tables were also made normative, this would 
also raise the question of how many other specifications would need to 
be updated by creating a new specification with a table.

2)    Double specification. The tables are in themselves insufficient. 
In RFC 3261 we have tables, the notes to the tables, and the main text 
all providing data on the use of the headers. I hate double 
specification; right of the start of my standardisation career, in order 
to obtain consensus on a specification, we were forced to change the 
normative part of a specification to align with an incorrect informative 
annex. It is far better to state something clearly only once.

3)    Incomplete specification. The tables are insufficient to 
adequately define the usage. Reliance on the tables therefore encourages 
incomplete specification.

Keith

On 12/05/2020 11:54, 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
>