Re: Go Back to Single Packet Number Space

Martin Thomson <martin.thomson@gmail.com> Thu, 26 July 2018 01:42 UTC

Return-Path: <martin.thomson@gmail.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 1923B130F29 for <quic@ietfa.amsl.com>; Wed, 25 Jul 2018 18:42:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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=gmail.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 yJOycbNcYoxz for <quic@ietfa.amsl.com>; Wed, 25 Jul 2018 18:41:59 -0700 (PDT)
Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::235]) (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 16D7612F18C for <quic@ietf.org>; Wed, 25 Jul 2018 18:41:59 -0700 (PDT)
Received: by mail-oi0-x235.google.com with SMTP id b15-v6so146434oib.10 for <quic@ietf.org>; Wed, 25 Jul 2018 18:41:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=hchkBIVoYCo1P4XY3aj+AvBiVc5+liOIV4sOh23Djm8=; b=npbnWaX2evTxaLCrxLKCzqL2x37i4uiU0s3yvPwjL3gRZtj8JYSTYTaMyg7Bl2cVo5 RG3yMBRthD9SMLBGOJTE/nKxfrE/jjoFFbWe8LucDkc+BBUn8aDttFhZhCZpn0tvdsIU dzXXYF6BjubJ/FwaNkc3ZwQkXv2DxVuXauQ43tu4LDtieM2cQNQbFh+WDe5bZqh63PD1 HysAQ0aQbGsNoq9VzZnXWU+ngMDmktsNAERclLDAiwbcl8ojKWAzFemZtBkSLplc+0tH W9T5Q1fKtmYCXm+usvMOnppGQ7vGa7c4ZM43NtvQp6ojdePg4q334BBnB1x86rBowHtO id9w==
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:content-transfer-encoding; bh=hchkBIVoYCo1P4XY3aj+AvBiVc5+liOIV4sOh23Djm8=; b=E8D0yjBjj0+Je+M7MHrokQpLHXkoVA4ptgdRbsBXt/0/RVvoLmmYcpsOIS13q19b5Y upZbFlgJ/GaS9wdFieHqdX3X/i/ovz70KQwcg6SCC1xIhn9wuGhEXPtbioqaZdRzG2tZ MWtOsYwtkh3Y0zPvrX7m3hymeC2a/ix0e8iLUYk9xf9abIHPKScb5+ayts+JT7b0K7Fw uinbKmMsKj4ZLVodF+hwLvxRM+dIlF7YMPcDJ3P68+06S5VFgYWeqLcmnWoTOFTIFgnA qG1DERGFns0KBtKs4GPcY8q2ozEcXA9eHor1Bh5WXJhlMapbI+vZofh/SZUQJMT8FQzP gl2g==
X-Gm-Message-State: AOUpUlG3HVxRaGp5NYL8Ihq4xqDYl0V2YNsjfVXhO+Nq8AfJ1fUjHfH6 d9/Pqp3OXkcTQ+kTXbU+WFnRLwrPp3hlSDBkYG1ymLPD
X-Google-Smtp-Source: AAOMgpdvJ1fWVi4UFLmAEGrIfsyyMEIA5faueUiWlsediWEgx4wMwcvLjv9gml+SGKBZxaiaWh6E0mG4MCLLvjjfmGk=
X-Received: by 2002:aca:3954:: with SMTP id g81-v6mr6189212oia.215.1532569318045; Wed, 25 Jul 2018 18:41:58 -0700 (PDT)
MIME-Version: 1.0
References: <DM5PR2101MB09016D44959E5796570F3CB7B3540@DM5PR2101MB0901.namprd21.prod.outlook.com>
In-Reply-To: <DM5PR2101MB09016D44959E5796570F3CB7B3540@DM5PR2101MB0901.namprd21.prod.outlook.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 26 Jul 2018 11:41:48 +1000
Message-ID: <CABkgnnUTPvrVALX0Xr9xGpJnTHq=yWN48NRqtcQSZ4bzGFjAYA@mail.gmail.com>
Subject: Re: Go Back to Single Packet Number Space
To: Nick Banks <nibanks=40microsoft.com@dmarc.ietf.org>
Cc: QUIC WG <quic@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/9XWEsuH2M3HaPOnDVg27Q5tPXb4>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.27
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: Thu, 26 Jul 2018 01:42:01 -0000

The feedback I've heard is that the simplification is subjective.
Others have said that a single space would complicate their
implementation considerably more.  You might want to say more about
that.

The loss of acknowledgements during the Initial phase has the
unfortunate effect of forcing implementations to rely on implicit
acknowledgment.  This doesn't seem like a problem now, but we're close
to the quantum computer cryptographic apocalypse (put that on a
sandwich board and yell it on street corners folks!) and this sort of
reduction in capability could serious impair our ability to ship a key
exchange that doesn't have problems.

Now, this latter thing is not an unfixable problem if you cared about
it, but it depends on what your real problem is.
On Thu, Jul 26, 2018 at 5:29 AM Nick Banks
<nibanks=40microsoft.com@dmarc.ietf.org> wrote:
>
> Hello Folks,
>
>
>
> I have opened a GitHub Issue (#1579) and Pull Request (#1591) for this topic, but it seems progressed has stalled, so I figured I should take it to the list.
>
>
>
> While implementing draft-13, I came across a number of pain points related to using multiple packet number spaces. A lot of the issues result in duplicated state (and associated memory) for all the packet number spaces. But more importantly, the multiple packet number spaces bring in a lot more complexity of logic, compared to the previous single packet number space design. There is a lot more detail in the GitHub issue, and I’d ask that folks take a look at it (and the PR) and provide any feedback they might have. I feel that my Issue adequately describes the problem and my PR provides good (if not better, IMO) solutions to the problems that were fixed previously with multiple packet number spaces. I believe having a single packet number space will drastically simplify implementations in the end.
>
>
>
> Finally, as QUIC V1 (2?) is coming to a close (hopefully) I feel like we should resolve this issue soon. I don’t want this issue to slip out into the next version.
>
>
>
> Thanks,
>
> - Nick