Re: [dns-privacy] [Ext] Revised opportunistic encryption draft

Eric Rescorla <ekr@rtfm.com> Fri, 30 October 2020 21:45 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 90DDC3A0C67 for <dns-privacy@ietfa.amsl.com>; Fri, 30 Oct 2020 14:45:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20150623.gappssmtp.com
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 xK_hQUNJu9ox for <dns-privacy@ietfa.amsl.com>; Fri, 30 Oct 2020 14:45:24 -0700 (PDT)
Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (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 62BA23A00D8 for <dprive@ietf.org>; Fri, 30 Oct 2020 14:45:24 -0700 (PDT)
Received: by mail-lf1-x12e.google.com with SMTP id i6so9747144lfd.1 for <dprive@ietf.org>; Fri, 30 Oct 2020 14:45:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=guh4aKMzdldVtjaLZioTyNMWFtX81H4WNZ/CrQ2ZQ7Y=; b=l0JtePfjZjFRGRBpzI3FP5IT3ak2WUuXvmtlQRDfD36WOvfTeajmcPcZitKjRxHg+l chYoF2V0W9K/tmyjH1gpOFSoVu/F8SxB+nBEdli082Bw9UhN5xbQSRMKINWQw+73K6PG 86epiqF0Hng1Z+xlcIjAN/tTvrZPRx+BLqMn0AmP0pi6dI+S9Ip7NPAxHsje7+Dml0u2 a7VW3qv0EqaBLHYrCmaaV/g3AFWK022yCs1G8SGwQX0xr8NFz40waKd4x23oXw+twIrf Pb1zPWSKgI+QmEija3KJnINIKbqYq3lPbfQjXlrvfQie3jIMq15vOU/P+yuag8R5IwM7 THaA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=guh4aKMzdldVtjaLZioTyNMWFtX81H4WNZ/CrQ2ZQ7Y=; b=PKbV7fmXtQv335URuMJWicznfTIPqKh2QQXzwosAD56zu1Wl4KcyfkHxsnvbB9nRDs Sh460NsrbKxpXowJzXeuSXEZjVKkF42ZmUX/YDP97cJzXN+WQmtH3rNmWqb5k/9xegyr JdmzAPCrLS82EiM3BtABhlNlkYoPJXY0D0B2pbiOCY8ikFaYZ80aGw2HKl/+im96S1Za HvFD1n0Hn33L8mOenHUStlg8ie8kYBR26Z6zNSthsNsobYE6nkmaFzb38oOCSiORPA3r E+C3ZN38ZFhs/s3VXCZKM4etIyRtZZLK3bSmqoC/EwnNz9OhnGRjFcP34IVMGjT0j0DX oEyw==
X-Gm-Message-State: AOAM533lGyPi1YnmuDekspdf89kjwq+mVJvF6DECMP+bgZhIwERT465B sBjzLpPlfj6ZnYO94r3FcVnNTUp2WcitaAtLI3iaZZlaC6r6bA==
X-Google-Smtp-Source: ABdhPJzWVcNpyjxkkfxze/e1Y3njEfE4+X8I3nTZuulyaPDIxlR/2I20+FV9GwZW8wlharClOGOhNa+B0CISV2tmskc=
X-Received: by 2002:a19:2294:: with SMTP id i142mr1666734lfi.579.1604094322646; Fri, 30 Oct 2020 14:45:22 -0700 (PDT)
MIME-Version: 1.0
References: <C0CBEBC5-D28A-46C0-AE50-078710015466@icann.org> <alpine.LRH.2.23.451.2010301202350.2587497@bofh.nohats.ca> <2444B21B-9465-4A5B-97CC-AF809309300A@icann.org> <CABcZeBPZFY9aQ5Nb0q_4uTMFRbY3-S2rus4vaeLaUmvU+h_ftg@mail.gmail.com> <2D07CBD0-30CE-418E-AD05-02E0A5EDB79F@icann.org>
In-Reply-To: <2D07CBD0-30CE-418E-AD05-02E0A5EDB79F@icann.org>
From: Eric Rescorla <ekr@rtfm.com>
Date: Fri, 30 Oct 2020 14:44:46 -0700
Message-ID: <CABcZeBNdNnyjzk0mOtfix=OvVTEpPzegEw_V5QfKvYtkFV+zOw@mail.gmail.com>
To: Paul Hoffman <paul.hoffman@icann.org>
Cc: "dprive@ietf.org" <dprive@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000049b9af05b2ea50c5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dns-privacy/lmJ7TT9RZhnNGjuRSEKSMGHJuPM>
Subject: Re: [dns-privacy] [Ext] Revised opportunistic encryption draft
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <dns-privacy.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dns-privacy/>
List-Post: <mailto:dns-privacy@ietf.org>
List-Help: <mailto:dns-privacy-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Oct 2020 21:45:27 -0000

On Fri, Oct 30, 2020 at 1:46 PM Paul Hoffman <paul.hoffman@icann.org> wrote:

> On Oct 30, 2020, at 12:32 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> >
> >
> >
> > On Fri, Oct 30, 2020 at 10:03 AM Paul Hoffman <paul.hoffman@icann.org>
> wrote:
> > On Oct 30, 2020, at 9:11 AM, Paul Wouters <paul@nohats.ca> wrote:
> >> > I still believe the cost of authenticating a DNS(SEC) server is so low
> >> > these days (with ACME available at no cost and with full automation)
> >> > that this draft is better not done.
> >>
> >> The cost in terms of CPU cycles is indeed low. That is not the cost
> that is being considered when choosing opportunistic encryption. There is a
> real cost to the system if entire zones get server failures due to
> authentication mistakes made by the authoritative servers (not renewing
> certificates, errors in TLSA records, upstream validation problems that
> cause TLSA records not to validate, ...) or resolvers (dropping trust
> anchors that are in use, bad validation logic for TLSA, ...).
> >>
> > How is this different from the transition of the Web to HTTPS?
>
> The DNS data is already authenticated if they are using DNSSEC.


I don't see how this is an operational difference. It's a difference in
value proposition. This whole discussion is predicated on the idea that
encrypting r2a is valuable; if it's not, we can just go home.


Also, because the DNS is hierarchical, even a short-lived authentication
> failure at a particular server will take out the ability to get data for
> all zones beneath that one; this is not an issue in the web.
>

As a practical matter, a TLS failure at a site like Google or Facebook has
a similar kind of impact. But those sites have figured out how to run with
high availability, and I anticipate that the big DNS servers who have a lot
of zones beneath them could do so as well.



> > Sure, there can be misconfigurations of various kinds, but good
> operational practices can minimize these, and in return you get strong
> security.
>
> What extra value is the "strong security"? Is that value worth the risk of
> inability to get data from a zone? In the web world, the decision that the
> value was greater than the risk was based heavily on being able to
> authenticate the data using TLS. We don't have that same balance in the DNS.
>

The value proposition here is the confidentiality of the query. Defending
that against active attacks requires authenticating the server.

-Ekr