Re: Quic: the elephant in the room

Ben Laurie <benl@google.com> Sat, 10 April 2021 09:30 UTC

Return-Path: <benl@google.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 63D6F3A2B31 for <ietf@ietfa.amsl.com>; Sat, 10 Apr 2021 02:30:01 -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, RCVD_IN_DNSWL_NONE=-0.0001, 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 b0oCImHafpd2 for <ietf@ietfa.amsl.com>; Sat, 10 Apr 2021 02:29:56 -0700 (PDT)
Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a]) (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 30A3F3A2B2F for <ietf@ietf.org>; Sat, 10 Apr 2021 02:29:56 -0700 (PDT)
Received: by mail-ua1-x92a.google.com with SMTP id s2so2630910uap.1 for <ietf@ietf.org>; Sat, 10 Apr 2021 02:29:56 -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=dO9/chZ5uUZxMWkifzKDcWCrT5Ajy2E/gpRn5JU1SUM=; b=InDRmLU09dPJ1ENTYS9g5n8w4sK3onYml2FCn4gppt/yglXMH7vtwjK6WP87dnPSaP r0F3iPp0dFlFNYAKytNge+maFZqzqLJwtoorsUfejHVK9fLh5w7DAkMXFzwGncqCHQxR rtqixeJHxDhM4BSQ10KNfVti5iMsfLwY+G8+kSzXmuRQ2RVDhTorZ8LXi+0XlpaR5ajJ 4kCvkj9mZ+/IVZp6OQVqC3sRTkjr122o7dOioYIjRxzOpLFfcSya/qBfYVpahot//uiZ fMxlAbGn8x4+IUPCC1qP5FhEdjb9CRMWRedMmSBKNpA5/cUwLA8tmBYYJZ5qCPCaLEvh 7KaA==
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=dO9/chZ5uUZxMWkifzKDcWCrT5Ajy2E/gpRn5JU1SUM=; b=f//1H681qCk0+MlBsJUUpStHRW0CajY46/t1QakCYzdmYZewFDjFHnarpdOIuZXW0f xTx6FiWQGcbtK76ZHZmdCuQu3wQxjqYo1cRGEL6bLmWUY3oqx6C1tXvg9wqjyBjh7Il8 crlvO74vYnQYKCQwOtN6cgpynzq3pV2TxQGN9WZOhXqFsBtHkscTP9o6nB0Og6HWK/6C kst3cPfXpChcCIIC1CZ8410vBCE8tX8DfScgIWxTThpFR86HobnwslEYIKZqn7mdlRxu iOCpULKEty8jhrk1uXmHGa0gORaJwpUln2U/ZAJ4h5SaWLpc/1YeH2U6xMvh/iP4UUnV mfbQ==
X-Gm-Message-State: AOAM530YtrRG5EaW4afnynP0kOzGbbjwkl57ZGxOJMTu4yZUdnRbFG8u 7KvCFU22Phv6MsFX/TdpPwZ6TvGrjDMCTfSMyO1XEw==
X-Google-Smtp-Source: ABdhPJzAAtsdAe6zX0FU+XK9bFrV1nm37yFkk0YzrlHSQsNpThnKkuF9vV9lv7TUkVPmQeYOWrZoW2yCEQTdJKbaXQY=
X-Received: by 2002:ab0:596f:: with SMTP id o44mr14488359uad.8.1618046994211; Sat, 10 Apr 2021 02:29:54 -0700 (PDT)
MIME-Version: 1.0
References: <3b25c77d-e721-e86d-6c34-a90039aab0e2@mtcc.com> <CAMm+Lwhi8xwFgZJL7jod2g4urZt_f+dm0tNi+3y1osqOfch2mQ@mail.gmail.com> <3593a01f-73f4-7d03-a85b-dff64a8b070e@mtcc.com>
In-Reply-To: <3593a01f-73f4-7d03-a85b-dff64a8b070e@mtcc.com>
From: Ben Laurie <benl@google.com>
Date: Sat, 10 Apr 2021 10:29:42 +0100
Message-ID: <CABrd9STZXonBDvWB7Z36H2mD20Juubc01TUmEvpfWkvJggQVOQ@mail.gmail.com>
Subject: Re: Quic: the elephant in the room
To: Michael Thomas <mike@mtcc.com>
Cc: Phillip Hallam-Baker <phill@hallambaker.com>, IETF Discussion Mailing List <ietf@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000005274d205bf9aec8e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/sfiLDgJfCAwdiBrMkG9XBdENI-k>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 10 Apr 2021 09:30:02 -0000

On Sat, 10 Apr 2021 at 00:35, Michael Thomas <mike@mtcc.com> wrote:

>
> On 4/9/21 4:26 PM, Phillip Hallam-Baker wrote:
>
> It is only a 'three packet handshake' if you ignore the off path
> interactions with the DNS service. The timeout on DNS tens to be rather
> smaller than that most would be comfortable with for crypto.
>
> I don't see why it can't be long lived, but even normal TTL's would get
> amortized over a lot of connections. Right now with certs it is a 5 message
> affair which cannot get better. But that is why one of $BROWSERVENDORS
> doing an experiment would be helpful.
>

When I was designing Certificate Transparency, Chrome ruled out any side
channel communications requirement during handshake. Given that DNS is
required anyway, perhaps this would be different. However, the other
problem is introducing DNS as a trust root - the DNS hierarchy is
considerably less secure than CAs were even before CT but now it's really a
very poor option in comparison.

Could be fixed with DNS Transparency, of course.



> Mike
>
>
>
> On Fri, Apr 9, 2021 at 7:17 PM Michael Thomas <mike@mtcc.com> wrote:
>
>>
>> I wrote a blog post about how something like DANE could be used instead
>> of certificates for the TLS handshake to get it back to the original 3
>> packet handshake. I know that isn't news to a lot of people, but the
>> interesting part is that a Google could perform an experiment to see how
>> well it works in real life just like they did with Quic and Spdy. Since
>> Quic is all about making setup time faster, it seems like a pretty
>> reasonable experiment since it would cut out 2 packets generally
>> speaking since DNS can be cached.
>>
>> https://rip-van-webble.blogspot.com/2021/04/quic-elephant-in-room.html
>>
>> Mike
>>
>>