Re: QUIC ossification

Jana Iyengar <jri.ietf@gmail.com> Thu, 14 February 2019 04:48 UTC

Return-Path: <jri.ietf@gmail.com>
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 7770C130F75 for <quic@ietfa.amsl.com>; Wed, 13 Feb 2019 20:48:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 h7K-uc6OzLLE for <quic@ietfa.amsl.com>; Wed, 13 Feb 2019 20:48:15 -0800 (PST)
Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (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 5342B130F70 for <quic@ietf.org>; Wed, 13 Feb 2019 20:48:15 -0800 (PST)
Received: by mail-lf1-x12e.google.com with SMTP id j1so3520865lfb.10 for <quic@ietf.org>; Wed, 13 Feb 2019 20:48:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/LZphzvbuo0Cib/vi4px1XahTk2jDyzBK/wnaMXeQh4=; b=OkSH4I0AQpIYyYMlZUQzgDblPQ0OOmE7qmHTnjkyb9ObzC8YF14a04u00SMuwWX2Uz ov6UcKcCgQGKlISrki6EN84VJ7EF19wrZjfnc+i7yaAeCrniNJ+tI0UC/wmpXmj3e4zi TtHiLtIjCclOi39fa08U7vrnoKzJ2z+6uectRVNxt5LpZDBz4Laa16a6zP/lLOP/em27 jQ5lYz6A3+O6bYh0Bq2cRhlVwSyQeE34gNP/ZvaNTfVYWuJLNFQsWadpNCbIxscrnvkx 2FBUjzEo/hTkL0dwRaMvnRhI2QyZbHo3tAyLl6OjEeWn9Aj/D/K0j+D4T+xhQhGVlhXv Oh1w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/LZphzvbuo0Cib/vi4px1XahTk2jDyzBK/wnaMXeQh4=; b=oUKw4MupsuNGGcEen5ktBwZZJNZkct/vnPx/1Kuyx/8zKlkM8rqb7dDEgmAfTMK9ZJ bXnBIsxLARWRJe3yoJEqXkzlvzGoeyQRGdrWtTsCuZkUKYr/1s5AWV5itVTY/StOaHeZ hOO8iuUC/cDpt2SzOUPrfQCyuSTxvs1BA+blIo2AEM2mn64JJOr3kEmiQuv9QoybZMAn aXnMCeHbAF+toGfDyHpRN/egABCKNFwJ4P2u+YNdFmSDBtyO3TtWP3TJJ3eBIdGU3WLh 9WamNjvUfxREvSXZLdvQkYq7suU9ZYrsCppJj6oSrjDny4AImhxvsPZZW9Ba3a/f7kvT XJUQ==
X-Gm-Message-State: AHQUAubacH/4iiIMpOFJ4lqbo/keCTr4nSXo2iDFuRAA48nzarf3/Muv 2Et1eK7SrDVen9buaPC7mNetPzstSJK4LG+rViCXug==
X-Google-Smtp-Source: AHgI3IaVQ6fIUGval3C0ibEaW+IGj7V59HuC0caGKTJKl86Fs4Bgdljk8TfBxgGyYVgRLX0xvmtOwBKscP5fS2bASrs=
X-Received: by 2002:a19:5013:: with SMTP id e19mr958529lfb.89.1550119693274; Wed, 13 Feb 2019 20:48:13 -0800 (PST)
MIME-Version: 1.0
References: <CAM4esxTm0GiXnow4Vyv0UX6kFW4U3zJgVrN_JzD31Sm6sxoYGg@mail.gmail.com> <1550007332.441557.1656692832.0E5412AE@webmail.messagingengine.com> <9425344B-D72F-474D-A549-AA2453E57F19@fb.com> <CAPDSy+5LikoojquLhaW58DbJ3VrGXUViaD0aHcTkxBJGzFjgQA@mail.gmail.com> <47E7A834-B6CD-4D73-BF49-8768A48CADF0@fb.com> <CAM4esxThzPJUxU7R5-CY-ZcgmqhYdPFMoM5Fg17vN-Hsk_pJ8A@mail.gmail.com> <CAKcm_gMmxeHHN3dtH9kby_En96oPwTqrfHE=wpqy5Z0YbX4png@mail.gmail.com> <CAN1APdegy8n3+8J-pkgB6f-SNxHtju9p1Hiyct2tHWQ0KyeiGg@mail.gmail.com> <CA+9kkMC95TnFatowKU6121g+1DPy1hMNbKPagveMfKCXtpFSUQ@mail.gmail.com> <5B7F7D53-546D-4E3F-A0FC-AC29B1B05742@huitema.net> <CAKKJt-cQm+D2vptcfCLywz_QmuZW8tMYgcxNLoxyfC67OvYPUw@mail.gmail.com> <271E52ED-FA3A-4B4D-978C-90CE5CE57053@fb.com> <CAKKJt-f4U15Nr316xjuPb2S0QYOO6YAi9HRZzLWaZVfyXT3s8A@mail.gmail.com> <6b503e6a-d9ed-e747-9db6-f943f92fe114@huitema.net> <CACpbDcdixBEBFnLNbN1OhiKv9iTGjCpT3LQH13Rd64x1N0sJsA@mail.gmail.com> <CAM4esxTRsj7WqOSiCKfhQu2CfEosC+1-wJcm9uS1ryjchtpxdA@mail.gmail.com> <CAM4esxSqOAHEXXgAYP3iHyb-mkScrkXg1e5Dx+zA=Bi=yAcnQg@mail.gmail.com> <1550117350.927768.1657684024.116377B8@webmail.messagingengine.com>
In-Reply-To: <1550117350.927768.1657684024.116377B8@webmail.messagingengine.com>
From: Jana Iyengar <jri.ietf@gmail.com>
Date: Wed, 13 Feb 2019 20:48:02 -0800
Message-ID: <CACpbDceGpp2Vs1pztJB3o7CJqg2f4HbL2mOoJtEPPeL7CvbXsA@mail.gmail.com>
Subject: Re: QUIC ossification
To: Martin Thomson <mt@lowentropy.net>
Cc: Martin Duke <martin.h.duke@gmail.com>, Christian Huitema <huitema@huitema.net>, Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>, Roberto Peon <fenix@fb.com>, Ted Hardie <ted.ietf@gmail.com>, David Benjamin <davidben@google.com>, Ian Swett <ianswett=40google.com@dmarc.ietf.org>, David Schinazi <dschinazi.ietf@gmail.com>, Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>, QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ad53150581d35db1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/hvsnRx7VKrMmwLA2T6cEmQmMovA>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 14 Feb 2019 04:48:18 -0000

On Wed, Feb 13, 2019 at 8:09 PM Martin Thomson <mt@lowentropy.net> wrote:

> On Thu, Feb 14, 2019, at 15:00, Martin Duke wrote:
> > Similarly, setting aside IANA, is it sufficient for big players to accept
> > ANY version in the short term and treat it as v1, and also have their
> > clients propose totally random versions?
>
> That would (or maybe only could) prevent us from using the version field
> for anything other than v1.


Yes, agreed. There's no horizon for how long older versions circulate on
the Internet. We can't assign all versions to v1 for the "short term"
because we simply can't control when that term ends.
I don't think we need to specify how versions are assigned. We just need to
ensure that there are no collisions. We can use a wiki or IANA for this.

There's a problem this exposes though. v2 is defined as version == 2, and
we won't be able to use that for greasing v1. By extension, we won't be
able to use the IETF reserved versions. If we're going to do this right, I
would suggest that we separate on the wire version numbers from the QUIC
(abstract) versions entirely. I know this makes it a bit harder to reason
about from looking at packets on the wire, but that's exactly what we're
trying to accomplish -- it shouldn't be easy to reason about versions from
looking at packets on the wire.

Basically, I'm proposing that QUIC v1 be assigned a random number for its
version at RFC publication time. IANA can be used to reserve subsequent
on-the-wire version numbers for v1. Anyone who wants to use a different
version for v1 MUST request it from IANA first before using it in the wild.
QUIC v2 will similarly have a random value assigned to it at RFC
publication time.