RE: Reserved HTTP Frames

Mike Bishop <mbishop@evequefou.be> Fri, 10 August 2018 17:37 UTC

Return-Path: <mbishop@evequefou.be>
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 46957130DF4 for <quic@ietfa.amsl.com>; Fri, 10 Aug 2018 10:37:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 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_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=evequefou.onmicrosoft.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 6xIWhK7RP0W5 for <quic@ietfa.amsl.com>; Fri, 10 Aug 2018 10:37:34 -0700 (PDT)
Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0127.outbound.protection.outlook.com [104.47.32.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2FDD71286E3 for <quic@ietf.org>; Fri, 10 Aug 2018 10:37:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=evequefou.onmicrosoft.com; s=selector1-evequefou-be; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oiDxOJb2f2SDI6+KFFfGqHxOWKA5ILjxtrj5s4h82FE=; b=DavU6O2SxmBy/mu5fViT7fA0auxNCloptMAVznR/+DYMcLOLopZ7aXmVFCMl0wdB75o8dyioYgwJFsL6p7MvqGOeVp6vpR07b887OuUeqGW2n++iHyvjFYhisv7sAisuAvco8aZ6SeO9cbpB3ncsF5NMFkYgVamSdrHZoXYERao=
Received: from BYAPR08MB3944.namprd08.prod.outlook.com (52.135.194.30) by BYAPR08MB4502.namprd08.prod.outlook.com (52.135.203.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1038.20; Fri, 10 Aug 2018 17:37:29 +0000
Received: from BYAPR08MB3944.namprd08.prod.outlook.com ([fe80::913f:4f09:ae22:b6db]) by BYAPR08MB3944.namprd08.prod.outlook.com ([fe80::913f:4f09:ae22:b6db%5]) with mapi id 15.20.1038.019; Fri, 10 Aug 2018 17:37:29 +0000
From: Mike Bishop <mbishop@evequefou.be>
To: Ryan Hamilton <rch@google.com>
CC: IETF QUIC WG <quic@ietf.org>
Subject: RE: Reserved HTTP Frames
Thread-Topic: Reserved HTTP Frames
Thread-Index: AQHUL1yjkMEVY37LVkuUUxvpaUrG6KS3kriwgACVMYCAARky8A==
Date: Fri, 10 Aug 2018 17:37:28 +0000
Message-ID: <BYAPR08MB3944C01A8B6788794F5D22A5DA240@BYAPR08MB3944.namprd08.prod.outlook.com>
References: <CAJ_4DfSGS=hAjP3gLPmMc0+jutxcVfS9CXLn96tqJUzfaj-euA@mail.gmail.com> <BYAPR08MB39440A7F570651111925E7A7DA250@BYAPR08MB3944.namprd08.prod.outlook.com> <CAJ_4DfQ=Q7Hq1_fH5wDRH32otcg=ChHsmqGqNHAiTUOuFaLT7A@mail.gmail.com>
In-Reply-To: <CAJ_4DfQ=Q7Hq1_fH5wDRH32otcg=ChHsmqGqNHAiTUOuFaLT7A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=mbishop@evequefou.be;
x-originating-ip: [38.134.241.6]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BYAPR08MB4502; 6:Ba8puAXMlORlodWZW0O5KOEa+TuwD0YrWF3V9niQ1RhbuzG4L0rh4vouHTi8h9uSTZX1PSrZ3NjkWCShK08dJQ5kQSRgCCc/v91Tj6YFY111OIBZo9yDzTX4BwR5ny9mufQZ0Tw6hGvZ2kVBc4lAltJ/stl9xIOlBTnJL5/u/s7nOD2Tlv8N83SWth39fEW9PAFv0dWHiQWfsV16iwGCgHYfElGtYSoF+tQkTmiFF1wl2sRmIt+RyttfW35JIZous1Y8n+TO+REtU7XiYPLtfuWiB5D8JV9caFc0+oUiMnNtXcuS3t2OHLJY6Ec1b2w2UD/QriMI0GTBHJK+Q0c7bfpsJBWyIfvOUNFRaQJEcvaPmcOqrrhbYr2LeDCW4ooOVG5AsSVyx/0fJxFstC2Z0gWrRr+zwXeu3R7QBBWxt/IPD6bDNyUPC3KhlHqdFf8iMwrP+dAc5aC/hjMkpYklew==; 5:gPu5Cjztbfg1Xw53xbM2tUvSxFXXUzTqmOJoon9iRduJ14/x8Q89p3mdedPILIkljeTn4GPI8DGSgiUdREl6wFiK3SlDLAsijsNUydMa8tbWeWRDDuiHqG62Noj+Z/neZzw4vSC/HFTB2aWDlkBkt9UkH7/o1X7bR/Px+TovqPA=; 7:XdPvwGcPP0zFHIe0gM1RN246m6kLsDGbqECaQ8S9dn+zB5/titWd/q+TnWSgwm4mtk1x2BMVoew27qVttFB0GTM9+WQbsw6vUW2iFh/AqThcwEZy8x7EwIPqFzUqItYuEtLScjTblrG1dpwrUR8LwEdUdgqkdg3LooMJLROfu5QmagY46WtM5KdWJ9WJlZuriLx8QTWtOmGHN8Pgxew5s/MsRdLBmQ3lT7mdHcboyEBI3mRBgVKKu6+zTJxnUDgG
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 88fc1e4f-367e-4bbf-8925-08d5fee7f1d9
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(7021125)(8989117)(4534165)(7022125)(4603075)(4627221)(201702281549075)(8990107)(7048125)(7024125)(7027125)(7028125)(7023125)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR08MB4502;
x-ms-traffictypediagnostic: BYAPR08MB4502:
x-microsoft-antispam-prvs: <BYAPR08MB4502F99047F52A3E54386EA7DA240@BYAPR08MB4502.namprd08.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(211936372134217)(153496737603132)(21748063052155);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231311)(944501410)(52105095)(93006095)(93001095)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(2016111802025)(6072148)(6043046)(201708071742011)(7699016); SRVR:BYAPR08MB4502; BCL:0; PCL:0; RULEID:; SRVR:BYAPR08MB4502;
x-forefront-prvs: 07607ED19A
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(39830400003)(396003)(366004)(346002)(376002)(199004)(189003)(74316002)(25786009)(6116002)(55016002)(790700001)(9686003)(54896002)(3846002)(2906002)(5250100002)(6306002)(6436002)(97736004)(2900100001)(256004)(7736002)(86362001)(229853002)(8676002)(53936002)(3480700004)(106356001)(6916009)(105586002)(316002)(8936002)(102836004)(74482002)(19609705001)(14454004)(478600001)(7696005)(446003)(81166006)(76176011)(476003)(7116003)(5660300001)(11346002)(6246003)(81156014)(606006)(53546011)(486006)(99286004)(186003)(4326008)(33656002)(68736007)(6506007)(236005)(26005)(66066001); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR08MB4502; H:BYAPR08MB3944.namprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1;
received-spf: None (protection.outlook.com: evequefou.be does not designate permitted sender hosts)
x-microsoft-antispam-message-info: 4OUt46lkqKQ1f5+g51GpCFJvG1Z2WurPERAZ+czS+HF5vWQAckh+LTbazXc29amNB/yqRAamO6BeCIVZ2K5CTPKTGaMljIOceaP7g3T3TPbKYPZQgOmrK93P9AmMKIfZyhZs2wy/m16+u7xToVFPkSoA5VCfI3mtS4yZJaWEW3IGfq9+hRCnoHl5iSHEie+ASa3JBHaGQkoX14Jtvdbt4bK+CzgHP/W18DycYDh4gyH2EEUSWc5z/LEv32p8L/ns2IOvRDoCQMoH21lqpsSUvr/yGvQ/8NFkXDzdv/YOAntvZL+aIvWiAGmOCCaLFTGg998fHCy0pFQ78JykeuTYI/BfzECeYCYswkoV8yW/ezQ=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_BYAPR08MB3944C01A8B6788794F5D22A5DA240BYAPR08MB3944namp_"
MIME-Version: 1.0
X-OriginatorOrg: evequefou.be
X-MS-Exchange-CrossTenant-Network-Message-Id: 88fc1e4f-367e-4bbf-8925-08d5fee7f1d9
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Aug 2018 17:37:28.7508 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 41eaf50b-882d-47eb-8c4c-0b5b76a9da8f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR08MB4502
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/296VQZ-suuZnS5S9voDq0nEuh50>
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: Fri, 10 Aug 2018 17:37:37 -0000

Just for some context:  As you know, the point of greasing is to create a forcing function that makes it easier to do the right thing (skip unknown values) than the wrong thing (hard-code the list of grease values and ignore those).  Given that there are only eight of them, that’s already questionable.  To the limited extent possible, I want these to be easy to generate programmatically (pick a random number, do a simple calculation with it) and require at least a little work to hard-code.

I’d really prefer not to have the specific list in the doc at all, but certainly not in the main text.  However, I don’t think clarifying that you don’t run N to infinity and truncate is a problem.

From: Ryan Hamilton <rch@google.com>
Sent: Thursday, August 9, 2018 5:45 PM
To: Mike Bishop <mbishop@evequefou.be>
Cc: IETF QUIC WG <quic@ietf.org>
Subject: Re: Reserved HTTP Frames

Great, thanks! Would you be interested in a PR to add the "(0..7)" comment to 4.2.1?

On Thu, Aug 9, 2018 at 8:51 AM, Mike Bishop <mbishop@evequefou.be<mailto:mbishop@evequefou.be>> wrote:
No overflows.  The IANA section is more exhaustive:

Additionally, each code of the format 0xb + (0x1f * N) for values of N in the range (0..7) (that is, 0xb, 0x2a, 0x49, 0x68, 0x87, 0xa6, 0xc5, and 0xe4), the following values should be registered:

From: Ryan Hamilton <rch@google.com<mailto:rch@google.com>>
Sent: Wednesday, August 8, 2018 2:13 PM
To: IETF QUIC WG <quic@ietf.org<mailto:quic@ietf.org>>; Mike Bishop <mbishop@evequefou.be<mailto:mbishop@evequefou.be>>
Subject: Reserved HTTP Frames

I've a question about this text from the HTTP mapping doc:

4.2.1<https://tools.ietf.org/html/draft-ietf-quic-http-13#section-4.2.1>.  Reserved Frame Types





   Frame types of the format "0xb + (0x1f * N)" are reserved to exercise

   the requirement that unknown types be ignored.

For what values of "N" are we talking about? I assume [0,8)? Because, unless I'm doing the math wrong, if N can be [0,256) (and we're doing uint8_t math) then that covers all possible values.

Cheers,

Ryan