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

Nick Mathewson <nickm@alum.mit.edu> Thu, 13 August 2015 14:17 UTC

Return-Path: <nick.a.mathewson@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 44C191B38FE for <ietf@ietfa.amsl.com>; Thu, 13 Aug 2015 07:17:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 N5oWC-7kD0UD for <ietf@ietfa.amsl.com>; Thu, 13 Aug 2015 07:17:29 -0700 (PDT)
Received: from mail-la0-x243.google.com (mail-la0-x243.google.com [IPv6:2a00:1450:4010:c03::243]) (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 729621B3945 for <ietf@ietf.org>; Thu, 13 Aug 2015 07:17:06 -0700 (PDT)
Received: by labqg3 with SMTP id qg3so2562388lab.0 for <ietf@ietf.org>; Thu, 13 Aug 2015 07:17:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=e0yFlg7KKrjr+zFVSO6n2TTnk4Gx+L3LbhSVMkK9hgs=; b=lIDg/UvKkGGrSnpMIadZk+a7RUFjwJHKvvmIs8zWy7ESUnomOsLE8k5yv4KZkdyqwC n1bZJ8wZagHnQav4I7axSsRmkdb2RYxdJnEg7pQBMvhpx448QPNkYEurRhFvtG7U5UcP BOryjQ/sbkZb3Uxje7ma2rkrRYL6zAjW/HOgGpjjXc49vzuSJhN8jGjUYCvvn3LIA7xJ QTN2rTsX+0UBqHY3zkAT1yZ7FnkdW+72F8hWHgbBMSL5Ao3GQybJ3xvCtKbgCr/fMMHs LnVWzCT79Dok6zRP7yknndpqkjdsa6thBtnHPW1+u2Sc/RPMBlr4NX43uaIU7gP2xz8+ tAVg==
MIME-Version: 1.0
X-Received: by 10.112.144.69 with SMTP id sk5mr36405316lbb.6.1439475424991; Thu, 13 Aug 2015 07:17:04 -0700 (PDT)
Sender: nick.a.mathewson@gmail.com
Received: by 10.112.163.132 with HTTP; Thu, 13 Aug 2015 07:17:04 -0700 (PDT)
In-Reply-To: <ED2EA5CA-881E-462C-A148-00700A0793A8@fb.com>
References: <20150714192438.1138.96059.idtracker@ietfa.amsl.com> <20150811211733.GG23964@x28.adm.denic.de> <46616F08-3CD4-448E-8638-95CFDA1C6D0F@fb.com> <CA+9kkMDwB9kSoqSuR3MdAgg6j2Kqip7R61GhiDiwFuWrjVGhtA@mail.gmail.com> <F5B862B9-10E4-4131-A675-9EC16FC50036@fb.com> <CA+9kkMBaPK+N1pEAVsYYMD-Fj+PxZKF-vBTk7ETJmBGx45A23w@mail.gmail.com> <F9866E8A-5A95-4FC6-82FA-119101C7544C@fb.com> <CA+9kkMDM9iwMq3SBW2zm0CX=pJKhC-Sfop=jquiEnxXWGSej8w@mail.gmail.com> <ED2EA5CA-881E-462C-A148-00700A0793A8@fb.com>
Date: Thu, 13 Aug 2015 10:17:04 -0400
X-Google-Sender-Auth: ulrcPemKPn7siv40Ve9C1-PCFdo
Message-ID: <CAKDKvuyQyo=uooaktf2Vayq1kV9dzd12qeVaC+WW_rNP5OrCbg@mail.gmail.com>
Subject: Re: Last Call: <draft-ietf-dnsop-onion-tld-00.txt> (The .onion Special-Use Domain Name) to Proposed Standard
From: Nick Mathewson <nickm@alum.mit.edu>
To: Alec Muffett <alecm@fb.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/ietf/QP-6xKWuHIBmFRvpGgG_yIAhMY8>
X-Mailman-Approved-At: Thu, 13 Aug 2015 08:13:58 -0700
Cc: Mark Nottingham <mnot@mnot.net>, Ted Hardie <ted.ietf@gmail.com>, Peter Koch <pk@denic.de>, Jacob Appelbaum <jacob@appelbaum.net>, "ietf@ietf.org" <ietf@ietf.org>
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: Thu, 13 Aug 2015 14:17:30 -0000

On Wed, Aug 12, 2015 at 4:49 PM, Alec Muffett <alecm@fb.com> wrote:
>
> On Aug 12, 2015, at 1:16 PM, Ted Hardie <ted.ietf@gmail.com> wrote:
>
>
> If you're willing to put a statement like it in the draft, that works for
> me; it would need to include a slightly broader commitment (not to step on
> other syntax bits, like the IDNA prefix etc), but I think the broader
> statement would go to exactly the same goal.
>
>
> Given that this is about Onion Registration rather than about Tor Project,
> some wording like
>
> “Onion addresses are [blah description blah] and which are consistent with
> DNS syntax limitations of 63 character labels..."
>
> …which I think would impose a constraint whilst being aimed at the
> supposedly correct target.
>
> I’ll copy Nick on this to be doubly certain.


I think that's (broadly) a good solution.

The important thing here AFAIU is not to nail down the exact semantics
of current .onion addresses or post-revision .onion addresses or
25-years-from-now .onion addresses... but rather to carve out enough
space for this and future revisions.

So it's IMO fine to say ".onion addresses are case-insensitive and
will comply with existing DNS limitations for label lengths (63) and
maximum fqdn lengths (253ish)".

But it it would be problematic to say something like ".onion addresses
are are exactly N characters long" or ".onion addresses have the
following structure" or ".onion addresses have exactly two labels" or
anything like that.  So let's avoid those.

cordially,
-- 
Nick