Re: Quic: the elephant in the room

Michael Thomas <mike@mtcc.com> Mon, 12 April 2021 15:22 UTC

Return-Path: <mike@fresheez.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 9749A3A2268 for <ietf@ietfa.amsl.com>; Mon, 12 Apr 2021 08:22:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.75
X-Spam-Level:
X-Spam-Status: No, score=-1.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mtcc.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 BpIYMgxGg6IM for <ietf@ietfa.amsl.com>; Mon, 12 Apr 2021 08:22:49 -0700 (PDT)
Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) (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 195343A224B for <ietf@ietf.org>; Mon, 12 Apr 2021 08:22:48 -0700 (PDT)
Received: by mail-pg1-x530.google.com with SMTP id f29so9650933pgm.8 for <ietf@ietf.org>; Mon, 12 Apr 2021 08:22:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mtcc.com; s=fluffulence; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=k9FN+hxKLJ/TCCgNW7f/uuTjMDvT0mFXAnqgF8k2Cwo=; b=aHswfBP924d9qYBrM+yKHaQxijyWbjErZN6pxMg2stbMq09dGyXPvf3tB6ywKDtFek gO4aKICZK/EMhrvI2V5Xv/UPXs5I1FdYowTp378iZqN+EDwn2hkyM9XYXgipLZNgADxg x9XVk2Omb19/QWsQ8mKzYchEnYxc4JuPtFyOpTobod07cJ5VqzO3ZJ74Pqd2r08+w2rB DdCZSogU3De3ouImh9JGfr8OezXt25Xwz1uA5qzydpSSPJcDtaRSa+/7VFLYLCF/LkM+ pSTweBL+ogn4kPfMEzsiiqgTWN9hutU6VP1H7cyUGlh7gTz/I+96GQFMtu0X1xVtfs8/ M3ZQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=k9FN+hxKLJ/TCCgNW7f/uuTjMDvT0mFXAnqgF8k2Cwo=; b=sJ2iG/q+oyT4H9JEzAztLBADPA/A7pgCVWrvcekQIY/Nn+u5PwR+bKUrqiRZHsvuXc 0Usb83IbiHz5wa4sVEJ7TD1RNuvQCGAkWURaJ632bRIOygeCapEtKqZMZj9j89EW49XY DjJAevrlv/F8ahXuh7RZo6MEkq4htF3xchojwpDp/vkORRl0dHa4qFkLtNEJo58plp6+ 84PtFgsL8vjcvCosw543Z0wVE2hF/m2GZbpfIU6Ov2Jg0EWy590NKhwWBd5BxyhbaplF FFNpmrcQx83Mzth0EJDszfKx/XhVuLN/D2ngDfmn5l1Yw3TM+3F8HJeoRl4EUM5llfLc l3Aw==
X-Gm-Message-State: AOAM530CgrSLBwtfUXJKVowl3dz5S60+011+/H/fKMhXIH4gk6FxCiPH 1yaxBfs90W3OLVzJK1+/1/2DH7hBLEh9KA==
X-Google-Smtp-Source: ABdhPJyJNA7hUuZhfTVJip3t1bkewG5UaL5OX9yW0wucWmonSvnmGFKPpJJB0sS64yxjgRRBHqCytQ==
X-Received: by 2002:a62:e20b:0:b029:23d:f634:e70e with SMTP id a11-20020a62e20b0000b029023df634e70emr25611202pfi.70.1618240967535; Mon, 12 Apr 2021 08:22:47 -0700 (PDT)
Received: from mike-mac.lan (107-182-38-56.volcanocom.com. [107.182.38.56]) by smtp.gmail.com with ESMTPSA id d5sm3888014pfq.182.2021.04.12.08.22.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Apr 2021 08:22:47 -0700 (PDT)
Subject: Re: Quic: the elephant in the room
To: Andrew McConachie <andrew@depht.com>
Cc: "Salz, Rich" <rsalz@akamai.com>, Phillip Hallam-Baker <phill@hallambaker.com>, IETF Discussion Mailing List <ietf@ietf.org>
References: <3b25c77d-e721-e86d-6c34-a90039aab0e2@mtcc.com> <CAMm+Lwhi8xwFgZJL7jod2g4urZt_f+dm0tNi+3y1osqOfch2mQ@mail.gmail.com> <3593a01f-73f4-7d03-a85b-dff64a8b070e@mtcc.com> <506A780B-9C0D-4F4A-B045-098F6152F4DB@akamai.com> <14cd802e-2a1b-97d4-c80d-b57f93e8cc21@mtcc.com> <E4374100-265E-4426-9F9A-AC437DA31D2B@depht.com>
From: Michael Thomas <mike@mtcc.com>
Message-ID: <15059e21-b7c2-4211-869e-df3ffdf7c34a@mtcc.com>
Date: Mon, 12 Apr 2021 08:22:45 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.0
MIME-Version: 1.0
In-Reply-To: <E4374100-265E-4426-9F9A-AC437DA31D2B@depht.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/uWycYqIx0Mr3p2vul0ol_Iohhew>
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: Mon, 12 Apr 2021 15:22:58 -0000

On 4/12/21 3:36 AM, Andrew McConachie wrote:
>
>
> When looking at how one might implement DANE for HTTPS/TLS I don’t see 
> any reason to handle these things sequentially. You don’t have to 
> change TLS you just have to do things asynchronously. Query for TLSA 
> RRs at the same time as sending the TLS ClientHello, and kill the 
> connection setup when/if DANE validation fails. On the off chance that 
> the DNS actually takes longer than TLS, maybe delay sending data via 
> TLS until DNS responds. But I bet this almost never happens.
>
Correct. Better: you can do the TLSA request at the same time as the 
A/AAAA request speculatively. Plus if you've ever had a TLSA record for 
that domain, you know it's pretty likely you'll get a fresh one even if 
the last one is expired, so the speculation is minimal.

Mike