Re: On the passive measurability of QUIC

Eric Rescorla <ekr@rtfm.com> Thu, 01 June 2017 13:55 UTC

Return-Path: <ekr@rtfm.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 48A5112ECB5 for <quic@ietfa.amsl.com>; Thu, 1 Jun 2017 06:55:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20150623.gappssmtp.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 KOSLvtk_TwBl for <quic@ietfa.amsl.com>; Thu, 1 Jun 2017 06:55:52 -0700 (PDT)
Received: from mail-yb0-x230.google.com (mail-yb0-x230.google.com [IPv6:2607:f8b0:4002:c09::230]) (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 44E95128D40 for <quic@ietf.org>; Thu, 1 Jun 2017 06:55:52 -0700 (PDT)
Received: by mail-yb0-x230.google.com with SMTP id 202so10965164ybd.0 for <quic@ietf.org>; Thu, 01 Jun 2017 06:55:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=VnQf+YUIm6nsdv/KeOTvdzrwUnpIP4WD46amLlQrNJY=; b=Flsg+LStkV7TPiQRgCtsrC+EIhpOkaITmzHHEVccJ4zonbM6NZ221vmJWQkI8m/3Vg /v2kgiPHPe0oSQw8TRi1LNpMzIsUh3yt89j0gR2Q/GH+twK5zXn+8uaN9FxO6+UJzIEM PNois9ISwayAwcb9NHFFtlRGkNS2B/oCBgY1mPGKBvJfTKLydWoxC0cke4OY32pH515C pY2wqwg8OZENPW1leH/FPyCMfBgl6BTcKKZohWwgRRy94W+SLCXO+kxb5ziWlBDSjP0z Iwd/fFR5CfYjC2nFJCtB9kV3A21z4edcGZZYnmzXSPoK2HZkObES219DjR+OLAoUgCfL Uslg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=VnQf+YUIm6nsdv/KeOTvdzrwUnpIP4WD46amLlQrNJY=; b=iAAtB1FLWG5J4w2fgwwyWi0YG6PqHkl0VBoqizZFvX1Rq0s4fAkGj4lWQuKwyY9QAa EcF3HUJQx5ScYTelrqMzsAHSFUbb0MFh0U+Xn3gNVFUUPwXtWRahAGsFuJZawYCAI50Q 2e4c0SB3KqH4TsHfAEkYkoUTb4u04r7C4nuQzVosPvqOeZYKWtMssh7Aj5qzJYTo3Ney 9y544+awRIdUZU8DovN7Ig0KTJx1WAWO7ivAqHXehm87JNExlJPVXchIiKP7epS2EF11 bH9W+ZipnfrpGKX2K41nED31x8pnCkVmxAEQKqMdnFUNVqIlhQZDxq/zzrs/+1Xywo22 CAwQ==
X-Gm-Message-State: AODbwcCtZSUW50lQx4Y/yeAVFFg6s+ea7pS0rarsgrzGVnKkdD6gKJR8 0Ljr5HPVB8B5fVkqH35jqI6Z1/FvHpufqo0=
X-Received: by 10.37.173.29 with SMTP id y29mr2502911ybi.52.1496325351381; Thu, 01 Jun 2017 06:55:51 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.106.137 with HTTP; Thu, 1 Jun 2017 06:55:10 -0700 (PDT)
In-Reply-To: <FCCAC281-BC7B-4E4B-AC34-9517FD336A65@trammell.ch>
References: <FCCAC281-BC7B-4E4B-AC34-9517FD336A65@trammell.ch>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 01 Jun 2017 06:55:10 -0700
Message-ID: <CABcZeBPZR2+YjN6TGP=GJqGqJS4p9-LVi=-KWkSA8+USkJ1VfA@mail.gmail.com>
Subject: Re: On the passive measurability of QUIC
To: Brian Trammell <ietf@trammell.ch>
Cc: QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="f403045da69c09db3e0550e665f5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/BtD9RnsUDxCFw1dOvCH-5OnMmUI>
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: Thu, 01 Jun 2017 13:55:54 -0000

I like the general framing of these questions, but it's pretty hard to
address them in
the abstract. Rather, I think it would be more useful to start not with the
specific properties
but rather with the *services* that collecting these measurements is
intended to facilitate
and then work forward to the various baskets of measurements you would need
to
support said services and from that try to make a cost/benefit analysis
[0]. Do you or
someone else have such a list of services?

-Ekr

[0] Where the cost clearly has to include future unknown privacy risk.

On Thu, Jun 1, 2017 at 6:42 AM, Brian Trammell <ietf@trammell.ch> wrote:

> Greetings, all,
>
> Here's a second, longer list of requirements questions I think we should
> ask directly:
>
>
> "To what extent should the design of QUIC support passive measurement of
> QUIC flows?" [1]
>
>
> There is one measurement task specifically called out in the text on
> manageability in our charter: "the ability to export information about
> flows for accounting purposes". To the extent that this process can map IP
> addresses to accountable entities, this is trivially supported by layering
> on top of UDP and IP. Accounting processes may additionally seek to
> classify traffic as QUIC or not-QUIC, which they can do as of -03 if they
> observe the 1-RTT handshake (or, simply, make the assumption that udp/443
> is always HTTP over QUIC). Which leads to the first related subquestion:
>
> 1. "Should QUIC packets / flows be distinguishable from non-QUIC flows on
> the wire?"
>
> Other accounting processes, of course, will want to classify applications
> atop QUIC, but I won't even ask that question. It's precluded by our
> charter: TLS over TCP (without STARTTLS) does not expose any
> application-layer protocol identification, except via server port number.
>
> Determining which other measurement primitives we want to support, IMO,
> requires a survey to determine which are actually used in network
> operations. Within IPPM and LMAP, the metrics that get the most attention
> are packet loss, latency, jitter, and throughput. I also asked a vendor of
> IPFIX collecting devices which passive TCP measurement information elements
> are most often exported by passive measurement boxes, and
> loss/retransmission and RTT were at the top of the list. So, two more
> subquestions:
>
> 2. "Should end-to-end latency of QUIC flows be measurable by observation?"
>
> and
>
> 3. "Should end-to-end packet loss, or reactions to loss, of QUIC flows be
> measurable by observation?
>
> Related to loss, but not yet widely deployed or measured, is explicit
> congestion notification. We anticipate growth in ECN deployment related to
> widespread and growing client- and server-default negotiation of ECN for
> TCP, and as such, I'd add the following related question:
>
> 4. "Should end-to-end congestion, indicated by explicit congestion
> notification, or reactions thereto, of QUIC flows be measurable by
> observation?"
>
> Passive measurement today is done by inference on information
> non-optionally exposed by the transport stack. We have the opportunity to
> change that with QUIC. Following the priniciples in [1], I'd therefore ask
> the following final question:
>
> 5. "What level of control over observer capability should be available to
> end users, application developers, and application and transport protocol
> implementors?"
>
>
> As with the spoofing question, it'd be useful IMO to try and stay off
> mechanisms for now, and to focus on desirability, and what cost we're
> willing to pay (and not to pay) for these properties of measurability.
>
>
> Thanks, cheers,
>
> Brian
>
> - - -
>
> [1] Way too much background on this in a paper in the April 2017 ACM CCR
> (I'm a coauthor); arXiv version at https://arxiv.org/abs/1612.02902 --
> the principles described there are IMO useful to guide thinking about any
> measurability we do build into the protocol.
>
>