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

Yehoshua Gev <yoshigev@gmail.com> Mon, 27 March 2017 15:08 UTC

Return-Path: <yoshigev@gmail.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 6444B128954 for <sipcore@ietfa.amsl.com>; Mon, 27 Mar 2017 08:08:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 az4UcpauH6Yz for <sipcore@ietfa.amsl.com>; Mon, 27 Mar 2017 08:08:41 -0700 (PDT)
Received: from mail-qk0-x22e.google.com (mail-qk0-x22e.google.com [IPv6:2607:f8b0:400d:c09::22e]) (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 524AE128854 for <sipcore@ietf.org>; Mon, 27 Mar 2017 08:08:41 -0700 (PDT)
Received: by mail-qk0-x22e.google.com with SMTP id d10so35011605qke.1 for <sipcore@ietf.org>; Mon, 27 Mar 2017 08:08:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=k+/EIdYmquTJzg8NjN4T0Kqb6QvDf9onha8fBxMGyeE=; b=MsnN4MPzbBLcaQKX/bI2YZpmrvKCjsdBRWdtQ7mGBpNzkr8ewuSvRsK0bd989z2Cz8 gMT4y5NmbfXdkHnvsL9Pm35HfB4MPlNcxGR+JlRU3BIoMjr5aC33mlGsY9l3LuBXkx/y pz6oqPAnOgx60v5xZHuZkamqEX44zIc9MQxOCD1ma49O6W3sxsfBtvQ5coJ3zWECVmTU 4GeBuP1qME8Kwcv/d+stlU6Ie4g/BK37vuGNEVM4umrgnNRHqrxWaIKfU1CLXdXZJa3p bwCCF3tXk/mFUYY0Jhef0OBUr+fk9UFmvdWVmTuqPGCqZbQWdfmm0+7Im1yeGzboyHTL 5D2A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=k+/EIdYmquTJzg8NjN4T0Kqb6QvDf9onha8fBxMGyeE=; b=Vw96K25NBfdyibG/atYu1gR/Jo3E/3zcQwWGOgcG48nnL3C/2ItzLIR8g4ghgWz1Te mnyOn2effwngHHE9Qt6y+9/L3MGl5D3ia+a400eV30vRf3DvthEutkVO0uWBvtohQ9A4 CkQHOzUbCKj2MnkoBn7Putq8+6hQ2p7kWoIHeASP5MHMJQcCfR2Nlt3fE6EoK29l4WzE 5sc3C9bI57mOiFlCH+a99gRj9pazHnB5NLvu7gcH1vX7qj1LFEZ8CZR6OZW4bSIoLX0O eHdN60KBWn71Y468/R1dKJKotfCn6TbvCfmk3GP4DvfRdEfb+aW4MPbkFdXeEiwqBYZH DYPA==
X-Gm-Message-State: AFeK/H12C/cshZloCCZNjh9yJraE84bb95rqmYzA1urZ3/ocqYphVtwSH+/XCh1d9CNEDd2LGlmKukwG+98rsQ==
X-Received: by 10.55.151.199 with SMTP id z190mr22388223qkd.138.1490627320390; Mon, 27 Mar 2017 08:08:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.150.171 with HTTP; Mon, 27 Mar 2017 08:08:39 -0700 (PDT)
In-Reply-To: <87lgs5ypgh.fsf@hobgoblin.ariadne.com>
References: <8d7c905c-3c4f-7475-4e89-5cfd66a07602@nostrum.com> <87lgs5ypgh.fsf@hobgoblin.ariadne.com>
From: Yehoshua Gev <yoshigev@gmail.com>
Date: Mon, 27 Mar 2017 18:08:39 +0300
Message-ID: <CAF_j7yYeRKCbg=4dOVozM5ocPoGWfaF6nFDoZE4tJcdz6xURCg@mail.gmail.com>
To: "Dale R. Worley" <worley@ariadne.com>
Cc: Robert Sparks <rjsparks@nostrum.com>, sipcore <sipcore@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c07d4f2ecaad3054bb7b706"
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/eggxedOsCZ-ipGriKoqMLTMfJHU>
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: Mon, 27 Mar 2017 15:08:43 -0000

On Thu, Mar 16, 2017 at 10:46 PM, Dale R. Worley <worley@ariadne.com> wrote:

> Robert Sparks <rjsparks@nostrum.com> writes:
>
> If you form the header and violate the guidance by not using <>, the
> header will necessarily be parsable *by the BNF alone* in the way it was
> constructed.  It might also be parsable by the BNF alone in another
> way.  What the guidance does is resolve the parsing ambiguity by
> favoring the interpretation of comma, etc. as separators in the header
> rather than as characters in the URI.


This is something that I raised some time ago, in this thread
https://mailarchive.ietf.org/arch/msg/sipcore/8DQXMoMSXfvldRYgRu-YcwhfKFo ,
and I'm sorry that I've left it open then.

I still think that the current wording of the draft might be misleading.

The examples of:
   Refer-To: sip:123@host?Replaces=1111
   Refer-To: sip:123@host;user=phone?Replaces=1111
will all be syntactically invalid using the interpretation proposed by the
draft.
I think this is ok and corresponds to my current understanding of RFC 3261.

However, in the above thread, it seemed to me that on first sight, both Dale
and Robert thought that those examples are valid.
After the discussion there, I think (IIUC) they agreed that those are not
valid.

This draft is a great place to state how exactly those type of examples
are parsed.
Also, it might be good to show an example like:
   Refer-To: sip:123@host;user=phone
which is valid, but interpreted with an header parameter although it might
have been intended to have a URI parameter (there is a reference to
section 7.3.1 of [RFC3261], but is it not stated there explicitly regarding
URI).

Thanks,
Yehoshua Gev