Re: [Insipid] draft-ietf-insipid-session-id-13

Paul Kyzivat <pkyzivat@alum.mit.edu> Thu, 05 February 2015 17:29 UTC

Return-Path: <prvs=94787e9de6=pkyzivat@alum.mit.edu>
X-Original-To: insipid@ietfa.amsl.com
Delivered-To: insipid@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B743B1A87DB for <insipid@ietfa.amsl.com>; Thu, 5 Feb 2015 09:29:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level:
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 7aLT-4WP_Bjc for <insipid@ietfa.amsl.com>; Thu, 5 Feb 2015 09:29:04 -0800 (PST)
Received: from alum-mailsec-scanner-7.mit.edu (alum-mailsec-scanner-7.mit.edu [18.7.68.19]) by ietfa.amsl.com (Postfix) with ESMTP id CCA9A1A1A8A for <insipid@ietf.org>; Thu, 5 Feb 2015 09:29:03 -0800 (PST)
X-AuditID: 12074413-f79f26d0000030e7-01-54d3a85f27eb
Received: from outgoing-alum.mit.edu (OUTGOING-ALUM.MIT.EDU [18.7.68.33]) by alum-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP id F3.EC.12519.F58A3D45; Thu, 5 Feb 2015 12:29:03 -0500 (EST)
Received: from Paul-Kyzivats-MacBook-Pro.local (c-50-138-229-151.hsd1.ma.comcast.net [50.138.229.151]) (authenticated bits=0) (User authenticated as pkyzivat@ALUM.MIT.EDU) by outgoing-alum.mit.edu (8.13.8/8.12.4) with ESMTP id t15HT2hJ030103 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 5 Feb 2015 12:29:02 -0500
Message-ID: <54D3A85E.7070309@alum.mit.edu>
Date: Thu, 05 Feb 2015 12:29:02 -0500
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: "Paul E. Jones" <paulej@packetizer.com>, insipid@ietf.org
References: <emd4a55ee2-ae35-47ef-947f-e10adeed46e6@sydney>
In-Reply-To: <emd4a55ee2-ae35-47ef-947f-e10adeed46e6@sydney>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrLIsWRmVeSWpSXmKPExsUixO6iqBu/4nKIwcGzbBbz7z9jsjh/YQOT A5PHkiU/mTwa9h1lD2CK4rZJSiwpC85Mz9O3S+DOOH2+jaVgp0rFnk+/2BoY90p2MXJySAiY SEzvn8QOYYtJXLi3nq2LkYtDSOAyo0Tz5zMsEM4zJolpK74yglTxCmhLrLm8lA3EZhFQlbjd 94oFxGYT0JKYc+g/mC0qkCyxZivEVF4BQYmTM5+AxUUEbCUOzrnCCmILC5hL3N2ymBnEFhKw lrjw6z+YzSlgI3Ft9hMmEJtZwEyia2sXI4QtL9G8dTbzBEb+WUjGzkJSNgtJ2QJG5lWMcok5 pbm6uYmZOcWpybrFyYl5ealFuuZ6uZkleqkppZsYIUEpvINx10m5Q4wCHIxKPLwPdl8KEWJN LCuuzD3EKMnBpCTK2zz/cogQX1J+SmVGYnFGfFFpTmrxIUYJDmYlEd47zUA53pTEyqrUonyY lDQHi5I4r9oSdT8hgfTEktTs1NSC1CKYrAwHh5IEr/lyoEbBotT01Iq0zJwShDQTByfIcC4p keLUvJTUosTSkox4UEzGFwOjEiTFA7Q3GKSdt7ggMRcoCtF6ilFRSpzXDCQhAJLIKM2DGwtL Na8YxYG+FOaNAaniAaYpuO5XQIOZgAbLXrwAMrgkESEl1cBoEl3y49x3o1U/0/b6ClYW/7HR nMB13rbm8aEtt/KtF5S8TllzV+//jMdub3Xmbl063bz9peZagd3yMSl9m4Tlzj/6G7NAu8pT /ADLZEVL5V+RnInlejLLG2w87nB/e5CxP142/lic2+20T8e2TObXWKF53Op+ss+TaB6lc5ui 3x+1lWPe+qZWiaU4I9FQi7moOBEAZd50NhADAAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/insipid/hpokw1Yp3wGyZBGZQNYuxo1ztcI>
Subject: Re: [Insipid] draft-ietf-insipid-session-id-13
X-BeenThere: insipid@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: SIP Session-ID discussion list <insipid.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/insipid>, <mailto:insipid-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/insipid/>
List-Post: <mailto:insipid@ietf.org>
List-Help: <mailto:insipid-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/insipid>, <mailto:insipid-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Feb 2015 17:29:06 -0000

On 2/4/15 6:33 PM, Paul E. Jones wrote:
> Paul,
>
>>>>
>>>> Now that the intent has been specified, the actual syntax needs to
>>>> match. It currently doesn't. Currently we have:
>>>>
>>>>      sess-uuid = 32(DIGIT / %x61-66) ;32 chars of [0-9a-f]
>>>>
>>>> which isn't consistent with the new statement. Instead, now about:
>>>>
>>>>      sess-uuid = 32(HEXDIG)
>>>>
>>>> And then replace "The production DIGIT is defined in [RFC5234]" with
>>>> "The production HEXDIG is defined in [RFC5234]".
>>>
>>> HEXDIG is defined only using uppercase characters. I fear that might
>>> introduce more confusion.
>>
>> HEXDIG is defined using quoted uppercase characters. But quoted
>> strings are defined in ABNF to be matched in a case insensitive way.
>> So HEXDIG matches any of ABCDEFabcdeg.
>
> But, this is not an ABNF string.  It's a string of characters.  Per the
> ABNF spec:
>
>        To specify a rule that is case sensitive, specify the characters
>        individually.
>
>     For example:
>
>           rulename    =  %d97 %d98 %d99
>
> And that's effectively what we have here since sess-uuid specifies
> characters individually.  I think. :)  In any case, if this would
> confuse me, this will confuse somebody else.  I think it's best not to
> go down this path.

My point is that I think the draft should state normatively that hex in 
either case should be valid when received, but that lower case hex MUST 
be sent.

If the ABNF only describes lower case hex, then those writing matching 
code probably won't match upper case.

But no matter what we do it will probably be implemented wrong.

I will not futher belabor this issue.

>>> How about I just write this:
>>>
>>> "not produce an error if an uppercase hexadecimal character is received"
>>>
>>> And then leave the syntax alone.
>>
>> That is confusing because the text is expanding the valid syntax from
>> what is written.
>
> I don't understand your point.  Here is the full sentence:
> "Receiving entities MUST treat sess-uuid components as case-insensitive
> and not produce an error if an uppercase hexadecimal character is
> received in a sess-uuid."
>
> It's entirely about the hexadecimal characters defined in sess-uuid.  In
> what was is this expanding the valid syntax?
>
>
>>>> Section 9.3:
>>>>
>>>> It would be very helpful to see subsequent signaling in this case.
>>>> Suppose Alice subsequently sends a reINVITE. What will that look like?
>>>> (Alice will send it with {A,B}. Does the B2BUA change it to {A,C} or
>>>> leave it alone? Either way I presume Carol sends back {A,C}.)
>>>
>>> OK. Done.
>>>
>>> That would be:
>>>
>>>                  | (Suppose Alice modifies the session) |
>>>       {A,B} |--------------------re-INVITE------------------->|
>>>       {C,A} |<--------------------200 OK----------------------|
>>>       {A,C} |-----------------------ACK---------------------->|
>>>
>>> The text description to go with that is:
>>>
>>> "Since Alice never received Carol’s UUID from the B2BUA, when Alice
>>> later attempts to modify the session with a re-INVITE, Alice would send
>>> the “remote-uuid” = “B” toward Carol. Carol replies with the
>>> “local-uuid” = “A”, “remote-uuid” = “A” to reflect what was received in
>>> the INVITE (which Carol already knew from previous exchanges with the
>>> B2BUA). Alice then include “remote-uuid” = “C” in the following ACK
>>> message."
>>>
>>> Sound OK?
>>
>> You left the B2BUA out of this. IIUC it is still in the signaling path
>> between Alice and Carol. So it is important to show what it does in
>> this case too.
>
> Darn it.  I did have the B2BUA in my document.  Here's what I have:
>
>
>     Session-ID
>        ---     Alice            B2BUA             Bob            Carol
>                  |                |                |               |
>                                            ~~~
>                  |                |                |               |
>                  | (Suppose Alice modifies the session)            |
>       {A,B}      |---re-INVITE--->|                |               |
>       {A,B}      |                |---re-INVITE------------------->|
>       {C,A}      |                |<---200 OK----------------------|
>       {C,A}      |<---200 OK------|                |               |
>       {A,C}      |------ACK------>|                |               |
>       {A,C}      |                |------ACK---------------------->|
>                  |                |                |               |

Thanks.

	Paul K