RE: Andrew Alston's Discuss on draft-ietf-quic-bit-grease-04: (with DISCUSS)

Andrew Alston - IETF <andrew-ietf@liquid.tech> Mon, 04 July 2022 09:08 UTC

Return-Path: <andrew-ietf@liquid.tech>
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 07C1AC14F728 for <quic@ietfa.amsl.com>; Mon, 4 Jul 2022 02:08:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=liquid.tech
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3xfWopJU_fY1 for <quic@ietfa.amsl.com>; Mon, 4 Jul 2022 02:08:06 -0700 (PDT)
Received: from eu-smtp-delivery-182.mimecast.com (eu-smtp-delivery-182.mimecast.com [185.58.86.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C7527C14F724 for <quic@ietf.org>; Mon, 4 Jul 2022 02:08:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=liquid.tech; s=mimecast20210406; t=1656925681; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FU+eIEgaPB24pbyV9JnuvYogEeh8VVXzEGzC5Fc1x/M=; b=IkLa7xrkoC9TzQ4K+UmrjIl6iHyCQEZavvAF3EME2eq41gn1yQayYOV1NTnKWYQh/wPz15 niVXutKnboJ/zXoLljL4rk5ZYByRTXQ+OrdhmBS3wFhO+yMatgBfCWRDwlAkGp4wNSpIB5 kHiJvphQ6+nZbV4xZcUuTkb8VTQxWFU=
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05lp2112.outbound.protection.outlook.com [104.47.17.112]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id uk-mta-197-H1UvyOHKMryp81MEWU-G2g-1; Mon, 04 Jul 2022 10:07:59 +0100
X-MC-Unique: H1UvyOHKMryp81MEWU-G2g-1
Received: from AM7PR03MB6451.eurprd03.prod.outlook.com (2603:10a6:20b:1b3::22) by PR3PR03MB6619.eurprd03.prod.outlook.com (2603:10a6:102:7a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.20; Mon, 4 Jul 2022 09:07:58 +0000
Received: from AM7PR03MB6451.eurprd03.prod.outlook.com ([fe80::f806:1033:a8ac:40a9]) by AM7PR03MB6451.eurprd03.prod.outlook.com ([fe80::f806:1033:a8ac:40a9%9]) with mapi id 15.20.5395.020; Mon, 4 Jul 2022 09:07:57 +0000
From: Andrew Alston - IETF <andrew-ietf@liquid.tech>
To: Lucas Pardue <lucaspardue.24.7@gmail.com>, Martin Thomson <mt@lowentropy.net>
CC: Andrew Alston - IETF <andrew-ietf@liquid.tech>, The IESG <iesg@ietf.org>, "draft-ietf-quic-bit-grease@ietf.org" <draft-ietf-quic-bit-grease@ietf.org>, WG Chairs <quic-chairs@ietf.org>, QUIC WG <quic@ietf.org>
Subject: RE: Andrew Alston's Discuss on draft-ietf-quic-bit-grease-04: (with DISCUSS)
Thread-Topic: Andrew Alston's Discuss on draft-ietf-quic-bit-grease-04: (with DISCUSS)
Thread-Index: AQHYjIA6ehbTaEymxk2dNU3qJDRt2K1onecAgAAUPwCABT+T0A==
Date: Mon, 04 Jul 2022 09:07:57 +0000
Message-ID: <AM7PR03MB6451AD6950AA36207E4EDFA0EEBE9@AM7PR03MB6451.eurprd03.prod.outlook.com>
References: <165659352834.26475.4217014570058234110@ietfa.amsl.com> <dc5b2368-f66e-4774-a972-68d93841549e@beta.fastmail.com> <CALGR9oa_aqt52OPZSZi184QX1WCQZA3YhWmFygdGqzkfKgbMUQ@mail.gmail.com>
In-Reply-To: <CALGR9oa_aqt52OPZSZi184QX1WCQZA3YhWmFygdGqzkfKgbMUQ@mail.gmail.com>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 8d9311dc-8fad-4479-f4aa-08da5d9cb036
x-ms-traffictypediagnostic: PR3PR03MB6619:EE_
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0
x-microsoft-antispam-message-info: LqJyCxhxSjW6ETpCcktvjbS5D4j4JHLhQ/2M3mep0LzAM1LYNNvkvIM0SbzTkIiPmoAApieYa+43EftVNsIW5szqgi78xI7tAGkV2hQtU1iaohtgrb7mcj6HDKGC0h4cugzQYj/giQUFVEWlVd48qzGBCMEySEls0gUuoOoYBYwiPlxFPhV4fIQ0wBYZrf+11LQZtmWxnx1Zb5S2uc8Uy5QeQmD2vJA5JybCncFf/NNPgpSainccv+rDCrmVAjRcBNMYhUGKtfAqLmdfI/sj42vcDXYK9oCzii7OwdQIfDQyL/AaEg4IIEtC0u+dvjlUkphO+hcMQ8VtQ9XOI7dHg7YuDAHlFj9yaqqL2L6XTlpK/5JX1hmaxh5/ZnDBxlD5k7WuHERBmsWpfPQpUUwm9KAVHbTZAABAEtQ46uYRoETNzfnSaGmh9Jj3KMisMuqwXPmgk+fvygBZeZoLLl9wh8c7GDoXJtlVDPZGKHz8jdzlrY23FrJp5dDk28bVOQ330hdeGVQU8qy4WlZ378XUXWW0sK2l9QbjDB8gZgMA0EYcCviek4BLQwWBgXEOlC5cQ7CbM/dVf2eBt9WvCoAgy3Lc+CBUf/htjRaT3ZbXW/+IRvzS8DJxa4l592Bb+zeuz6BzGGFNdjYd/C2EvCYSasSEAyk1K0WFZT40GdE6XxnDLHymrc9wy4o3OCJhDRhd4BUOEc0lZhhkEr/0sWDQ/maRMUjfx0XVHSl/0CczTcCyjhGJqIs2K1mPdCB1RhwjLoS92pD2/7eahhEdMNje/PqrZ45NFDmxW4AOv46ampzbDz9Be07LV3YDFBy4WfuPLsAdcPPfVurIzsJhO9nkqFdo+Ls2nxJCg2dhMgAdQVLBMhFjNWCOoUutILqhA5TG
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR03MB6451.eurprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(366004)(39860400002)(346002)(136003)(396003)(376002)(186003)(122000001)(38070700005)(55016003)(38100700002)(54906003)(8676002)(66946007)(66556008)(66446008)(110136005)(64756008)(66476007)(4326008)(316002)(83380400001)(71200400001)(9686003)(33656002)(76116006)(5660300002)(7696005)(8936002)(6506007)(966005)(52536014)(86362001)(53546011)(478600001)(166002)(2906002)(41300700001)(26005); DIR:OUT; SFP:1102
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 0uymu5DgMXHYtthxYSeh/DfupiRW2IgIEC7qBlXy2FauSmSVb+/ZZyd/+qf+8SilCCnqI7zRtn7sH5QC+cG+7L69YQO0RCTjQWaZ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3pwBTnOAHykAsFIGIPSQ7tz5B/EQttK4nlMLZsbTRqTUcRNIuo3MGtb0fHUza2rCI1nN2WD5qe2nu/wWshb45+j11afP9+NIX/JGbIFdi427WaBczQObHh4PWaSKrYMXn62YDVf3QLo6ZAg6YCmlkt4lxs1HTBSkYG6BPzQoV6X/ow4WlAO0DP5WuKAbRQUuaZW3fhGetLF7zasq/JCZJsgtJnv+NNUeIpsVhnmzZ2V4PNbdYQhb4evFacIPzSAL/YlE5QMUEHIfEZNyT779s/3N3FzZcVaHNJJLojebMmP8zoGOJ7y8FR5Ane4Xrf6BLl27bLtaa9YTfIgA0GjaKKRzC3g28p3nZJT1rmZQYVCcu/X+G9cVWPylBBvpp1ThVqXYhJo/qsq7c1GrpPwJPMSzmcV9s/5muxLnPMo+j1RFyj+EIWvXagcKXBWWw+g==
MIME-Version: 1.0
X-OriginatorOrg: liquid.tech
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR03MB6451.eurprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8d9311dc-8fad-4479-f4aa-08da5d9cb036
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jul 2022 09:07:57.8537 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 68792612-0f0e-46cb-b16a-fcb82fd80cb1
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 5Ydw/BQFa6L2HgQZjj8mcYoHOmxN6BMl2JC+GwSfGs9Jew+mqlKg+th7e3YJkeIPuWyQBcoTDSZxcJSW3QpXgbV6HEkboltY/mWb7md72L4=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR03MB6619
Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C82A168 smtp.mailfrom=andrew-ietf@liquid.tech
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: liquid.tech
Content-Language: en-US
Content-Type: multipart/alternative; boundary="_000_AM7PR03MB6451AD6950AA36207E4EDFA0EEBE9AM7PR03MB6451eurp_"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/Y6yyTI2NU3BdxHzyTeqrDBW-sW8>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.39
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: Mon, 04 Jul 2022 09:08:10 -0000

Sorry for the delayed response,

I think Lucas’s statement is fair here – so if we can agree on t hat – I’d be ok with clearing my discuss on this one

Thanks

Andrew


From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Sent: Friday, July 1, 2022 3:58 AM
To: Martin Thomson <mt@lowentropy.net>
Cc: Andrew Alston - IETF <andrew-ietf@liquid.tech>; The IESG <iesg@ietf.org>; draft-ietf-quic-bit-grease@ietf.org; WG Chairs <quic-chairs@ietf.org>; QUIC WG <quic@ietf.org>
Subject: Re: Andrew Alston's Discuss on draft-ietf-quic-bit-grease-04: (with DISCUSS)

Hey Martin, all,

I think you're correct in pointing out that the term unpredictable is a term of art within the context of QUIC that this draft operates. However, I find also in RFC 9000 that supporting text for various unpredictable elements usually provides a justification or some guidance. Arguably, the justification _is_ the entire document, but in the context of other grease-like mechanisms in the IETF, it seems a single bit might need a more holistic approach beyond just the value itself.

The closest parallel, for me, is the spin bit text that goes so far as saying
> [if your TPs let you randomize] It is RECOMMENDED that
   endpoints set the spin bit to a random value either chosen
   independently for each packet or chosen independently for each
   connection ID.

Stating explicitly that the unpredictability can be per connection or per packet might be all that's need to make the intent crystal clear, while leaving the actual decisions to implementations.
Cheers
Lucas


On Fri, Jul 1, 2022 at 12:45 AM Martin Thomson <mt@lowentropy.net<mailto:mt@lowentropy.net>> wrote:
I'm surprised at this question.  We used the word "unpredictable" in RFC 9000 a few times, with exactly this meaning and had no issue.  See for example:

> When an Initial packet is sent by a client that has not previously received an Initial or Retry packet from the server, the client populates the Destination Connection ID field with an unpredictable value.

Or

> To initiate path validation, an endpoint sends a PATH_CHALLENGE frame containing an unpredictable payload on the path to be validated.

Or

Stateless Reset {
  Fixed Bits (2) = 1,
  Unpredictable Bits (38..),
  Stateless Reset Token (128),
}

As you say, a bit can assume one of two values, 0 or 1.  Setting a bit to a predictable value would mean choosing 0 or 1 in a way that someone might be able to guess the next value.  Always 1, always 0, or alternating 0 and 1 are examples of predictable methods of selecting a value.  Setting a bit to an unpredictable value would mean setting it to either 0 or 1 such that someone else is unlikely to correctly guess the next value.  A random draw is unpredictable, but there are other methods that would also be unpredictable.

On Thu, Jun 30, 2022, at 22:52, Andrew Alston via Datatracker wrote:
> Andrew Alston has entered the following ballot position for
> draft-ietf-quic-bit-grease-04: Discuss
>
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
>
>
> Please refer to
> https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/<https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions>
> for more information about how to handle DISCUSS and COMMENT positions.
>
>
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-quic-bit-grease/<https://datatracker.ietf.org/doc/draft-ietf-quic-bit-grease>
>
>
>
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
>
> Thanks for the work on this document,
>
> Hopefully this discuss will be relatively easy to resolve - and may result from
> a lack of understanding - but -
>
>    Endpoints that receive the grease_quic_bit transport parameter from a
>    peer SHOULD set the QUIC Bit to an unpredictable value unless another
>    extension assigns specific meaning to the value of the bit.
>
> Now, this is in reference to a bit - which can only be 0 or 1 - and the
> document further goes on to clarify certain situations where this bit should be
> set or unset - so I am not at all sure what this paragraph really means and
> hoping this can be clarified because I'm not sure how this will be interpreted
> on implementation.