Re: reserved bits for spin bit, etc.

Ian Swett <ianswett@google.com> Mon, 27 November 2017 14:43 UTC

Return-Path: <ianswett@google.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 DECBD124D37 for <quic@ietfa.amsl.com>; Mon, 27 Nov 2017 06:43:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 CHrDn1tLSR_1 for <quic@ietfa.amsl.com>; Mon, 27 Nov 2017 06:43:18 -0800 (PST)
Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (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 1F00E1242EA for <quic@ietf.org>; Mon, 27 Nov 2017 06:43:18 -0800 (PST)
Received: by mail-io0-x22c.google.com with SMTP id x63so36484074ioe.6 for <quic@ietf.org>; Mon, 27 Nov 2017 06:43:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Wiz+GC9b55gW62aNfcgYN382du3M8/LrFKLf04zmsL0=; b=BZs7DqFea3YLtTb2X/zDUcO4s9kj3Dd52ZV/MB71b+rBo/xSiTIDKAhv0YQIQd0ciV vyoBhHGQ4k3XTxERRg59J2vnRiGniroh3DmnjFYdN3Z2ejfaAG4DIE9poHv+A4ZyUhRE 3Bhf84eor7USRGoHD4fVoyyKD+gzQYQZ6n71sEXUXTSEnjb2aE5w3ruf3oMBDSZmNZTR woEM2WIb6EebwiZdHDaIZ4/046/TOE0xm0onvMadIIBH1Yx7RrQZB4y01WShpGkl9ztZ d25NQ6D5WspJMnhgxAfONEgLOnKUR+8t27tcAREzHozSXjmy7POkuQm7iu3x1RST63Nu tZ7Q==
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=Wiz+GC9b55gW62aNfcgYN382du3M8/LrFKLf04zmsL0=; b=XbQWuLBoWCd9Xm/Jg1Nr0VG3X0GKi0+ypJPWo0iXgAh7x26EmFZ1oCmmOEYhBxrH94 Ed7YU2vxWdAVzL1m5do8n9x6tkl/7DYm+XT0vsB2bP6AZdV1tR1UTd4ZOlsqs4Hs+VXq 1GnZCUfqbTbY0vjxdEyLnZEcOoIbNuC1W3Tr+S7YTovP+uudE4VfcS6BkvSEq+EWBtoM txGp9tcOaC/HMqGK4bE03Xo38KmHXqEpXdijRw5pUzOAIiCAWqVm6DvowmMVOFZx3jLt EOJQ7mFz4pRs/9fBMBzc/AGgEhjKK1VPyq+dsLfkfTdxcqa0e+LnkLTlNbu2ra0GX63R QsDg==
X-Gm-Message-State: AJaThX4M2RShbJKljLBtuoAmJbD7xINcfuL6/xpYirf/eXdkBPwU4w2a Wd8pKo8a4GNQU2x0m+CzePIVljLB4n4936dwTy1drQ==
X-Google-Smtp-Source: AGs4zMatEwe6SaCrGj5h0hMfhQ85zCII5/3IyqyzELfNEXJwxiRvjbLWjO7ju1Aup8q/M8vVHcLpaCrbGGmSoX1BLzo=
X-Received: by 10.107.183.76 with SMTP id h73mr43257247iof.154.1511793797120; Mon, 27 Nov 2017 06:43:17 -0800 (PST)
MIME-Version: 1.0
Received: by 10.107.101.16 with HTTP; Mon, 27 Nov 2017 06:42:56 -0800 (PST)
In-Reply-To: <a48025d2-f76c-c91c-cba5-ab1913e5ff44@tessares.net>
References: <e3b6894d-280b-37ce-1ca8-0432f2f1e035@huitema.net> <5108b3b9-d374-0709-3e6f-57c3192469b8@tessares.net> <CABkgnnXq0fhiuHQu9VnMZHf5dbMapE-YkpbBUkN36WPi_g=f2g@mail.gmail.com> <a48025d2-f76c-c91c-cba5-ab1913e5ff44@tessares.net>
From: Ian Swett <ianswett@google.com>
Date: Mon, 27 Nov 2017 09:42:56 -0500
Message-ID: <CAKcm_gMOcUEOH30fMVkq+WHfOsEGwRS0wtM37cMr-Eb2c69vig@mail.gmail.com>
Subject: Re: reserved bits for spin bit, etc.
To: Olivier Bonaventure <olivier.bonaventure@tessares.net>
Cc: Martin Thomson <martin.thomson@gmail.com>, "quic@ietf.org" <quic@ietf.org>, Christian Huitema <huitema@huitema.net>
Content-Type: multipart/alternative; boundary="94eb2c0b9e3a40da29055ef7ece1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/Kf1BVd-RbxPUUxqbrz4Z-BzuJWU>
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: Mon, 27 Nov 2017 14:43:20 -0000

Sorry to go off-topic, but...

I strongly agree with Martin that we want to use connection ID for routing,
and not add a path ID.  An explicit goal of QUIC multipath should be to
look as similar(or ideally be indistinguishable) from single path QUIC.
Adding a path ID makes it trivial to link paths, which creates a known
privacy issue and I believe is much more risky than any measurement bits
we've ever discussed exposing.

The details of how to divide up the packet number space can be discussed
later, but it's clear to me that's a viable solution, and QUIC already has
mechanisms for changing the connection ID mid-connection, so building upon
them is the right approach.

On Mon, Nov 27, 2017 at 2:37 AM, Olivier Bonaventure <
olivier.bonaventure@tessares.net> wrote:

> Martin,
>
>>
>>> We cannot quite agree on the spin bit, let alone further management
>>>> bits. On the other hand, we see that there is clear interest from
>>>> something like that with at least part of the WG, we want to see some
>>>> experimentation, and we understand that the specification can proceed
>>>> independently from the base protocol development. Hence, I would like to
>>>> make a modest proposal.
>>>>
>>>> Can we mark one or possibly two bits as reserved in the first byte of
>>>> the QUIC header? Specify them as SHOULD be zero when sending, SHOULD be
>>>> ignored when receiving, MAY be used for experiments between consenting
>>>> nodes?
>>>>
>>>
>>>
>>> Having some spare bits in the base header will clearly be useful. In
>>> addition to the discussion on the spin bit, let me also point that a
>>> proposed design for multipath quic also uses one of the spare bits in the
>>> public header
>>>
>>> https://tools.ietf.org/html/draft-deconinck-multipath-quic-00
>>>
>>
>> I don't think that this is a good design.  I think that we definitely
>> need to discuss the separation of the packet number space when it
>> comes to multipath, using the connection ID is superior to adding
>> another byte to the header.  For one, it's something we want to change
>> anyway.
>>
>> The important point is to have different packet number spaces on the
> different paths. There are different ways to signal those number spaces.
>
> The draft proposes an explicit signal which is present in the publich
> header of each packet. One benefit of this approach is that a
> load-balancing router could use this information to forward the packets
> belonging to different paths of a single QUIC session over different paths.
>
> Using the connection id is a different way to distinguish different packet
> number spaces. In this case, there is no need for using space in the public
> header but we need to define QUIC frames to associate different connection
> ids to the same QUIC session. This seems possible as well, but in contrast
> with the above approach, a load-balancing router would not be able to
> easily load-balance the packets of a single QUIC session to different paths
> since there is no structure in the connection id.
>
> There are tradeoffs in any multipath design. I'd suggest that when the WG
> starts to work on multipath we look at detailed proposals.
>
>
>
> Olivier
>
>
> --
>
> ------------------------------
> DISCLAIMER.
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error please notify the system manager.
> This message contains confidential information and is intended only for the
> individual named. If you are not the named addressee you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately by e-mail if you have received this e-mail by mistake and
> delete this e-mail from your system. If you are not the intended recipient
> you are notified that disclosing, copying, distributing or taking any
> action in reliance on the contents of this information is strictly
> prohibited.
>
>