Re: [Uri-review] [Fwd: [BEHAVE] Last Call: draft-ietf-behave-turn-uri (Traversal Using Relays around NAT (TURN) Uniform Resource Identifiers) to Proposed Standard]

Marc Petit-Huguenin <petithug@acm.org> Thu, 22 October 2009 19:05 UTC

Return-Path: <petithug@acm.org>
X-Original-To: uri-review@core3.amsl.com
Delivered-To: uri-review@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B42C228C176; Thu, 22 Oct 2009 12:05:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.144
X-Spam-Level:
X-Spam-Status: No, score=-102.144 tagged_above=-999 required=5 tests=[AWL=0.121, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FFQtFzJj768X; Thu, 22 Oct 2009 12:05:45 -0700 (PDT)
Received: from server.implementers.org (server.implementers.org [69.55.225.91]) by core3.amsl.com (Postfix) with ESMTP id 3FC0F3A67F7; Thu, 22 Oct 2009 12:05:45 -0700 (PDT)
Received: by server.implementers.org (Postfix, from userid 1001) id 0DEE16C9852C; Thu, 22 Oct 2009 19:05:55 +0000 (UTC)
Received: from [192.168.2.3] (server.implementers.org [127.0.0.1]) by server.implementers.org (Postfix) with ESMTPA id 3B74D6C98524; Thu, 22 Oct 2009 19:05:54 +0000 (UTC)
Message-ID: <4AE0AD11.3080307@acm.org>
Date: Thu, 22 Oct 2009 12:05:53 -0700
From: Marc Petit-Huguenin <petithug@acm.org>
User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701)
MIME-Version: 1.0
To: Andrew Newton <andy@hxr.us>
References: <4AD7387A.7060901@ericsson.com> <6e04e83a0910151433y2007a015ia77a407e702a3841@mail.gmail.com> <4AD7AE35.7030701@petit-huguenin.org> <6e04e83a0910151809x522b1547ya48bcf6a2093ea01@mail.gmail.com> <4AD81911.4080809@acm.org> <6e04e83a0910161009r4ae93cd6j8063f117521d939f@mail.gmail.com> <E470E3F9-E3DE-414A-8A4B-6D0ABE589797@hxr.us>
In-Reply-To: <E470E3F9-E3DE-414A-8A4B-6D0ABE589797@hxr.us>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Cc: Ted Hardie <ted.ietf@gmail.com>, app-ads@tools.ietf.org, uri-review@ietf.org, ietf@ietf.org
Subject: Re: [Uri-review] [Fwd: [BEHAVE] Last Call: draft-ietf-behave-turn-uri (Traversal Using Relays around NAT (TURN) Uniform Resource Identifiers) to Proposed Standard]
X-BeenThere: uri-review@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Proposed URI Schemes <uri-review.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/uri-review>, <mailto:uri-review-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/uri-review>
List-Post: <mailto:uri-review@ietf.org>
List-Help: <mailto:uri-review-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uri-review>, <mailto:uri-review-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Oct 2009 19:05:47 -0000

Hi Andrew,

Andrew Newton wrote:
> 
> On Oct 16, 2009, at 1:09 PM, Ted Hardie wrote:
> 
>>>
>>> There was not many opaque URI defined in standard track since RFC
>>> 3986, but the
>>> IRIS URI (RFC 3981 section 7.1) looks like an opaque URI that reuse
>>> components
>>> from RFC 2396 and RFC 2732.
>>>
>>> Anyway, I can copy and rename the definitions that I need from RFC
>>> 3986 if it is
>>> what is needed.
>>>
>>
>> IRIS is an interesting model here, as it is one of the few others to
>> really use S-NAPTR.  I've cc'ed Andy on this message to ping him to
>> take a look at your draft.  IRIS's complexity is pretty substantial on
>> a number of fronts, and the URI resolution is certainly
>> one of the areas where the complexity has daunted some of those
>> interested in the protocol.  It's also noteworthy that IRIS created a
>> very rigid URI, with a very flexibile resolution mechanism.  I'm not
>> sure, honestly, that approach was a success.
> 
> Marc, Ted,
> 
> I'm unsure of what insight I can offer here.  The TURN URI scheme does
> seem to mix "layers" of the resolution process, or at least as I've
> thought about it in the past.   But that may just be me and my limited
> understanding of what is trying to be accomplished by the TURN URI.
> 
> With regard to complexity, that is most likely in the eye of the
> beholder.  I would think this is more complex than other uses of
> S-NAPTR.  I don't know how one goes about judging these sort of things. 
> Perhaps it would be helpful to look at an S-NAPTR implementation. 
> VeriSign's SVN repository still hosts pysnaptr, which you can find here:
> http://svn.verisignlabs.com/main/snaptr/pysnaptr/tags/RELEASE_0_1/pysnaptr
> 
> This discussion would also benefit from anybody with knowledge of or
> implementation experience with generic URI parsers, as that would be a
> point of interoperability.

For comparison my own reference implementation in Java of the TURN URI parser
and resolver is 364 lines long.  This is without the RFC 3958 implementation,
255 lines long, and the RFC 2782 implementation which is 141 lines long. The URL
to this reference implementation is in Annex A.10 in the I-D.

-- 
Marc Petit-Huguenin
Personal email: marc@petit-huguenin.org
Professional email: petithug@acm.org
Blog: http://blog.marc.petit-huguenin.org