[quicwg/base-drafts] GREASE the flags byte (#311)
ianswett <notifications@github.com> Wed, 15 February 2017 13:00 UTC
Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AEE70129443 for <quic-issues@ietfa.amsl.com>; Wed, 15 Feb 2017 05:00:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.72
X-Spam-Level:
X-Spam-Status: No, score=-2.72 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.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 G1Ko6n6yet8e for <quic-issues@ietfa.amsl.com>; Wed, 15 Feb 2017 05:00:47 -0800 (PST)
Received: from o1.sgmail.github.com (o1.sgmail.github.com [192.254.114.176]) (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 509C01293E8 for <quic-issues@ietf.org>; Wed, 15 Feb 2017 05:00:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=Y1fAXvniqmvi6tS2v4WJFY0istA=; b=b2JUsXO+AqU9ipqS ZxUiQ1fd/S1BYz8wO3C8hGJREtXFpidW4gKOYspXn00tha/dxL1Uzc6m+qn0iYZ9 zwDfR3E7j/QxyQufPR/XXFJyo86b9UWfsuo8tgL2KIVV7WSclvyrE4BLEpPgEDpX oFOa5WkRSvvDo3s8XjtqTtWu8yg=
Received: by filter0944p1mdw1.sendgrid.net with SMTP id filter0944p1mdw1-6306-58A450E5-3C 2017-02-15 13:00:21.837239856 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16]) by ismtpd0005p1iad1.sendgrid.net (SG) with ESMTP id ZybqeFxJQBCTTDj1QLm0oQ for <quic-issues@ietf.org>; Wed, 15 Feb 2017 13:00:21.823 +0000 (UTC)
Date: Wed, 15 Feb 2017 05:00:21 -0800
From: ianswett <notifications@github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/311@github.com>
Subject: [quicwg/base-drafts] GREASE the flags byte (#311)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_58a450e5b6fde_3ea43f8f7f44d13c1635a2"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: ianswett
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3aW9hVb69CvIJy2R68BfsA5JevwLer9qSqoJ wqioTCuNTOjZNxvHL2e/4WlxBA7MvTlFt5IPcsMLakLwJGx5M45ya1UsZ4FqhuMujNOR913ASsAIzq GNTFKUEsgP6WNHje957kNxrXo7WLxmmXCfZ5eUhF2HTHs1qgOHn/AAeL8QsOhu3Hy0On0XMU01uYzf c=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/LjZbe5ZSzICMOnJR37sUU6-_cRs>
Cc: Subscribed <subscribed@noreply.github.com>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.17
Reply-To: quic@ietf.org
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Feb 2017 13:00:50 -0000
Google-QUIC had an issue where post-handshake QUIC packets were being dropped, because a bit changed in the public flags, and a middlebox no longer identified it as QUIC. In order to ensure the entire public flags byte is usable, I suggest we GREASE it by defining the entire space as valid. Building on Jana's proposal for the public header with a flags byte as a set of codepoints: https://gist.github.com/janaiyengar/b05acb3af17d6e938d25befc69c11eae The goal is to provide a simple mathematical mapping from any value of the public flags onto a frame type. My suggestion is to lookup the frame type, and if it's not defined, mod the flags value by the number of frame types defined in that phase(short or long form) and pick the type with that index when ordering the frame types by value. If an initial packet number is chosen randomly, and the connection ID is as well, greasing the flags byte and version (#112 and #296) covers everything that is not encrypted. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/quicwg/base-drafts/issues/311
- [quicwg/base-drafts] GREASE the flags byte (#311) ianswett
- Re: [quicwg/base-drafts] GREASE the flags byte (#… Marten Seemann
- Re: [quicwg/base-drafts] GREASE the flags byte (#… ianswett
- Re: [quicwg/base-drafts] GREASE the flags byte (#… martinduke
- Re: [quicwg/base-drafts] GREASE the flags byte (#… Ryan Hamilton
- Re: [quicwg/base-drafts] GREASE the flags byte (#… Martin Thomson
- Re: [quicwg/base-drafts] GREASE the flags byte (#… ianswett
- Re: [quicwg/base-drafts] GREASE the flags byte (#… Mike Bishop
- Re: [quicwg/base-drafts] GREASE the flags byte (#… ianswett
- Re: [quicwg/base-drafts] GREASE the flags byte (#… Mike Bishop
- Re: [quicwg/base-drafts] GREASE the flags byte (#… Martin Thomson
- Re: [quicwg/base-drafts] GREASE the packet type o… Martin Thomson
- Re: [quicwg/base-drafts] GREASE the packet type o… ekr
- Re: [quicwg/base-drafts] GREASE the packet type o… Mark Nottingham
- Re: [quicwg/base-drafts] GREASE the packet type o… ekr
- Re: [quicwg/base-drafts] GREASE the packet type o… Kazuho Oku
- Re: [quicwg/base-drafts] GREASE the packet type o… ekr
- Re: [quicwg/base-drafts] GREASE the packet type o… Kazuho Oku
- Re: [quicwg/base-drafts] GREASE the packet type o… ekr
- Re: [quicwg/base-drafts] GREASE the packet type o… Christian Huitema
- Re: [quicwg/base-drafts] GREASE the packet type o… Christian Huitema
- Re: [quicwg/base-drafts] GREASE the packet type o… Mike Bishop
- Re: [quicwg/base-drafts] GREASE the packet type o… ianswett
- Re: [quicwg/base-drafts] GREASE the packet type o… MikkelFJ
- Re: [quicwg/base-drafts] GREASE the packet type o… ianswett
- Re: [quicwg/base-drafts] GREASE the packet type o… Martin Thomson
- Re: [quicwg/base-drafts] GREASE the packet type o… Martin Thomson
- Re: [quicwg/base-drafts] GREASE the packet type o… ianswett