Re: [TLS] Alternative ESNI?

Eric Rescorla <ekr@rtfm.com> Tue, 18 December 2018 21:49 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7705E1312D2 for <tls@ietfa.amsl.com>; Tue, 18 Dec 2018 13:49:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 D53MC_Vgtcuz for <tls@ietfa.amsl.com>; Tue, 18 Dec 2018 13:49:02 -0800 (PST)
Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) (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 9F63213128E for <tls@ietf.org>; Tue, 18 Dec 2018 13:48:51 -0800 (PST)
Received: by mail-lf1-x12b.google.com with SMTP id n18so13442955lfh.6 for <tls@ietf.org>; Tue, 18 Dec 2018 13:48:51 -0800 (PST)
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=8b1arvirzWBmW9IX6aN8s4poNeLvmdunBRRmrdSpCCM=; b=QppAtlmSJFY6m42rJPYLDJIdLUg6ws1eVlLQFzqPMAlfGD4L9xEhCxFPMsMsPyn3ku JGaGNqPeBFjkG0PDtdyc/u5mkOCmkIRbgJmNOpkL/A8i6lZw19thgRQ4u6FAgfb2ppn5 7ZaDPqE+glec2ACIGQG3zC1AF83VfbF5lVG/fTvxG2gZWSLlNLHlaxJ35HNVX0ANtKl4 A01g0jO9D+lQLM6YMBfG3SBWos3pI3EMrxHRyJGq6mAf7qtch6s3MYB1lZjGKpy3/9Am DAH9LbtxR44K3pWlO3UC5pQ4Rph4qyVjs/aoMYsZyGde3NRDaBBJrlkbX4aZPV3tnKfh lP5Q==
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=8b1arvirzWBmW9IX6aN8s4poNeLvmdunBRRmrdSpCCM=; b=NZUS8uEeOJgrnhY4aDyU075MoEyvwLyIOXcT7WAcuQROfMPI5vlahPYv1uks0w2ACX lD+2vMSteI8EQNPwTigvYzTVfwe+4wpq72thLI72ISBuzILIhOe1Cr1s5v0O2n1+Z4yd 3wx43C8M75k5E606kIKs8yQqtULWURP4Gt1MrD/dAeZPwrkBtQDqyL85GZ43ex1bxA6V fMolK4vTb907nZkiuYTeV+asy8rXVpOh86SkyfO1cnBojRLx9mdilNojcPpeyLX4rRG9 YXV2jKia+YXS+U+vRTq+jE6tPG/FGQuEFNtjydzX+POCh7asi1j0JBwHosHBXWN7F31X RQ4w==
X-Gm-Message-State: AA+aEWbm+WQeuvmIxE+0ADHhdwwps3qx8UwMJqCpO56LlWdi830hLI/A MV+MyVLNdzdHaHuR1VwVXOcSWBwXDjvyoQt/3KYoQQ==
X-Google-Smtp-Source: AFSGD/W7IpH2mFOn6+j9vqn4JjTvxidx5unXsm3mHGQc4mlp2RxNqrz680xmB2rA/3xCtNqswQSETvG38iUj8K/DWag=
X-Received: by 2002:ac2:4343:: with SMTP id o3mr11470074lfl.129.1545169729580; Tue, 18 Dec 2018 13:48:49 -0800 (PST)
MIME-Version: 1.0
References: <20181215025346.GJ15561@localhost> <CABcZeBM_7LF-UDH8NR3Kad-8zSJBWwuNsDEJVAagHf1cV4Ow6g@mail.gmail.com> <alpine.LRH.2.21.1812161439170.14874@bofh.nohats.ca> <CABcZeBNyF6kP7iHZjDq0w+OtOOj5d67J8sCkLYwA5xaFTW8Q8Q@mail.gmail.com> <CAHbuEH7R36YyFN=7ctMUHMndgt93TKM9srM4YkdBqL05dLyscQ@mail.gmail.com>
In-Reply-To: <CAHbuEH7R36YyFN=7ctMUHMndgt93TKM9srM4YkdBqL05dLyscQ@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 18 Dec 2018 13:48:12 -0800
Message-ID: <CABcZeBPWL-BaaWvrkjmyaqUNccctEsYegN3i-JPT+brVCRHZRQ@mail.gmail.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Cc: Paul Wouters <paul@nohats.ca>, "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000d99ad4057d52dc3b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/VFI1Xi7pFNWxb14C7kslEfWoJ8E>
Subject: Re: [TLS] Alternative ESNI?
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Dec 2018 21:49:10 -0000

On Tue, Dec 18, 2018 at 10:54 AM Kathleen Moriarty <
kathleen.moriarty.ietf@gmail.com> wrote:

> Just a clarifying question inline
> On Sun, Dec 16, 2018 at 3:30 PM Eric Rescorla <ekr@rtfm.com> wrote:
>
>>
>>
>> On Sun, Dec 16, 2018 at 11:45 AM Paul Wouters <paul@nohats.ca> wrote:
>>
>>> On Fri, 14 Dec 2018, Eric Rescorla wrote:
>>>
>>> > However, in a large number of cases (e.g., an attacker on your local
>>> network,
>>> > there are non-DNSSEC ways of obtaining this property, such as using
>>> DoH.
>>>
>>> Data origin authenticity is not the same as transport security.
>>>
>>
>> Yes, I'm quite aware of this fact.
>>
>>
>> DoH offers no guarantee that the non-dnssec protected information you
>>> received is not modified.
>>>
>>
>> As with all things security, it depends on your threat model. If the
>> attacker you
>> are concerned with is between you and the DNS server, then in fact it does
>> provide protection.
>>
>>
>> Unfortunately, I keep needing to say this on various IETF lists. The
>>> move towards "blindly trusting DNS over HTTPS/TLS" servers is misguided
>>> and just moving the goal post.
>>>
>>
>> I don't think this is a very accurate characterization of the situation.
>> At present,
>> the vast majority of DNS information is not DNSSEC protected [0], and yet
>> we
>> have to rely on it. If there's a "blindly trusting" in this discussion,
>> it's that. DNS
>> over HTTPS is designed to improve the situation, though of course it's not
>> a panacea.
>>
>> However in *this* case, it actually covers a pretty large fraction of the
>> threat
>> model, because (1) many attackers are close to the user and (2) if the
>> attacker
>> controls your DNS server, then they learn which site you are going to in
>> any case even before you send SNI.
>>
>
> This is written as a pretty broad statement.  Did you intend to say that
> the attackers for this threat vector are close to the user or many
> attackers?
>

I'm not sure I understand the question you are asking. A lot of the threats


Asking as this could sway opinions and the current solution is well suited
> to CDNs, not necessarily others.
>

Yes, the current solution is generally designed to fit into CDN-like
scenarios. However, ESNI is generally not that useful unless you have a lot
of origins on the same domain (otherwise the IP address itself reveals your
destination), and there are a limited number of scenarios of this type
(CDNs, hosting providers, application servers, etc.)



>> [0] https://www.cs.umd.edu/~dml/papers/dnssec_imc17.pdf provides an
>> overview
>>
>
> This is probably a bit better as a reference as it appears to be kept
> current:
> https://www.internetsociety.org/deploy360/dnssec/statistics/
>

Thanks.


and includes links to others providing statistics for reference as well.
> The validation statistics look a bit better in the following study:
> https://stats.labs.apnic.net/dnssec/XA?c=XA&x=1&g=1&r=1&w=7&g=0
> where worldwide, they say 16% DNSSEC validates.
>

I believe this is measuring something different, which is the fraction of
the Internet which is covered by validating resolvers. However, that
doesn't reflect end-to-end validation, but (typically) recursive resolver
validation, which is a rather different matter. To my knowledge, no generic
browser client does DNSSEC validation, for the reason that when people have
looked at it it created unaceptable failure rates.

-Ekr