[Insipid] publishing draft-kaplan session-id as historic

Hadriel Kaplan <HKaplan@acmepacket.com> Wed, 13 March 2013 20:36 UTC

Return-Path: <btv1==784b8d51794==HKaplan@acmepacket.com>
X-Original-To: insipid@ietfa.amsl.com
Delivered-To: insipid@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CE08721F8D5B for <insipid@ietfa.amsl.com>; Wed, 13 Mar 2013 13:36:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.522
X-Spam-Level:
X-Spam-Status: No, score=-3.522 tagged_above=-999 required=5 tests=[AWL=1.077, BAYES_00=-2.599, GB_I_LETTER=-2]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jtw9jnkw4dnR for <insipid@ietfa.amsl.com>; Wed, 13 Mar 2013 13:36:26 -0700 (PDT)
Received: from mx2.acmepacket.com (mx2.acmepacket.com [216.41.24.99]) by ietfa.amsl.com (Postfix) with ESMTP id BE47C21F8ABC for <insipid@ietf.org>; Wed, 13 Mar 2013 13:36:26 -0700 (PDT)
X-ASG-Debug-ID: 1363206985-03fc217260f3fcc0001-Waf2p9
Received: from Mail1.acmepacket.com (mail1.acmepacket.com [10.0.0.21]) by mx2.acmepacket.com with ESMTP id oE2ss3PMAzR3Jj9M (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for <insipid@ietf.org>; Wed, 13 Mar 2013 16:36:25 -0400 (EDT)
X-Barracuda-Envelope-From: HKaplan@acmepacket.com
Received: from MAIL2.acmepacket.com ([169.254.2.222]) by Mail1.acmepacket.com ([169.254.1.130]) with mapi id 14.02.0283.003; Wed, 13 Mar 2013 16:36:25 -0400
From: Hadriel Kaplan <HKaplan@acmepacket.com>
To: "insipid@ietf.org" <insipid@ietf.org>
Thread-Topic: publishing draft-kaplan session-id as historic
X-ASG-Orig-Subj: publishing draft-kaplan session-id as historic
Thread-Index: AQHOICpux5bkfvRMbE+xoibi4zwbMA==
Date: Wed, 13 Mar 2013 20:36:24 +0000
Message-ID: <A4783B9E-AEED-454A-8530-6E5C3BEAC047@acmepacket.com>
References: <7F2072F1E0DE894DA4B517B93C6A05853408683664@ESESSCMS0356.eemea.ericsson.se> <EEDB748C-2DAC-4B8A-BB94-6D6DE37CEB1C@acmepacket.com>
In-Reply-To: <EEDB748C-2DAC-4B8A-BB94-6D6DE37CEB1C@acmepacket.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [216.41.24.34]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <62BCB99AF7469F4D8D405CBDFF10EDBF@acmepacket.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Barracuda-Connect: mail1.acmepacket.com[10.0.0.21]
X-Barracuda-Start-Time: 1363206985
X-Barracuda-Encrypted: AES128-SHA
X-Barracuda-URL: http://216.41.24.99:8000/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at acmepacket.com
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.125115 Rule breakdown below pts rule name description ---- ---------------------- --------------------------------------------------
Subject: [Insipid] publishing draft-kaplan session-id as historic
X-BeenThere: insipid@ietf.org
X-Mailman-Version: 2.1.12
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: Wed, 13 Mar 2013 20:36:57 -0000

>From today's meeting action I took... below was the email.
The difference between draft-kaplan-dispatch-session-id-03 and 02 can be seen here:

http://tools.ietf.org/rfcdiff?url2=draft-kaplan-dispatch-session-id-03.txt

It did not change the ABNF nor protocol rules.  Therefore I propose to submit 03 as independent submission to the RFC Editor, for 'Historic' status.  Or 'Epic' status if they have that. :)

-hadriel


On Aug 17, 2012, at 1:47 PM, Hadriel Kaplan <HKaplan@acmepacket.com> wrote:

> 
> When we talked about this in Vancouver I was thinking there wouldn't be any problem going to/from UUID syntax, because going to/from UUIDs in H.323 was talked about a long, long time ago for session-id.  But I forgot about the bug in the draft-kaplan ABNF...
> 
> Since version 01 of draft-kaplan-sip-session-id in 2008, which later became draft-kaplan-dispatch-session-id, the rules for generating the session-id always made it lower-case *hex* characters.  I.e., the g-z range wasn't actually possible.  The ABNF for it didn't get fixed until draft-kaplan-dispatch-session-id-01 in April 2010, but that also dropped it to 16 characters of hex because the algorithm changed, and then 3 months later reverted back to 32 characters and the correct ABNF.
> 
> So that begs the question of *which* version of draft-kaplan we want to be backwards compatible with.  Since draft-kaplan-dispatch-session-id-01 only existed for 3 months, I think we can ignore that one.  And since everything else only used hex characters, except the initial 00-draft which itself only existed for 4 months, I think we can ignore that one too.
> 
> Therefore, as far as I can tell we shouldn't have a problem converting draft-kaplan session-ids to/from UUIDs for H.323/whatever.
> 
> -hadriel
> 
> 
> On Aug 14, 2012, at 4:27 PM, Christer Holmberg wrote:
> 
>> Hi,
>> 
>> In Vancouver, I expressed a wish to make the INSIPID mechanism backward compatible with the draft-kaplan-session-id one, the reason being that it has been around for a relatively long time, and has been implemented and deployed.
>> 
>> I compared the suggested draft-jones solution with the draft-kaplan solution, and I think there are ways to achieve backward compability.
>> 
>> 
>> --------------
>> 
>> 
>> FIRST, looking purely at the ABNF syntax:
>> 
>> The jones ABNF is:
>> 
>> 
>> Session-ID-UUID = "Session-ID-UUID" HCOLON UUID
>> 
>> 
>> 
>> The kaplan ABNF is:
>> 
>> 
>> 
>> Session-ID           =  "Session-ID" HCOLON sess-id
>> 
>>                          *( SEMI generic-param )
>> 
>> sess-id              =  32(DIGIT / %x61-7A)  ; 32 chars of [0-9a-z]
>> 
>> 
>> 
>> 
>> 
>> Now, assuming 32 chars is enough to carry ONE UUID, jones applications could put the SECOND UUID in a header field parameter (generic-param), rather than combining it with the received UUID.
>> 
>> 
>> 
>> Of course, the first UUDI (carried in sess-id) can only contains characters 0-9 and a-z.
>> 
>> 
>> 
>> A UUID can contain characters 0-9 and a-f and A-F.
>> 
>> 
>> 
>> So, a jones entity would have to be prepared to receive g-z.
>> 
>> 
>> 
>> And, as kaplan entity is not prepared to receive capital A-F, a jones entity would have to only use small letters. But, that should not be a problem, afaik, as they have the same meaning as far as UUID is concerned.
>> 
>> 
>> 
>> --------------
>> 
>> 
>> 
>> SECOND, looking at it would work functionwise:
>> 
>> 
>> 
>> There are two main alternatives:
>> 
>> 
>> 
>> 
>> 
>> 1. Second UUID is added even when one entity is kaplan compliant
>> 
>> 2. Second UUID is not added when one entity is kaplan compliant
>> 
>> 
>> 
>> 
>> 
>> Alternative 1:
>> 
>> 
>> 
>> When a kaplan entity inserts the first UUID (I use that as a general term, eventhough a kaplan entity does not use UUIDs), one must assume that it is prepared to receive a response from a jones entity which has added the second UUID into the header field parameter.
>> 
>> 
>> 
>> When a jones entity inserts the first UUID, one must assume that it is prepared to receive a response from a kaplan entity where the second UUID has *not* been added.
>> 
>> 
>> 
>> 
>> 
>> Alternative 2:
>> 
>> 
>> 
>> When a kaplan entity inserts the first UUID, the jones entity detects (using some identify-a-kaplan-entity mechanism) that it comes from a kaplan entity, so it does not insert a seoncd UUID in the first place.
>> 
>> 
>> 
>> As in alternative 1, when a jones entity inserts the first UUID, it has to be prepared to receive a response where the second UUID has not been added (the identify-a-kaplan-entity mechanism might also inform the jones entity that the response comes from a kaplan entity.
>> 
>> 
>> 
>> 
>> 
>> --------------
>> 
>> 
>> 
>> Now, there will of course be cases, where two UUIDs are required, that won't work. But, kaplan entities would be able to use the session-id for whatever they've used it so far.
>> 
>> 
>> 
>> 
>> 
>> Regards,
>> 
>> 
>> 
>> Christer
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> insipid mailing list
>> insipid@ietf.org
>> https://www.ietf.org/mailman/listinfo/insipid
> 
> _______________________________________________
> insipid mailing list
> insipid@ietf.org
> https://www.ietf.org/mailman/listinfo/insipid