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

worley@ariadne.com (Dale R. Worley) Wed, 08 March 2017 04:02 UTC

Return-Path: <worley@alum.mit.edu>
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 7596A12946D for <sipcore@ietfa.amsl.com>; Tue, 7 Mar 2017 20:02:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.934
X-Spam-Level:
X-Spam-Status: No, score=-1.934 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_SOFTFAIL=0.665] autolearn=no 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 04jCF7lXXBmd for <sipcore@ietfa.amsl.com>; Tue, 7 Mar 2017 20:02:57 -0800 (PST)
Received: from resqmta-ch2-08v.sys.comcast.net (resqmta-ch2-08v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:40]) (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 4FDDB124281 for <sipcore@ietf.org>; Tue, 7 Mar 2017 20:02:57 -0800 (PST)
Received: from resomta-ch2-18v.sys.comcast.net ([69.252.207.114]) by resqmta-ch2-08v.sys.comcast.net with SMTP id lSoRcmIquy4bMlSoScUobW; Wed, 08 Mar 2017 04:02:56 +0000
Received: from hobgoblin.ariadne.com ([IPv6:2601:192:4603:9471:222:fbff:fe91:d396]) by resomta-ch2-18v.sys.comcast.net with SMTP id lSoQcC8vdpxUzlSoRcs4QE; Wed, 08 Mar 2017 04:02:55 +0000
Received: from hobgoblin.ariadne.com (hobgoblin.ariadne.com [127.0.0.1]) by hobgoblin.ariadne.com (8.14.7/8.14.7) with ESMTP id v2842sBJ031223; Tue, 7 Mar 2017 23:02:54 -0500
Received: (from worley@localhost) by hobgoblin.ariadne.com (8.14.7/8.14.7/Submit) id v2842rlC031217; Tue, 7 Mar 2017 23:02:53 -0500
X-Authentication-Warning: hobgoblin.ariadne.com: worley set sender to worley@alum.mit.edu using -f
From: worley@ariadne.com
To: Adam Roach <adam@nostrum.com>
In-Reply-To: <bd9201ed-f45c-9225-480e-1d23f8afc673@nostrum.com> (adam@nostrum.com)
Sender: worley@ariadne.com
Date: Tue, 07 Mar 2017 23:02:53 -0500
Message-ID: <87varkbeky.fsf@hobgoblin.ariadne.com>
X-CMAE-Envelope: MS4wfHgkXCZq5jQF7Dvlpd3VcUzlBqecB36lZ4/a5UaHTiOq4Rs4quoYowZATxETC+TPjKlQMK/5JWDkuf1IEYehoTJRIJl8plpsCAhn3g5NDoPi7eY7FDzY ELjXLdnykwXT8c1e+D7MeIyYA9QThKAifJ7jtBP7fkClkg4h25yP4Ou7MCfloka95Aw0up+B+PwISg==
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/cNyBQmZsa6vWp_OFHA-lk2VO_1I>
Cc: sipcore@ietf.org
Subject: Re: [sipcore] WGLC: draft-ietf-sipcore-name-addr-guidance
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.17
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, 08 Mar 2017 04:02:58 -0000

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.

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.

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?

(Perhaps I'm not understanding how the "Reference" column of that table
is to be used.)

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.

[END]