Re: [sipcore] WGLC: draft-ietf-sipcore-name-addr-guidance

Robert Sparks <rjsparks@nostrum.com> Wed, 15 March 2017 18:55 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 9814C1317BF for <sipcore@ietfa.amsl.com>; Wed, 15 Mar 2017 11:55:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.88
X-Spam-Level:
X-Spam-Status: No, score=-1.88 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 w-m8_TzAFxEH for <sipcore@ietfa.amsl.com>; Wed, 15 Mar 2017 11:55:56 -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 0C54C1317B0 for <sipcore@ietf.org>; Wed, 15 Mar 2017 11:55:56 -0700 (PDT)
Received: from unescapeable.local ([47.186.26.91]) (authenticated bits=0) by nostrum.com (8.15.2/8.15.2) with ESMTPSA id v2FIttN4012432 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for <sipcore@ietf.org>; Wed, 15 Mar 2017 13:55:55 -0500 (CDT) (envelope-from rjsparks@nostrum.com)
X-Authentication-Warning: raven.nostrum.com: Host [47.186.26.91] claimed to be unescapeable.local
To: sipcore@ietf.org
References: <87varkbeky.fsf@hobgoblin.ariadne.com>
From: Robert Sparks <rjsparks@nostrum.com>
Message-ID: <8d7c905c-3c4f-7475-4e89-5cfd66a07602@nostrum.com>
Date: Wed, 15 Mar 2017 13:55:55 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <87varkbeky.fsf@hobgoblin.ariadne.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/kAzvCyI9KuqK9zdBAF5Z_ZnK0BI>
Subject: Re: [sipcore] WGLC: draft-ietf-sipcore-name-addr-guidance
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.22
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, 15 Mar 2017 18:55:58 -0000


On 3/7/17 10:02 PM, Dale R. Worley wrote:
> Of course, I favor approval of draft-ietf-sipcore-name-addr-guidance.
>
> I do think there are some nits that need to be resolved.  Though since I
> haven't been following this draft closely, these points may already have
> been discussed.
>
> Dale
> ----------------------------------------------------------------------
> Abstract
>
>     It
>     also updates those extension SIP header fields that use the
>     alternative to clarify that the constraint applies (RFCs 3325, 3515,
>     3892, 4508, 5002, 5318, 5360, and 5502).
>
> This isn't parallel to the 1st sentence of the paragraph, where the
> object of "updates" is "RFC3261".
>
> Perhaps
>
>     It also updates the RFCs (3325, 3515, 3892, 4508, 5002, 5318,
>     5360, and 5502) that define the extension SIP header fields that
>     use the alternative to clarify that the constraint applies.
I'll use a variation of that.
>
> 1.  Introduction
>
>     It is important to note that a message formed without honoring the
>     constraint will still be syntactically valid, but would be
>     interpreted differently.
>
> This is a subtle point...  If the <...> is omitted, the header will
> necessarily still be syntactically valid according to the BNF, reading
> the original URI as an addr-spec -- the BNF is ambiguous in that way.
> What *might* happen is that the header becomes parsable according to
> the BNF in a different way also, one that parses the URI as multiple
> elements.  E.g.,
>
>      From: sip:10.0.0.1,sip:x@10.0.0.0
>
> can be either parsed as one URI with user "10.0.0.1,sip" and password
> "x", or two URIs, one "sip"10.0.0.1" and one "sip:x@10.0.0.0.
>
> OTOH,
>
>      From: sip:10.0.0.1,@10.0.0.0
>
> can only be parsed with the BNF as a single URI, because "@10.0.0.0"
> doesn't parse as a URI.
>
> So it's more accurate to say
>
>     It is important to note that a header formed without honoring the
>     constraint will still be syntactically valid, but might be
>     syntactically ambiguous and interpreted differently than it was
>     formed.
s/formed/intended/?

But I don't think changing will to might is correct.

Can you construct a case where the refined guidance says you have to use 
the <>, and if  leave them out you get the same interpretation?


>
> 4.  IANA Considerations
>
>     This memo has no considerations for IANA.
>
> Shouldn't the new RFC be listed in the IANA table of SIP header fields
> (http://www.iana.org/assignments/sip-parameters/sip-parameters.xhtml#sip-parameters-2)
> as a reference for these header fields:
>
>       P-Asserted-Identity
>       P-Preferred-Identity
>       P-Profile-Key
>       P-Refused-URI-List
>       P-Served-User
>       Permission-Missing
>       Refer-To
>       Referred-By
>       Reply-To
>
> And while we're at it, shouldn't RFC 4508 be a reference for Refer-To?
Good question, but not this document's problem, and I don't remember if 
using Updates for this doc was discussed at the time (it should have 
been at least discussed).  In any case, I propose the answer is no, for 
the reasons below.
>
> (Perhaps I'm not understanding how the "Reference" column of that table
> is to be used.)
So this is hard.

My opinion is that it would be a mistake to try to mark updates in the 
iana registry as you suggest.
Rather, the registry should point to the main defining document, and 
only the main defining document.
Readers can follow the Updates links from the RFC pages.
(Note that we _have_ changed that registry to reflect Obsoletes, which 
is consistent with the above.)

My rational for that opinion is that we already have the Updates 
metadata in two databases (the RFC Editor and the datatracker). We have 
had, an expect will continue to have, conversations about moving to one 
authoritative database for that. If we were to try to also track this in 
the IANA registries, that unification gets even harder.

I also note that if we _were_ to update the IANA registry column as you 
suggest, it's unusually easy
to figure out which ones to modify for this particular draft's case. It 
becomes much murkier for the
general case. Why, for example, would you not list 6141 along with every 
row that says 3261 (at least
for any header field involved in reINVITE and target-refresh request 
handling). That could lead, in the
extreme to a lot of noise, with most of the rows in that table saying:
[RFC3261][RFC6665][RFC4320][RFC3265][RFC5954][RFC5630][RFC5393][RFC7463][RFC5626][RFC6878][RFC3853][RFC7462][RFC6026][RFC5621][RFC5922][RFC4916][RFC6141]

I really think the right way to approach this is to keep the table as it 
is now.


>
> 5.  Security Considerations
>
>     One pre-existing consideration is worth reiterating:
>     messages produced without honoring the constraint will be mis-
>     interpreted by the receiving element.
>
> This should say "may be mis-interpreted", as discussed in the item for
> section 1.
Again, I don't think the change from will to may is correct.
>
> [END]
>
> _______________________________________________
> sipcore mailing list
> sipcore@ietf.org
> https://www.ietf.org/mailman/listinfo/sipcore