Re: Grease the packet type?

Ryan Hamilton <rch@google.com> Tue, 11 January 2022 15:52 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 8DAA23A164B for <quic@ietfa.amsl.com>; Tue, 11 Jan 2022 07:52:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.6
X-Spam-Level:
X-Spam-Status: No, score=-17.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, 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 VNLNNUPR7Efb for <quic@ietfa.amsl.com>; Tue, 11 Jan 2022 07:52:16 -0800 (PST)
Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (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 ACB233A1648 for <quic@ietf.org>; Tue, 11 Jan 2022 07:52:16 -0800 (PST)
Received: by mail-wm1-x329.google.com with SMTP id v123so11388096wme.2 for <quic@ietf.org>; Tue, 11 Jan 2022 07:52:16 -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=Sd+jAnQuCTTuutxiq6ZUwaI35QJcWFOWcyU8pApepSA=; b=bONEHtFEr5tonjZYWIM1bRmHFgYz/5JXrOYWyev3tai3F3Y7/EuoTfbrMmn89PUbo0 l0Dxql/S9Jp2d/++Ux2+arFStN2X7E2DFNyygrQAgoFuY8SF69q/asulRsN2+g/BcQkV c0D8DPC5k5xZC5Asyd6LFu/Cm6/tzUo28HkfmPE/s8m7Jr+uwsjFvzca9VX/8a+a2/Ti VijJnxxg/kRSyFoz91wZjHzHDYaPQ/9ytmYEB+eUPifI07rE8scsBUiweMrMeo0y4OFm a7iEbHO8bcUzTIn9TPNOLYbBi9nZKuGBQYZa6ookcBbIs7xX96NUkwH4Q2h4+kxICFTg bRsQ==
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=Sd+jAnQuCTTuutxiq6ZUwaI35QJcWFOWcyU8pApepSA=; b=cVmmDM7NjhyOINdKas+vl2DDQbxSSJgvjjsnn1H3+WFKbfF7JkXVGDXlv0coDY0NqP RzIh3fb6jF0ktKMVsUoeFgHYWYS/S5gNFmGYfJKyPeKM8Tv3WXS7PYR4trkVazZa8kSk G7VT8LlJkS+KO4ttalVIgFtwAtlrODNDfd+UxuY9JWUosDxKxRTvdirxNrE7TOyDXRAV So0y4kxP/a0bQZlgXQdDEIXsQ55QcC1nU+PE+A86IQw/KcjlUsIWhEkjLAFInxkWPWf8 qqNCbyC4ZW/dqwNszN6iYUcGkxOc4eX76FHpbbSl4xSWa0YDwVxcsQlpWY+3vFEYqKnv U1ug==
X-Gm-Message-State: AOAM533xVVtzcfLQy7mCNHDt/FWg+SF5MTD6AjrXqASp3obPzazXVdqc u/7a/Va4mtGrcJuPnBuM0Kgut1bN8KC79N8PXRv/E7l+HDE=
X-Google-Smtp-Source: ABdhPJyMr9sET6gCg9qjGQCYehC4eKon/AELnlWrEQ7AGSh5cp9wSQXCJYO1R2pB6uV9FSf1De4MWdq9BD2OucduhHg=
X-Received: by 2002:a05:600c:3589:: with SMTP id p9mr3087049wmq.65.1641916334053; Tue, 11 Jan 2022 07:52:14 -0800 (PST)
MIME-Version: 1.0
References: <CAM4esxTf4gp+tWPSMpTag+=xDqEtVa3qtwhc_FTdojZSue5XxA@mail.gmail.com> <CAJ_4DfQB9PhuPpRvv7y=kCKkTnHspFquM30ai-fiGCeoRk=2MQ@mail.gmail.com> <CAM4esxSczhQtJ1pKNPUhME4o70ebA4EurOMqxjhyccoW37Eqow@mail.gmail.com>
In-Reply-To: <CAM4esxSczhQtJ1pKNPUhME4o70ebA4EurOMqxjhyccoW37Eqow@mail.gmail.com>
From: Ryan Hamilton <rch@google.com>
Date: Tue, 11 Jan 2022 07:52:01 -0800
Message-ID: <CAJ_4DfT9+7LbVTbyKsx0ubY+aUMMR2kmHJYEK3HMRAcn+SeAbg@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="000000000000d85c3105d5506f38"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/lGXs8lticZm-8A6yo05sWIdrXj4>
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:52:19 -0000

On Tue, Jan 11, 2022 at 7:30 AM Martin Duke <martin.h.duke@gmail.com> wrote:

> Hi Ryan!
>
> The honeypot issue is a real one -- I've made it pretty clear that this
> draft is not doing functional changes to QUIC unless we discover a
> vulnerability or a deadlock condition in v1.
>

Woo hoo! :) That definitely seems like the right goal.

> But they would still be "compatible" in the sense of the VN draft -- a v1
> Initial packet can be translated to a v2 packet with 100% fidelity, and
> vice versa. I'm not sure what you mean by "wire compatible", but as all the
> keys are derived differently, we are already well past a v1-only endpoint
> being able to read v2.
>

Fair point! What I meant was that a simple version alias will not quite be
sufficient here. An implement which already supports, say, v1 and draft-29
will need to write new code to handle this new packet type logic. (Of
course, this is not much code). It won't, however, be able to simply add an
entry to an existing data structure which associates salts with versions.

That being said, this is a minor point. As long as we're all focused on
getting v2 out with minimal change then hopefully this won't actually open
up Pandora's box.

Cheers,

Ryan