Re: [quicwg/base-drafts] introduce a version alias mechanism (#2573)

Kazuho Oku <notifications@github.com> Fri, 12 April 2019 02:41 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 1E4371203D8 for <quic-issues@ietfa.amsl.com>; Thu, 11 Apr 2019 19:41:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.001
X-Spam-Level:
X-Spam-Status: No, score=-3.001 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_NONE=-0.0001, SPF_PASS=-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 XTYFWMm1_Cip for <quic-issues@ietfa.amsl.com>; Thu, 11 Apr 2019 19:41:03 -0700 (PDT)
Received: from o11.sgmail.github.com (o11.sgmail.github.com [167.89.101.202]) (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 19461120142 for <quic-issues@ietf.org>; Thu, 11 Apr 2019 19:41:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=TLcU5Dqow6NifllmS93yGkTcjtY=; b=wPf89b5wA792upbZ R64q6cRcuTIHk2fnsVkh4HyHlMyCaB2mKWoo/6+G1d3wSSWVd2AEh+dTcE0bJIay RWeRpQR1y4EhzaYd6aLPeGlDrdVX9YoL3ubrTHyv1f0sTf0akk6nmkmWuU5tgBc2 2xGLo3NfKekU/nPpE1afW7F0eVo=
Received: by filter1824p1mdw1.sendgrid.net with SMTP id filter1824p1mdw1-18006-5CAFFABD-23 2019-04-12 02:41:01.975594605 +0000 UTC m=+268603.011838158
Received: from github-lowworker-cef7735.cp1-iad.github.net (unknown [192.30.252.35]) by ismtpd0018p1iad2.sendgrid.net (SG) with ESMTP id SgQ02yG8Q4Wki_wMF5__WA for <quic-issues@ietf.org>; Fri, 12 Apr 2019 02:41:01.805 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker-cef7735.cp1-iad.github.net (Postfix) with ESMTP id CE4181E005F for <quic-issues@ietf.org>; Thu, 11 Apr 2019 19:41:01 -0700 (PDT)
Date: Fri, 12 Apr 2019 02:41:02 +0000
From: Kazuho Oku <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab43fb759a8cd503a4d04f356bee21e801fd44184392cebabd2d3d92a169ce197ad4b9@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/2573/c482414853@github.com>
In-Reply-To: <quicwg/base-drafts/pull/2573@github.com>
References: <quicwg/base-drafts/pull/2573@github.com>
Subject: Re: [quicwg/base-drafts] introduce a version alias mechanism (#2573)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5caffabdcccfc_1e073fe0adad45bc3624b9"; 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
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3V3WH8hrkjrE9d7cfFDWPnYcgMOcnZ9LMPuO +OI5H2q2YlmuN+Vs/+I0CwC5cUflVSXNa26LegGm1EmFsstKU8agwDYaAYd5xudiYW7c1+iceMJ+Qz 7mYuuyRsuo2PQAUJOYjoTjGRzhtlku2vM61219NKk3mq1xAp8YYGyypzfV6gjYVFLfDm/cp+nmF1vz s=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/y0P0dh_lc-0H1k1R79Xeej40UmE>
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: Fri, 12 Apr 2019 02:41:05 -0000

Asking mostly out of curiosity: do we need to scramble (or protect) other fields of a long header packet as well?

The (original) argument for having a version alias is to protect against accidental ossification of the protocol. That could happen on the other fields of v1 packet as well; namely the non-invariant fields of the first octet and the CIDL fields. If we scramble CIDL fields, it would not matter if the rest of the fields (e.g., token length) were kept as-is, assuming that the CID lengths have enough randomness to randomize the position of such fields.

Though the downside would be that servers would no longer be able to use the token to decipher the actual value of version number field.

-- 
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/2573#issuecomment-482414853