[quicwg/base-drafts] token-based greasing / initial packet protection (downgradable variant) (#3178)
Kazuho Oku <notifications@github.com> Thu, 31 October 2019 07:09 UTC
Return-Path: <noreply@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 960AC1200A1 for <quic-issues@ietfa.amsl.com>; Thu, 31 Oct 2019 00:09:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8
X-Spam-Level:
X-Spam-Status: No, score=-8 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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 TTkBrirVU25w for <quic-issues@ietfa.amsl.com>; Thu, 31 Oct 2019 00:09:02 -0700 (PDT)
Received: from out-22.smtp.github.com (out-22.smtp.github.com [192.30.252.205]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C7B5112008D for <quic-issues@ietf.org>; Thu, 31 Oct 2019 00:09:02 -0700 (PDT)
Received: from github-lowworker-39b4a70.va3-iad.github.net (github-lowworker-39b4a70.va3-iad.github.net [10.48.16.66]) by smtp.github.com (Postfix) with ESMTP id EFD60A044C for <quic-issues@ietf.org>; Thu, 31 Oct 2019 00:09:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1572505741; bh=eQ5NkIZBiUWx4Q9GH4UPIvzQi2T9POtklon2svgimUw=; h=Date:From:Reply-To:To:Cc:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=f2dtgIC/pEHf0E+qvBSidSW4zoVny/ewtTgVqBEcTize5m7YumQJ2iIy5aOMKGJgN aBGH79af+mjuWP6nOO8U8+ouIbP65bdZWhJkIy6A3G1afD6q0WZb4FNofgecyVU62V /T400oiynEXRlUmoG/IKSd9F508MdgQn2IJkWMTI=
Date: Thu, 31 Oct 2019 00:09:01 -0700
From: Kazuho Oku <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJKY3YEOI7XKLJ4ZH2AF3Y65Q3EVBNHHB5NMLGI@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/3178@github.com>
Subject: [quicwg/base-drafts] token-based greasing / initial packet protection (downgradable variant) (#3178)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5dba888ddf2fa_2b293fbbbe4cd95c99352d"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: kazuho
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/2yplRy4lbDzLQ0GBAYGHONe2VBI>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 31 Oct 2019 07:09:04 -0000
There seem to be split views on if the greasing should be downgradable. This PR is a variant of #3166 that allows downgrade. The design rationale is that a downgrade attack by a middlebox should be detectable, though it reveals the payload of the Initial packet. You can view, comment on, or merge this pull request online at: https://github.com/quicwg/base-drafts/pull/3178 -- Commit Summary -- * first cut * editorial * define downgrade prevention * clarify the requirement when building a token * editorial * protect token using checksum (reusing text from #3120 by @DavidSchinazi) * use list for implementation guidance, applying @DavidSchnazi's suggestions * clarify what can be associated with the token, adopting @MikeBishop's suggestion * s/comprises of/contains/ (@MikeBishop) * use "Long Packet Type" (@DavidSchinazi) * swap reserved bits and packet type modifier (suggested by @martinthomson) * long packet types when encoded in a long header packet is an XOR (@martinthomson) * clarify how a server can opt-out * Revert "protect token using checksum (reusing text from #3120 by @DavidSchinazi)" * no more downgrade * server always announce (though it can effectively opt-out) * delete VERSION_NEGOTIATION_ERROR (once again) * clarify how to handle Retry, as well as stating that a fixed mapping bet. versions and salts is better than nothing * add Lifetime field * Update draft-ietf-quic-transport.md * @MikeBishop's suggestions; https://github.com/quicwg/base-drafts/pull/3166#discussion_r340822271 * oops, amend the previous commit * fix typo, emphasize that this is just an example * Rephrase as "seeding"; The default of "alternative" being the standard values has been confusing * define the downgrade process; that lets the server detect downgrade attack -- File Changes -- M draft-ietf-quic-transport.md (162) -- Patch Links -- https://github.com/quicwg/base-drafts/pull/3178.patch https://github.com/quicwg/base-drafts/pull/3178.diff -- 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/pull/3178
- [quicwg/base-drafts] token-based greasing / initi… Kazuho Oku
- Re: [quicwg/base-drafts] token-based greasing / i… Kazuho Oku
- Re: [quicwg/base-drafts] token-based greasing / i… Kazuho Oku
- Re: [quicwg/base-drafts] token-based greasing / i… Martin Thomson
- Re: [quicwg/base-drafts] token-based greasing / i… Martin Thomson