Re: [dns-privacy] Possible use case: Opportunistic encryption for recursive to authoritative

Ben Schwartz <bemasc@google.com> Thu, 06 August 2020 15:18 UTC

Return-Path: <bemasc@google.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 27B733A0B55 for <dns-privacy@ietfa.amsl.com>; Thu, 6 Aug 2020 08:18:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 nr1sG880AC9Z for <dns-privacy@ietfa.amsl.com>; Thu, 6 Aug 2020 08:18:39 -0700 (PDT)
Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (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 0344A3A0B6A for <dprive@ietf.org>; Thu, 6 Aug 2020 08:18:38 -0700 (PDT)
Received: by mail-wm1-x329.google.com with SMTP id c80so9196152wme.0 for <dprive@ietf.org>; Thu, 06 Aug 2020 08:18:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aNbx7GtSGGpH/EZmFZWHkUt/ngyvmgb1DkE1MynK5/Q=; b=tRy7sWMyAl+TluEO3DfzA6rMoyj/sK8xIaRHgri7Rm9EIaR39RKrLF9FFrisD3erNT 82nSXJGrlRE6MbBIBJQi32VpfJ45xmEigAobmHPEuh8ycW5Wyo2pBIyv6OMYO1jOzRqx YajaK+XJjSMAz0wSNKL45qGgL2MgMJymoVY/E7SIxQ6/RE6rOQ5UZQfPJJiqfkcQSTPG 3N1DNd4RGc+wrp+xQ+Oss5zs5Rh3OTF/8Yqcq4HU5Juu9nxOU1m/f/pbHYI8hf72uprN jmvNiYQLKAheS8m3+TczV/513V7YoCWMSiH7zG9kTN/jZNFVSoxoCZ60GvJMpybO0Nld 8c2g==
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=aNbx7GtSGGpH/EZmFZWHkUt/ngyvmgb1DkE1MynK5/Q=; b=RDdQRZyddMXurUbO4crvlXv80pvf4uaIB3UiDU8+tBhrTBDuyOmz7Y+OUY/1M36npX umf+UqkOFT4Uu9UyganIUQJnQSuVb4DQYC9NfdksrIrgdKb7r2FWY2CysQqIpA4vOlXD g6CmfoUMe1GonhOZBai+kHgmy0sbWrRUmnDlO/TLmUbHyPDRiSzLkYpztFq16o3x+yil kSKUH/bF5M9ZUvMtPGFgGfEsJuCvVf46wV6DO4UwSDEyDobzU2LIN33h0I5RZ7nvrKNI wctKVqbcUKoRnaPqvVgtUxmIqHYub+7kauv/GJEc2XcMvSqIT4gVHVnfshacoUBoe8SA 5dsQ==
X-Gm-Message-State: AOAM533Z4yU/K1YgweCe0p9g8u0RZVXYxKbhWTym+Z0Hs47mZ32gBWbJ FqySARafkE6skwOiM0iYkPdVuI8gBcLuIyzzPXQDMIa7
X-Google-Smtp-Source: ABdhPJxa9MTLD25w/eHt2V8ZykRYQRyWI7KRE4wa9k50kS7HdJABylmXItskzEygwX76OvRR0HePfI6CJxA4tKZdrOU=
X-Received: by 2002:a7b:c219:: with SMTP id x25mr8396659wmi.101.1596727116974; Thu, 06 Aug 2020 08:18:36 -0700 (PDT)
MIME-Version: 1.0
References: <3BA75997-3DE4-4DF5-B1F5-C57DBC423288@icann.org>
In-Reply-To: <3BA75997-3DE4-4DF5-B1F5-C57DBC423288@icann.org>
From: Ben Schwartz <bemasc@google.com>
Date: Thu, 06 Aug 2020 11:18:25 -0400
Message-ID: <CAHbrMsAEUFT7GOTm5Dbq9PCMEA+4maJQ32t_R-SbYVyztqVBDA@mail.gmail.com>
To: Paul Hoffman <paul.hoffman@icann.org>
Cc: "dprive@ietf.org" <dprive@ietf.org>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="000000000000a68ac505ac3700ef"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dns-privacy/iUj8zRle78gCbQ4Wv8qIWUgkAFE>
Subject: Re: [dns-privacy] Possible use case: Opportunistic encryption for recursive to authoritative
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: Thu, 06 Aug 2020 15:18:43 -0000

I think opportunistic or unauthenticated encryption is worth pursuing.
However, your quote also says "use authentication when possible", and I
agree.  I would like to avoid selecting an opportunistic encryption design
that doesn't match well with our authenticated encryption design, so I
think that means we need to develop them together.

On Thu, Aug 6, 2020 at 10:59 AM Paul Hoffman <paul.hoffman@icann.org> wrote:

> Greetings again. The following is a short text-based version of my slides
> from last week's WG meeting. I'd like to find out if this is one of the use
> cases that the WG would be interested in dealing with.
>
> Use case: Opportunistic encryption for recursive to authoritative
>
> In this use case, a resolver operator says “I’m happy to use encryption
> with the authoritative servers if it doesn’t slow down getting answers by
> much”, and an authoritative server says “I’m happy to use encryption with
> the recursive resolvers if it doesn’t cost me much”.
>
> Opportunistic encryption is defined in RFC 7535. From the abstract:
> "Protocol designs based on Opportunistic Security use encryption even when
> authentication is not available, and use authentication when possible,
> thereby removing barriers to the widespread use of encryption on the
> Internet."
>
> The assumptions behind the use case are:
> • More encryption is good for the Internet
> • Resolver vendors are smart and motivated
> • Most resolvers don’t validate with DNSSEC and may never want to
> • Authoritative operators don’t care much about encryption, but some would
> turn it on because more encryption is good for the Internet
> • Other use cases for authentication stronger than opportunistic may
> appear and would co-exist with this one
>
> The other slides had thoughts about possible solutions that implement this
> use case, but before we go there, I wanted to find out if more than a
> handful of people here are interested in this use case. If so, I could turn
> the above into a draft with some possible solutions for us to bang on.
>
> --Paul Hoffman
>
> _______________________________________________
> dns-privacy mailing list
> dns-privacy@ietf.org
> https://www.ietf.org/mailman/listinfo/dns-privacy
>