Re: (short version) Re: Last Call: <draft-faltstrom-uri-10.txt> (The Uniform Resource Identifier (URI) DNS Resource Record) to Proposed Standard

John C Klensin <john-ietf@jck.com> Wed, 25 February 2015 20:32 UTC

Return-Path: <john-ietf@jck.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 68F151A87BE for <ietf@ietfa.amsl.com>; Wed, 25 Feb 2015 12:32:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level:
X-Spam-Status: No, score=-2.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_15=0.6, RCVD_IN_DNSWL_LOW=-0.7, 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 xBT2ElsLxO9H for <ietf@ietfa.amsl.com>; Wed, 25 Feb 2015 12:32:30 -0800 (PST)
Received: from bsa2.jck.com (ns.jck.com [70.88.254.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E6D9F1A8707 for <ietf@ietf.org>; Wed, 25 Feb 2015 12:32:29 -0800 (PST)
Received: from [198.252.137.35] (helo=JcK-HP8200.jck.com) by bsa2.jck.com with esmtp (Exim 4.82 (FreeBSD)) (envelope-from <john-ietf@jck.com>) id 1YQidA-000OEE-UP; Wed, 25 Feb 2015 15:32:28 -0500
Date: Wed, 25 Feb 2015 15:32:23 -0500
From: John C Klensin <john-ietf@jck.com>
To: ietf@ietf.org
Subject: Re: (short version) Re: Last Call: <draft-faltstrom-uri-10.txt> (The Uniform Resource Identifier (URI) DNS Resource Record) to Proposed Standard
Message-ID: <7AB921D35A7F9B23A53BD11A@JcK-HP8200.jck.com>
In-Reply-To: <20150225180227.GT1260@mournblade.imrryr.org>
References: <54C9DA42.5040901@cisco.com> <9EB44D8A-278B-42FC-A542-1C182AD43128@netnod.se> <A74A30F4D1214630918FD4CA@JcK-HP8200.jck.com> <20150223153757.GI1260@mournblade.imrryr.org> <20150223155241.GJ1260@mournblade.imrryr.org> <tsl8ufoh9ko.fsf@mit.edu> <2DF7230C-D1D8-4B21-9003-B336108A38CB@vpnc.org> <20150224172649.GX1260@mournblade.imrryr.org> <tslvbircj0d.fsf@mit.edu> <0325DF3F-17F3-4400-BDEA-EDB5334BF35C@frobbit.se> <20150225180227.GT1260@mournblade.imrryr.org>
X-Mailer: Mulberry/4.0.8 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-SA-Exim-Connect-IP: 198.252.137.35
X-SA-Exim-Mail-From: john-ietf@jck.com
X-SA-Exim-Scanned: No (on bsa2.jck.com); SAEximRunCond expanded to false
Archived-At: <http://mailarchive.ietf.org/arch/msg/ietf/DL-IMX2apwW9sPil9PgNA1kCcKQ>
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: <http://www.ietf.org/mail-archive/web/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: Wed, 25 Feb 2015 20:32:31 -0000

> On Wed, Feb 25, 2015 at 05:28:35PM +0100, Patrik F?ltstr?m
> wrote:
> 
>> > Victor is correct.  This draft introduces indirection
>> > through DNS. Typically in the past when we've done
>> > indirection through DNS, we've not changed the expected
>> > security principal that we're targeting. It's that change
>> > that significantly changes the security model.
>> 
>> It is not new with this draft and URI, it is done for example
>> with SRV, and also MX.
> 
> DNS redirection indeed has precedents in MX and SRV records.
> However, there is little to no prior practice in combining such
> rediction with "strict" TLS wherein the client's reference
> identifier for the server "chases" the redirection.
>...

Victor,

Incorporating parts of my "long version" note from earlier today
by reference, but...

It now seems to me that this particular document has
accidentally conflated at least three things under a title,
abstract, and introduction that is only about the first.

(1) The description of a particular, registered, DNS RRTYPE.

(2) A lot of applicability information about how the thing is to
be used in or with other protocols, including security
implications and applicability of security add-ons (like
encrypted tunnels).

(3) Some technical changes to NAPTR/DDDS whose connection to
this RRTYPE are not particularly clear to me beyond the ability
of either to specify a URI in the RDATA.

The second of these includes not only the issues you are
identifying but also a variety of "what is a URI and what are
its implications" questions, some of which have shown up on the
IETF, Apps-Discuss, and URN lists in the last several months as
well as in discussions in WHATWG and W3C.  If one is even
slightly sensitive to those issues, then the document is
probably in need of a discussion about what types of URIs (or
URI schemes and constructions) are appropriate and/ or what an
application is supposed to do when an inappropriate one is
encountered.  We have traditionally not considered those DNS
issues but, once one goes beyond the DNS (i.e., beyond (1)
above) it is not clear where one should reasonably stop.

So...  I think Patrik and Olaf should remove the NAPTR/DDDS
stuff unless they are willing to do a lot of revising to explain
why it is present and how things relate.

I think the rest is a bit of a judgment call.  While I'd be
happy to see a comprehensive document that would address all of
those issues, I would also like to get a good description of the
RRTYPE published somewhere soon, ideally a couple of years ago.
It seems to me that making a complete analysis of security
alternatives, or a complete analysis of the URI situation as it
relates to this RRTYPE, much less both are likely to be a _lot_
of effort and that, if we want to get the document published,
what should be done should probably be confined to explicitly
noting the issues, e.g., that any indirection through the DNS
raises security issues that need careful understanding and for
which there is no magic bullet.

best,
    john