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> Mon, 02 March 2015 18:35 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 C62111A700B for <ietf@ietfa.amsl.com>; Mon, 2 Mar 2015 10:35:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, T_FILL_THIS_FORM_SHORT=0.01, 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 BDa8yyFa9QmP for <ietf@ietfa.amsl.com>; Mon, 2 Mar 2015 10:35:48 -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 F098F1A88D2 for <ietf@ietf.org>; Mon, 2 Mar 2015 10:35:35 -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 1YSVBm-00027H-Ux; Mon, 02 Mar 2015 13:35:34 -0500
Date: Mon, 02 Mar 2015 13:35:29 -0500
From: John C Klensin <john-ietf@jck.com>
To: Viktor Dukhovni <ietf-dane@dukhovni.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: <706F94C2BF98394CCD4ABE3A@JcK-HP8200.jck.com>
In-Reply-To: <20150301202727.GD1260@mournblade.imrryr.org>
References: <A74A30F4D1214630918FD4CA@JcK-HP8200.jck.com> <20150223153757.GI1260@mournblade.imrryr.org> <20150223155241.GJ1260@mournblade.imrryr.org> <tsl8ufoh9ko.fsf@mit.edu> <20150224170209.GV1260@mournblade.imrryr.org> <54F03F38.9090601@cisco.com> <1ED9F633-40B1-4A90-85FE-14526C27A485@frobbit.se> <54F043F8.6090409@cisco.com> <20150228222733.51B432A92EE3@rock.dv.isc.org> <CAMm+Lwhn=D=nOG4Bt3xcgZWja4-L-RvzJ00CkhKNhs6GnsTXGw@mail.gmail.com> <20150301202727.GD1260@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/vuXvS44woRkcUpII_etGOXZR7jY>
Cc: 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: <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: Mon, 02 Mar 2015 18:35:50 -0000


--On Sunday, March 01, 2015 20:27 +0000 Viktor Dukhovni
<ietf-dane@dukhovni.org> wrote:

>...
>> > Whether your MTA uses STARTTLS or not is another matter
>> > but we can prevent downgrade attacks from succeeding.
> 
> If the MTA implements opportunistic DANE TLS, and usable TLSA
> records *are* published, then it MUST use STARTTLS and
> authenticate the peer via said TLSA records.
> 
> http://tools.ietf.org/html/draft-ietf-dane-smtp-with-dane-14#s
> ection-2.2

Victor,

Please don't get too excited about statements like that, whether
they are written into I-Ds or not.  There are two separate
clusters of problems with it:

(1) Email, including SMTP, is based on a very old set of
protocols.  For reasons that are historical but still relevant
today, there is extensive deployment of the protocols in
embedded environments, many of them old enough that there has
been no option to upgrade them even to ESMTP and MIME, which are
now themselves over 20 years old.  Precisely because it works
well and is all but ubiquitous, email provides a communications
mechanism that has been plagued in recent years by spam,
phishing, and email-spread malware.  Those problems have brought
about operational changes and the "operational necessity" escape
clause in RFC 5321.  For other reasons, the mail system, almost
unique among IETF application protocols, is designed around a
hop by hop model, not an end to end one.  While that design was
originally important because of intermittently-connected
destinations and gateways to systems running other mail
protocols, it is now commercially vital for third-party
provisioning of enterprise mail systems (whether motivated by
antispam or other operational concerns).   As in the earlier
days, hop by hop models are difficult from a security standpoint
because the initiating client cannot be guaranteed to have the
ability to negotiate or handshake with the final destination
server.  It may be able to negotiate with an intermediate that
acts on the destination's behalf instead, but such negotiations
involve all of the difficulties with a trusted third party whose
identity and trustworthiness are hard to verify.

(2) The very essence of all, or almost all, mail-based phishing
attacks involves having someone accept a domain name, email
address, or URI as legitimate when it is actually not the
user-intended one.  Neither DNSSEC nor DANE prevent or detect
those attacks.  They may actually be harmful if they give the
user a false sense of security.  The main protections against
such attacks lie in user awareness, tools that identify or
highlight suspicious domain names or domains or addresses that
are known to be malicious, and a high degree of integrity by
registrars.  The latter has, at least IMO, proven to be a
failure.  In particular, when malicious parties can easily
register domains with misleading names, all DNSSEC does is to
verify that the DNS records were not altered in transit and DANE
is as happy to provide key material associated with a malicious
domain as a desirable one.

    john