Re: [DNSOP] Last Call: <draft-ietf-dnsop-onion-tld-00.txt> (The .onion Special-Use Domain Name) to Proposed Standard

Ted Hardie <ted.ietf@gmail.com> Mon, 10 August 2015 18:42 UTC

Return-Path: <ted.ietf@gmail.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4D02A1B3C92; Mon, 10 Aug 2015 11:42:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, SPF_PASS=-0.001] 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 9CQDasdW7-m4; Mon, 10 Aug 2015 11:42:35 -0700 (PDT)
Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (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 DF9AB1B3C90; Mon, 10 Aug 2015 11:42:34 -0700 (PDT)
Received: by wicne3 with SMTP id ne3so147307014wic.1; Mon, 10 Aug 2015 11:42:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=FHBFBQQUg4U8jVw9PfZMvi0VKAIlkPakd8O+94ix9a8=; b=lZfoiZ1PxayEW5OQnx2Qu5polIy3BtHsZR6iwLH4Dtg5USwSZslcFRqsxT1bPUsMVO SiZZuaoL0QZupmLP1BfGNKJoTCjuzuQoWceeVMJ2oSPadArSn07VxpTJ37VG1ysQytW9 /vTvA9LyfLp3U55loaXpocOpfFMocF+jrlJ0Y31foY2eaDt9ymoM/onLAy6oorVfvEHt qyKSkmWqwV+0UQSP6M/vAzIqTNEQ6FyhlZBO6zEdDAnHzwWclbOJ0+eAI3ia+GgmYxfP QIdoI2B9cGitGM8OwLFtV1CDxyeZDufsQ/+TEyuKc00qbxytomw5D2e0ZGV49hF+b7ye dyWw==
MIME-Version: 1.0
X-Received: by 10.194.108.232 with SMTP id hn8mr46211648wjb.154.1439232153636; Mon, 10 Aug 2015 11:42:33 -0700 (PDT)
Received: by 10.194.17.68 with HTTP; Mon, 10 Aug 2015 11:42:33 -0700 (PDT)
In-Reply-To: <CD2ABBDD-F9CA-4A27-A0B6-3CDD37DB1AB4@fb.com>
References: <20150714192438.1138.96059.idtracker@ietfa.amsl.com> <D1EA295A.DFA3%edward.lewis@icann.org> <55C4C0DA.8070502@w3.org> <D1EA43FA.DFB8%edward.lewis@icann.org> <554DA9E5-2071-48A2-8AC8-DD07DE3B2BB0@fb.com> <CA+9kkMAcW_g28qAZ8SKbqefZfdDxzdM7=0D_of7f_qLm08d3wA@mail.gmail.com> <CD2ABBDD-F9CA-4A27-A0B6-3CDD37DB1AB4@fb.com>
Date: Mon, 10 Aug 2015 11:42:33 -0700
Message-ID: <CA+9kkMAmuXuLpsHVm8PeFQ5V+48mdd06=u=L+gKPqGVQSh-FFg@mail.gmail.com>
Subject: Re: [DNSOP] Last Call: <draft-ietf-dnsop-onion-tld-00.txt> (The .onion Special-Use Domain Name) to Proposed Standard
From: Ted Hardie <ted.ietf@gmail.com>
To: Alec Muffett <alecm@fb.com>
Content-Type: multipart/alternative; boundary="047d7bf198a04454e1051cf9591b"
Archived-At: <http://mailarchive.ietf.org/arch/msg/ietf/YmyjnzaZRziCngW4GI9OJdwKEow>
Cc: Edward Lewis <edward.lewis@icann.org>, Mark Nottingham <mnot@mnot.net>, "dnsop@ietf.org" <dnsop@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, Richard Barnes <rlb@ipv.sx>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Aug 2015 18:42:38 -0000

Hi Alec,

On Mon, Aug 10, 2015 at 11:04 AM, Alec Muffett <alecm@fb.com> wrote:

>
> Hi Ted, thanks for the feedback.
>
> I don’t see any question in the above which impinges upon the draft so
> much as being related to internal operations of IETF and/or DNSOP, but I’d
> like to reinforce that CA/B-Forum are apparently happy so long as “.onion”
> is part of the recognised global namespace.
>
>
​You are correct, it was not a question for the draft itself. ​

The minutiae of which bucket *that* lives in is probably not an issue?
> (Tag: Mark Nottingham, Richard Barnes)
>
>
​I think the Internet community needs to understand that a reservation in
the encompassing name space means that no gTLD with the same string will be
permitted in the DNS and understand who has the right specify the process
by which the names within .onion are minted and assigned.



> It strikes me that if labels “beneath” the .onion special domain name may
> in future exceed the bounds expected of DNS - but the root is acknowledged
> to have global legitimacy - then it’s all to the better that DNS software
> is aware of “.onion” and basically ignores it, which it the other intent of
> the draft.
>
>
​As you allude to below, it is not that DNS software must ignore it, it is
a requirement that software that might presume it is within the DNS context
will become aware of the correct context.   ​



>
> In an e-mail elsewhere I recently noted:
>
> A scan of section 3.2.2 of *RFC3986 “Uniform Resource Identifier (URI):
> Generic Syntax”* - I won’t claim to have read the whole thing - seems
> quite open to the existence of [namespaces other than DNS being used in
> URIs]:
>
> *A host identified by a registered name is a sequence of characters
> usually intended for lookup within a locally defined host or service name
> registry, though the URI's scheme-specific semantics may require that a
> specific registry (or fixed name table) be used instead. The most common
> name registry mechanism is the Domain Name System (DNS).*
>
> *[...dns format description elided...]*
>
> *This specification does not mandate a particular registered name lookup
> technology and therefore does not restrict the syntax of reg-name beyond
> what is necessary for interoperability. Instead, it delegates the issue of
> registered name syntax conformance to the operating system of each
> application performing URI resolution, and that operating system decides
> what it will allow for the purpose of host identification. A URI resolution
> implementation might use DNS, host tables, yellow pages, NetInfo, WINS, or
> any other system for lookup of registered names. However, a globally scoped
> naming system, such as DNS fully qualified domain names, is necessary for
> URIs intended to have global scope. URI producers should use names that
> conform to the DNS syntax, even when use of DNS is not immediately
> apparent, and should limit these names to no more than 255 characters in
> length.*
>
>
>
​This is a little bit more complicated than the above suggests, because a
specific URI scheme can describe in detail which elements of RFC3986 syntax
are expected within it.  See, for example, RFC 6068, Section 2
<http://tools.ietf.org/html/rfc6068#page-3> for the syntax of the mailto:
URI (which is fundamentally different from URI schemes which use path
elements in the way HTTP does). RFC 7595
<https://tools.ietf.org/html/rfc7595> has some additional detail in the
context of registrations.

In a previous attempt at tackling the deployment of Distributed Hash
Table-based names, Vidya Narayanan and I described an overlay authority
scoped to specific overlay networks rather than the DNS (see:
https://www.ietf.org/archive/id/draft-hardie-p2psip-p2p-pointers-01.txt for
details), but the presumption we worked from was that you were dealing with
new URI schemes. In this case, I believe .onion names that intend to be
carried in URI slots that would also carry non-.onion names will either
have to confirm that the URI's scheme-specific part permits it or update
the syntax to do so.


> Nothing appears in there about DNS’s (semantic) 63-character label
> lengths, instead the constraint defined is DNS “syntax” - arguably "strings
> of alnumhyphen separated by dots" - and an overall 255-character length
> limit.
>
> Next-generation Onion Address Syntax has not yet been agreed, but the
> current plans exist within this syntax-and-255-limit definition, eg:
>
> a1uik0w1gmfq3i5ievxdm9ceu27e88g6o7pe0rffdw9jmntwkdsd.onion # first label exceeds 63 characters, hypothetical illustration only
>
> Existing Onion-Address Syntax (facebookcorewwwi.onion) is completely
> within existing DNS’s apparent semantics as well as syntax.
>
> Of course, this is orthogonal to the matter of registries within
> registries which you raise above, but I feel it worth raising.
>
>
​I believe that it would be valuable to check the proposed syntax against
the individual schemes' scheme-specific-parts as part of the deliberations.

regards,

Ted Hardie




>     -a
>
> —
> Alec Muffett
> Security Infrastructure
> Facebook Engineering
> London
>
>