Re: Consensus Calls for Transport/TLS issues, post-Cupertino

Eric Rescorla <ekr@rtfm.com> Wed, 30 October 2019 21:01 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 80327120881 for <quic@ietfa.amsl.com>; Wed, 30 Oct 2019 14:01:25 -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, RCVD_IN_DNSWL_NONE=-0.0001, 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 S7cXfN343n5e for <quic@ietfa.amsl.com>; Wed, 30 Oct 2019 14:01:23 -0700 (PDT)
Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (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 339A912086F for <quic@ietf.org>; Wed, 30 Oct 2019 14:01:23 -0700 (PDT)
Received: by mail-lj1-x22d.google.com with SMTP id c4so4208440lja.11 for <quic@ietf.org>; Wed, 30 Oct 2019 14:01:23 -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=C39PSocb0qWiPZPJ1FCvQ6I6YqcEVVHEcohDAjVg4WU=; b=CM/zPnyc4sfv89Np/He5lMFPKzI0GWxabQbqpC4pahhpklVpaiOO5ab/vUt4MRgb5U iTJXt7AmDwtr4kOkpixmPAFBFla1mSR812nHLNAZGwviqxXjHsn8/2NK6cc7rIetEDdt z9HeJQYiJG+OX1u54heFvWHIAHBMg+F9Koj1kg0Fq7zTatTLDgUtfFqIpKUyoio+T0QH UeVsNRNgCn1BCPWXR/qHmp6eRJS3RoOE2w3jRPTqercORpNIDLyqHkI+PSFRP3DoXa43 EZPDJfwbgGAiYwp8612dRXzp94fIhT+rKZc8GnoGHRK564Tgvkmloj22ueqw4CAsotbn aUbg==
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=C39PSocb0qWiPZPJ1FCvQ6I6YqcEVVHEcohDAjVg4WU=; b=XkybbXG8Re7oq1KcOzJJ+rLKuQWZIV6nyo+0DHVTXwtXmBYg6Wm1cAVPFAqV8R27F2 SC4k+abshovyWgRT4uPEWF2Lfu7pRKUa+QiryaomQGJ9zhrKYh0jZA/s1evEG8rlvIQt wKUOJZovsXsZ4uW09lEnzLQJwNB+C0opF3tGaS8AJdMW1Yd4wDX862sIhpQj8ANM7EJs Et500Vy/xl7SX4jKj23SExQ6IulguVe1vDkE22GL3+AbS3k1QkSrXIEGcHdgco4JEslI sg4CPT9h4arYijBiWMq66pUV+KnjHg6e0kMDF9xV2biH0rggOOUg44KjgNacJOo5448M v55A==
X-Gm-Message-State: APjAAAV4h+yTbdln2y7LE+iTCwDnqxWujODsnDq8wqvo+S9IJSmTYzIC Kt5WuzUuSZ/R6EUa9V54qKYP2P130W37LB5f7qevnw==
X-Google-Smtp-Source: APXvYqxksz58Mhp506bFSgWFdz7TtmHJahpYnwmwG7neI86vRBxKDAZNMyYxYL+6Zey5PJouom/zmU8/DvzSDC162aU=
X-Received: by 2002:a2e:3e18:: with SMTP id l24mr1250720lja.48.1572469281426; Wed, 30 Oct 2019 14:01:21 -0700 (PDT)
MIME-Version: 1.0
References: <4D6397AF-B411-4E67-AFD2-76E8F2AD462C@mnot.net> <CANatvzwYA-NN+p5jLu4vpgKY_G-ZoUM03CacZWS2FAPyPqgiiw@mail.gmail.com> <BN3PR00MB0083E9A10A58F4CCC7B8A5C6B3680@BN3PR00MB0083.namprd00.prod.outlook.com> <22517ab5-9a6c-4486-b7ea-03badc064cbe@www.fastmail.com> <CANatvzx=RWB1Bio7tqX7nN_Vn1SfSaE69LZbuiU5pWeXP=BwNQ@mail.gmail.com> <DB6PR10MB176678E88FF226C2EB8FF78EAC680@DB6PR10MB1766.EURPRD10.PROD.OUTLOOK.COM> <CACpbDccOe01VBjwwy=mdSi5nync8bXa506OMTbLPpBH-hoj4Sw@mail.gmail.com> <CAPDSy+4S06qHBbitdH07Ah6gJYV+ZMY4huYLVGw14Q-n6isCrg@mail.gmail.com> <BN6PR2201MB17008576E4F8400B5DDB696FDA6B0@BN6PR2201MB1700.namprd22.prod.outlook.com> <CACpbDcf+n47NXh8XMEKx6n1fiJPZ+WyuivNmuBy1vKhZYZe6Uw@mail.gmail.com> <CAM4esxQYyTQPpF13v0AT4R=TcFOa9=UCn0nWsiqwMReYFOYDYg@mail.gmail.com> <CABcZeBM2QGC+wx-UUKMkJDqxKscOgJfhqwPhr7QXg3h-GpZwfQ@mail.gmail.com> <4d408d7a-7c50-4ccc-a42b-fb2b71b0c507@www.fastmail.com> <CABcZeBMdQPMeu862uizQYKr451Y9mvwhZ4MT7h_te5ho_Y9DOQ@mail.gmail.com> <98b890c7-d57f-484c-88d5-056e4e607465@www.fastmail.com> <CABcZeBP4BwBsySd8Phhg3fd3kTMoS6E=j5tit3pg7JKe7vrb6Q@mail.gmail.com> <1e5ae15f-56cf-47c5-930a-9f5bae59763b@www.fastmail.com>
In-Reply-To: <1e5ae15f-56cf-47c5-930a-9f5bae59763b@www.fastmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Wed, 30 Oct 2019 14:00:44 -0700
Message-ID: <CABcZeBP2yHXaaXYtAwYfqshrENwMaMCQsmnOd3KD2DurwGy8dg@mail.gmail.com>
Subject: Re: Consensus Calls for Transport/TLS issues, post-Cupertino
To: Martin Thomson <mt@lowentropy.net>
Cc: Martin Duke <martin.h.duke@gmail.com>, Jana Iyengar <jri.ietf@gmail.com>, Mike Bishop <mbishop@evequefou.be>, David Schinazi <dschinazi.ietf@gmail.com>, Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>, IETF QUIC WG <quic@ietf.org>, Kazuho Oku <kazuhooku@gmail.com>
Content-Type: multipart/alternative; boundary="000000000000f0a21105962708ad"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/6UxWkRk3jaAmQ6I3qtAjHZeO8U0>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Oct 2019 21:01:26 -0000

On Tue, Oct 29, 2019 at 10:02 PM Martin Thomson <mt@lowentropy.net> wrote:

> On Wed, Oct 30, 2019, at 10:58, Eric Rescorla wrote:
> > On Mon, Oct 28, 2019 at 8:32 PM Martin Thomson <mt@lowentropy.net>
> wrote:
> > > On Tue, Oct 29, 2019, at 10:34, Eric Rescorla wrote:
> > >  > On Sun, Oct 27, 2019 at 7:47 PM Martin Thomson <mt@lowentropy.net>
> wrote:
> > >  > > On Mon, Oct 28, 2019, at 10:01, Eric Rescorla wrote:
> > >  > > > I think we're clearly going to need to spend some time on this.
> I don't
> > >  > > > think the spec is satisfactory as-is: we should be designing a
> > >  > > > transport that works for all use cases, not just H3. That said,
> I also
> > >  > > > don't agree that we need an additional explicit signal. We have
> one,
> > >  > > > it's called "ACK". We should figure out how to make that work.
> > >  > >
> > >  > > I think that we've established that ACK doesn't work without
> something to push it along.
> > >  >
> > >  > No, I don't agree with that assessment.
> > >
> > >  Well, I'd like some proof. I shared what I believe to be proof
> earlier. Happy to walk through it again though.
> >
> > Yeah, I think that would help. I've gotten a little lost on the list,
> > so maybe you can re-point it out to me.
>
> Let me try restating it more thoroughly:
>
> The problem that Marten identified is a deadlock because one side discards
> keys at a time that might be significantly in advance of the other.  If the
> endpoint that retains keys still hasn't received acknowledgments, it enters
> a deadlock state if it exhausts the congestion window by sending Handshake
> packets.
>

I'm going to stop here, because it seems that you're assuming we don't just
keep the keys indefinitely. How does that lead to deadlock?

-Ekr




>