Explicit measurability in the QUIC wire image (was Re: Packet number encryption)

"Brian Trammell (IETF)" <ietf@trammell.ch> Tue, 06 February 2018 14:46 UTC

Return-Path: <ietf@trammell.ch>
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 BCF0612E05D for <quic@ietfa.amsl.com>; Tue, 6 Feb 2018 06:46:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
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 i-fYRgaw_7mQ for <quic@ietfa.amsl.com>; Tue, 6 Feb 2018 06:46:38 -0800 (PST)
Received: from gozo.iway.ch (gozo.iway.ch [212.25.24.36]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 93DC312E059 for <quic@ietf.org>; Tue, 6 Feb 2018 06:46:38 -0800 (PST)
Received: from gozo.iway.ch (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 4BCE7340D9D; Tue, 6 Feb 2018 15:46:37 +0100 (CET)
Received: from localhost (localhost [127.0.0.1]) by localhost (ACF/6597.31642); Tue, 6 Feb 2018 15:46:37 +0100 (CET)
Received: from switchplus-mail.ch (switchplus-mail.ch [212.25.8.236]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gozo.iway.ch (Postfix) with ESMTPS; Tue, 6 Feb 2018 15:46:37 +0100 (CET)
Received: from nb-10604.ethz.ch (account ietf@trammell.ch [82.130.102.91] verified) by switchplus-mail.ch (CommuniGate Pro SMTP 6.1.18) with ESMTPSA id 44519603; Tue, 06 Feb 2018 15:46:37 +0100
From: "Brian Trammell (IETF)" <ietf@trammell.ch>
Message-Id: <C39486D1-05DA-41B0-BA64-C053C11F8E25@trammell.ch>
Content-Type: multipart/signed; boundary="Apple-Mail=_85325B80-7A3F-483D-8D34-7462C5AE3365"; protocol="application/pgp-signature"; micalg="pgp-sha512"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Subject: Explicit measurability in the QUIC wire image (was Re: Packet number encryption)
Date: Tue, 06 Feb 2018 15:46:36 +0100
In-Reply-To: <CA+9kkMC6A8eDeoCe936UyPGPz529TNxwK3_yuwus=HBGPpyiDQ@mail.gmail.com>
Cc: QUIC WG <quic@ietf.org>
To: Ted Hardie <ted.ietf@gmail.com>
References: <CABkgnnVyo3MmWtVULiV=FJTnR528qfY8-OmKGWAs0bCvri-a_g@mail.gmail.com> <1F7FB3B8-A94C-4354-9944-FB09FB8DB68B@trammell.ch> <CABcZeBMbwdwyC9TxxHBLYaZKfNB-FG2wCGjqUZ_mNR-A1R47FA@mail.gmail.com> <9096e5ec-581e-875a-b1dd-bff0b05206fd@huitema.net> <CABkgnnWRQSAufwPss+qf=xAzCwRYeNNH8XLPm3yFaHxOb+ba4g@mail.gmail.com> <BF80500A-6277-45DC-8525-9C3FE138B76D@tik.ee.ethz.ch> <5A7191E0.6010003@erg.abdn.ac.uk> <5214AD93-8376-4B25-922F-AF5551CC2E95@netapp.com> <F990E064-E6F8-41A3-B791-F776C9955E15@nokia.com> <CAGD1bZab0GaZFsHwC+nw3AxxC4VusxMJ6oDanzk3dSDdWKAXdw@mail.gmail.com> <2C515BE8694C6F4B9B6A578BCAC32E2F83BA1443@MBX021-W3-CA-2.exch021.domain.local> <BY2PR15MB07757473DB9788558B902EB5CDF80@BY2PR15MB0775.namprd15.prod.outlook.com> <6E58094ECC8D8344914996DAD28F1CCD861B7F@DGGEMM506-MBX.china.huawei.com> <e529144067624fcba636fc8c24ee3ff4@usma1ex-dag1mb5.msg.corp.akamai.com> <BY2PR15MB07754D83A1721F2BD742359BCDFE0@BY2PR15MB0775.namprd15.prod.outlook.com> <2CD9DC43-D69B-43F0-8474-DFE798850A52@akamai.com> <CAGD1bZaUuNxqpDkn62B0wWcFD8=mCUWrAwWGG-rAOxH7Mf1=cQ@mail.gmail.com> <CY4PR21MB01334E30C7AF6AE75F58EEFDB6FE0@CY4PR21MB0133.namprd21.prod.outlook.com> <CAGD1bZaxrqzdkk0wxRaULwOTgg6wnrSrXNBK31s4uxdozaACBA@mail.gmail.com> <CAGD1bZbOAaSBcQw4nVtGuwRunaAW8MYHq9yPxNN6DdKHzt5HtQ@mail.gmail.com> <CA+9kkMC6A8eDeoCe936UyPGPz529TNxwK3_yuwus=HBGPpyiDQ@mail.gmail.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/KJIMbISZvcOEta8DLCE5WWahAcA>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 06 Feb 2018 14:46:41 -0000

hi Ted,

(trimming, forking, #include apologies for google/apple mail shenanigans)

> On 6 Feb 2018, at 01:49, Ted Hardie <ted.ietf@gmail.com> wrote:
> 
> On Mon, Feb 5, 2018 at 4:30 PM, Jana Iyengar <jri@google.com> wrote:
> I don't think we're converging here, so I'd like to try and encourage us to move towards it. I have my opinion, but I care more about forward progress at this point.
> 
> There are three designs so far:
> 1. Packet numbers as is, with random gaps around migration.
> 2. Packet numbers encrypted, as per Martin's PR.
> 3. Packet numbers encrypted, plus a small modulo sequence number somewhere.
> 
> The concrete ones here are (1) and (2).  I'm listing (3) but am not inclined to consider it seriously, since it's not concrete enough, (and I don't want more bits to be spent in the QUIC packet header if that's where this info goes.)
> 
> 
> If you'll forgive my saying so, evidence suggests that so many of the concrete aspects of such a proposal (where the bits would live, how many bits, etc.) would change over the lifetime of a proposal in this WG that any completely nailed down suggestion might as well be a blank sheet for all the bearing it would have on the final placement and length.

Heh. Indeed.

> The question is:  do we wish to expose a small sequence number to assist in network analysis and management, yes or no?

A friendly amendment to refine this question, since I think it presupposes too much about the shape and color of said blank sheet of paper: do we wish to expose a signal that is designed to meet the following requirements:

- assist in on-path detection and measurement of upstream packet loss
- assist in on-path detection and measurement or upstream packet reordering
- improve the passive measurement of RTT in the presence of reordering (i.e., fix the spin bit to work without the packet number)

We (without the encryption PR) already have a single (implicit) signal for these three requirements, but we can without too much thought already see a few ways to add an implicit signal back in, probably even using only bits vacated in the short header by making encrypted packet numbers use varint encoding.

+1 to Ted: if we could at least come to consensus as a WG that these requirements are important, then we can separate these two discussions. Let's reserve some bits in the header, let those of us who care about the shape of the measurement nybble go off and work on a concrete proposal, and move on.

Cheers,

Brian

> We can argue over the bike shed color after making the decision to build a shed; requiring the shed have a color before considering the question seems less productive to me than just answering the question.
> 
> Just my personal opinion, of course.
> 
> Ted
>