Re: Grease the packet type?

Ryan Hamilton <rch@google.com> Tue, 11 January 2022 15:07 UTC

Return-Path: <rch@google.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 4E6D23A1428 for <quic@ietfa.amsl.com>; Tue, 11 Jan 2022 07:07:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -22.6
X-Spam-Level:
X-Spam-Status: No, score=-22.6 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_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-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 ha7nJXAq6FlX for <quic@ietfa.amsl.com>; Tue, 11 Jan 2022 07:07:19 -0800 (PST)
Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (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 87B543A1427 for <quic@ietf.org>; Tue, 11 Jan 2022 07:07:19 -0800 (PST)
Received: by mail-wr1-x431.google.com with SMTP id t28so26775882wrb.4 for <quic@ietf.org>; Tue, 11 Jan 2022 07:07:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9jCel+2oL1fN+2Z7ohqHu7H2tOcEIykEmm2BOxaQriM=; b=Pe8a1ur/iRNEeZ36Jw6ZFXVjCxPpY15p4lfdTv+6/loLzH0UnHak9CJIzlxyY11vYe izT7Inj+m4Mg5sCOJDglwdCuHeamRnsCVW5Q8H02aiYmWdcRi71G/0ASwkA0RVX3wuMj Z6Jz8wDkDq8HvIy2EsEy4kT8zlZjIqIGw0mZr1KzJGBKMtJsVVAkDZruyduokWUDO7zU PKj51sC1yUXksNNlymVV5UaTOS5URArt206DPWLAW5UDT0CramI0F9j28FCCp+sy6vKS /nd4qPjF8Uz1cGpgZuA2g3SNVYY9JJM60ebBTnlCiQXrIRvNQWQ/XD1pUkcFHZ5byhBM /Fow==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9jCel+2oL1fN+2Z7ohqHu7H2tOcEIykEmm2BOxaQriM=; b=fB72g4QQFmkpDxImLo/+dO9fR3MoVo/wDSG8n756h2cvLIwkGKU+xwUCTw3fRNkvWG GTQayNcPxBRH9uMTdGTLMFw2C3Bog3u5+mKkG3uQ9Q8vStFmF2i00XVFLL2EUs9S4w7k jZfFnUYqM5R1A5xR7AnqG3wkFsRLpkoOKWw5broifnhewhz61Hm4n6fPzXIyUyaHD1Z1 DuOdmlnwB4qTVTPXOyDa/K9cb3Zhmjkfd8PO7YVMdzhLubx42eMRZMmERdkJfnC6sIfR kubbbeNuyhctRhERQOHxwU8geqKstTThaAIeSGtZTriCDnLGTYavhoFTqqEabLJZZ76E iEOw==
X-Gm-Message-State: AOAM531MTMY8plDabTNO9uKGhTufBvCZucBPy6Yz46MWQ8MZSSo7zyEs YI1puFb2pGfHqOCmNdpBpAvqyxHJpQPuDqQnZzgbgQ==
X-Google-Smtp-Source: ABdhPJwFtx2zBqocBk9/qdYlSo0nd2dABJAT1gfkBtMsvXWkQirnMxLiv93tMwbKhvKeq6lOIh3xVoTOsCUFGGg6omM=
X-Received: by 2002:adf:9c85:: with SMTP id d5mr4209706wre.374.1641913635855; Tue, 11 Jan 2022 07:07:15 -0800 (PST)
MIME-Version: 1.0
References: <CAM4esxTf4gp+tWPSMpTag+=xDqEtVa3qtwhc_FTdojZSue5XxA@mail.gmail.com>
In-Reply-To: <CAM4esxTf4gp+tWPSMpTag+=xDqEtVa3qtwhc_FTdojZSue5XxA@mail.gmail.com>
From: Ryan Hamilton <rch@google.com>
Date: Tue, 11 Jan 2022 07:07:03 -0800
Message-ID: <CAJ_4DfQB9PhuPpRvv7y=kCKkTnHspFquM30ai-fiGCeoRk=2MQ@mail.gmail.com>
Subject: Re: Grease the packet type?
To: Martin Duke <martin.h.duke@gmail.com>
Cc: IETF QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000058b9f05d54fcf66"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/UtKC3YJvCGeIs-cCWe7E-wg9ToY>
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: Tue, 11 Jan 2022 15:07:21 -0000

To make sure I'm clear on the proposal, the idea is basically to make the
long header packet type values different for different versions
(specifically v2)? This means that v1 and v2 will not be wire compatible,
right? I'm slightly loath to open up v2 to wire changes because I fear
it'll turn into a honeypot for other attractive chances and may bog down
the release of v2. But I don't feel strongly and the idea seems nice in
general!

On Mon, Jan 10, 2022 at 3:24 PM Martin Duke <martin.h.duke@gmail.com> wrote:

> This issue hasn't gotten much attention in QUICv2:
> https://github.com/quicwg/quic-v2/issues/7
>
> Basically, we could simply reassign the packet type codepoints in v2 to so
> that Initials are a codepoint other than 0b00.
>
> For example:
> Initial = 0b01
> 0-RTT = 0b10
> Handshake = 0b11
> Retry = 0b00
>
> To the extent the purpose of v2 is grease stuff, this seems like a pretty
> simple and good thing to do. To the extent it's supposed to exercise
> version negotiation, this change is a needless distraction.
>
> Does the WG think this is worthwhile? I hope to issue the next draft with
> the provisional version number allocation, so this is the right time to
> make this sort of change.
>
> Martin
>