Re: Structuring the BKK spin bit discussion

Martin Thomson <martin.thomson@gmail.com> Mon, 29 October 2018 22:30 UTC

Return-Path: <martin.thomson@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 486A11277CC for <quic@ietfa.amsl.com>; Mon, 29 Oct 2018 15:30:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 PCZTI1efw9wq for <quic@ietfa.amsl.com>; Mon, 29 Oct 2018 15:30:04 -0700 (PDT)
Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) (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 ABA79127133 for <quic@ietf.org>; Mon, 29 Oct 2018 15:30:04 -0700 (PDT)
Received: by mail-oi1-x22d.google.com with SMTP id p144-v6so4753824oic.12 for <quic@ietf.org>; Mon, 29 Oct 2018 15:30:04 -0700 (PDT)
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:content-transfer-encoding; bh=bJjMUBlUIW2WAWtSimEyfto2OQLfEBedBdXxYyuXsp0=; b=D+LojLLQsj5j0BuhG4kyQvsM7B/jUiz3p7XIAF0GCCYPmlY+5Yed0FUyddOq5kY2ZD 3zmT2itC/KghtxtSTznrN8zLFN5n4mwCZy24qjasDvv2GVH6s1aRvZM2zH3PmRj/STPi li8VxzncL1wJzCl6tygmC/arIJPcNfE02ky+zUa3c4XeRg6FqOY8OG5H+yZZQIHKX79L JINmzo9pxCfNxQPBYkiEAWE3k4ojIUUihNT8WuL5CSJOv+sLMjh8GQ9UOkrFvFlQfT2p ej6txZ0qaLBy29/0x9XwzlFE9DBxBgGJv+ghh8Df/oyZqqpNDSUKyslj7icPZlUDYjqJ FnNA==
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:content-transfer-encoding; bh=bJjMUBlUIW2WAWtSimEyfto2OQLfEBedBdXxYyuXsp0=; b=bHNq7OI/3/6cWCvxWZ7E3EKhwXeVO+1kuFUEVe19SZC8uBdGGPnVTnyv8aS8BgYLIQ ZXDZh82cPE+ba8Ad0vPgS0HG68Ta2n7xKUmQmahhF6gS253LWaWkNhSEzNv753R1Ot/e ahIFBelpoZ5C6ib2w8/HbhLcuVamhNzZ7uVWnNjYu1wDYsuoDMzUXGKEWpzGiyH+VodO RLt8Dv7zYdzBZx3KxIdFiLyxya8IXQrwMbEdGYahxRjuQSquxF1Y+37uiLNmrwFLXDum y0bUoCyYo8wZGDq7aRmkFIRPGMZq7xWx0ZnqawUQ8OPJIQSYTQ8RCTdk6gJWkdIxr0RG 8HmQ==
X-Gm-Message-State: AGRZ1gLjfel0lTWJdLMfYpOqOT4LnWyi6gBGwRtVPucttw7H3VPqZmm6 6N6bcF0+jnPaFBY/8Y2HbntUV9YeAlq1O87fgA2Bo4s4
X-Google-Smtp-Source: AJdET5dMZe4SNIuET3mAw8d/l2oN01jOc8v8UkW0OZN8zHykikHCQ9FfdZ7cHXqy3kYLjfvC+i1Elngw/iTs2b9P2Js=
X-Received: by 2002:aca:c792:: with SMTP id x140-v6mr8962326oif.129.1540852203875; Mon, 29 Oct 2018 15:30:03 -0700 (PDT)
MIME-Version: 1.0
References: <18A2F994-0E82-48E4-875D-93C674483D49@eggert.org> <20181029160802.GD7258@ubuntu-dmitri> <8268B90E-F109-424C-91A8-DB7BFE208F53@huitema.net>
In-Reply-To: <8268B90E-F109-424C-91A8-DB7BFE208F53@huitema.net>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 30 Oct 2018 09:29:53 +1100
Message-ID: <CABkgnnU7W-_o_EGZWpJvTGRSm0KiL-hS7q_oQ6kT3LBoNKHGhw@mail.gmail.com>
Subject: Re: Structuring the BKK spin bit discussion
To: Christian Huitema <huitema@huitema.net>
Cc: Dmitri Tikhonov <dtikhonov@litespeedtech.com>, Lars Eggert <lars@eggert.org>, QUIC WG <quic@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/snXGKN_ukw5HMEbAyYfb147KvIQ>
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: Mon, 29 Oct 2018 22:30:06 -0000

On Tue, Oct 30, 2018 at 3:54 AM Christian Huitema <huitema@huitema.net> wrote:
> I think the strongest objection to the spin bit was put up by Marten during the last interim: measuring the RTT with the spin bit discloses the use of hidden path segments like VPN. This issue was not discussed during the privacy analysis.

I had assumed that was part of the analysis and it was covered by the
assumption that spinning could be disabled

> One solution would be to remove the spin bit from the spec, trading off better privacy for worse management. I am considering another solution in which privacy sensitive clients hide the RTT by controlling the spin, for example spinning at fixed intervals. I plan testing that option in Picoquic.

I've done a little thinking about this one, and it might conflict with
the natural signals the transport emits, along the lines of what
Andrew McGregor has mentioned on a couple of occasions.  If the spin
bit is enabled, then privacy-sensitive endpoints will need to make a
hard call regarding standing out.

Note also that you probably can't hide the fact that you aren't at the
same network location as the address you are using.  Spoofing a
shorter RTT is impossible in general because you have to assume edges
that haven't arrived yet.  If there are no edges you expose the
charade.