Re: Connection IDs

Martin Thomson <martin.thomson@gmail.com> Wed, 07 March 2018 20:19 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 6E72F129C6B for <quic@ietfa.amsl.com>; Wed, 7 Mar 2018 12:19:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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_LOW=-0.7, 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 lUdGtcjAMD7k for <quic@ietfa.amsl.com>; Wed, 7 Mar 2018 12:19:04 -0800 (PST)
Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com [IPv6:2607:f8b0:4003:c06::22b]) (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 29FFE1270A0 for <quic@ietf.org>; Wed, 7 Mar 2018 12:19:04 -0800 (PST)
Received: by mail-oi0-x22b.google.com with SMTP id j79so2659104oib.12 for <quic@ietf.org>; Wed, 07 Mar 2018 12:19:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=eEcjOQ4ivQ2GZyaJkKWLnFwcRcnjS6u8OdwzFBdiMVE=; b=X16oEkA03pyDUaZ7SDFPt9ebs4fHYKCH/G2ic5v78yCMU7YrmI1FDTcYHdSi2neyRi 5zuq9KO8nmOaVoROw7kCUu6bE3U7vsWRLmc9dhpBXwzK8bpCGLGFHXuH2leE0UDDgMXH fx9RGttIkLTtJrnQdZi32wacOo/7ihZm8PGAzfgssKeKFuwrPDAc0VRHP5RkuGgOK6Mi vFLI9HglhIEKmC5Q5u+b9q/GlzwvoERXy3BP+cc3Y6ZRTogLq15Fjwl94uKH96WLrjIX uso3OylxYa5dI927j48WlZoRKdsdATPxyFPNUnxs1AUPIKtN8IOOtGHgDkJPUroiGKb0 orvw==
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=eEcjOQ4ivQ2GZyaJkKWLnFwcRcnjS6u8OdwzFBdiMVE=; b=uGdtAb9p5mzUu9bnzY+8jqYdnjtXVTOg+6uDdbibhORCeYxtvzohyA7bMNYGnN/cy4 2pIMvrpiUE1Ux1ZpG/okM5u+42+/FIQMDUV8nBOyAbW7TcDXgcoYUKcOs/eQDddkxmTL IKyQ2RsupcF1/bKT3Hk4u+pRVj5MNcqg4ta6LxTuwiQ5H5LwB474nv9FSUDRTaY5z0hI bJqwqB2spgjIiYebyd2AOPHLODkG6s3UzTTVnal1/H/DZhg51JeGRBji/Zu+ov5saAOM j8xh7pUrBO8PB5mXEX1TcIUHMAXdh/mQN+l2YTMlQ9F6A9/lLXaLMJIqkKgjJDd8qxD8 XPOQ==
X-Gm-Message-State: AElRT7Ef6zB4bxiJFJ5/CkJzd/8xkSV9WXlOaPULcyPjQ8TLBFWDcei3 oajyGyM9j3EYjDI31XRTk3hlCjD0Z1GLZ6Te+ig=
X-Google-Smtp-Source: AG47ELvpBEJZwCLqFfSmIngrZJQEJcEhinMNS35PW41s+3pH9EG8f2yuOQk6iGdots1eFamlrJT4TIhQZWuAkOGP/iM=
X-Received: by 10.202.27.1 with SMTP id b1mr15750898oib.110.1520453943342; Wed, 07 Mar 2018 12:19:03 -0800 (PST)
MIME-Version: 1.0
Received: by 10.157.16.85 with HTTP; Wed, 7 Mar 2018 12:19:02 -0800 (PST)
In-Reply-To: <CACpbDccpuNWnX=Y+gKaPxLEjUOnvu+hr9FqH+R6ZspwOfUq-qg@mail.gmail.com>
References: <CABkgnnVSCnmzjWOZwQM+ctTxFXVzsVYe6Q3Zzk4yj3LNTYUtHw@mail.gmail.com> <CAOdDvNo9qmZqmEXBGM4bM6q3EO1FGuUxLSSWsVhNEYsn5u9puQ@mail.gmail.com> <CAKcm_gMR070JUegQbDw--RNr+0XYiBMwaTM3MBmqUo21u922TQ@mail.gmail.com> <CACpbDccpuNWnX=Y+gKaPxLEjUOnvu+hr9FqH+R6ZspwOfUq-qg@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 08 Mar 2018 07:19:02 +1100
Message-ID: <CABkgnnUPJYG-QE4qxfOd-6AoHHgxVq4K=EyRfoxkcvdDF=oaZA@mail.gmail.com>
Subject: Re: Connection IDs
To: Jana Iyengar <jri.ietf@gmail.com>
Cc: Ian Swett <ianswett=40google.com@dmarc.ietf.org>, Patrick McManus <pmcmanus@mozilla.com>, IETF QUIC WG <quic@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/gWX_4iP4s2J7G_VDjw6QNYRVTxE>
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: Wed, 07 Mar 2018 20:19:05 -0000

Just to add to this and bring this list up to speed...

Ian opened https://github.com/quicwg/base-drafts/issue/1166 which
suggests moving the Version field into a fixed location.

To that end: https://github.com/quicwg/base-drafts/pull/1167

Does anyone have anything more to add (perhaps someone who does not
work for Mozilla or Google) here?  The feedback I've received is
overwhelmingly positive thus far and my hope is to merge this ahead of
the editors starting an extended editing session next week.


On Tue, Mar 6, 2018 at 12:04 PM, Jana Iyengar <jri.ietf@gmail.com> wrote:
> +1 to this is the direction we're all converging on.
>
> On Mon, Mar 5, 2018 at 6:01 AM, Ian Swett
> <ianswett=40google.com@dmarc.ietf.org> wrote:
>>
>> Agreed, I unsurprisingly think this is the right direction.
>>
>>
>> On Mon, Mar 5, 2018 at 8:05 AM Patrick McManus <pmcmanus@mozilla.com>
>> wrote:
>>>
>>> big picture this is good.
>>>
>>> On Sun, Mar 4, 2018 at 8:54 PM, Martin Thomson <martin.thomson@gmail.com>
>>> wrote:
>>>>
>>>> I've written up a PR that enacts the changes suggested by the design
>>>> team [1].
>>>>
>>>> https://github.com/quicwg/base-drafts/pull/1151
>>>>
>>>> This adds two connection IDs to the long header.  An explicit length
>>>> is added for each.
>>>>
>>>> The short header includes the raw connection ID without any C bit or
>>>> length.
>>>>
>>>> I've tried to explain the limitations of the design where they apply.
>>>> That includes stateless reset.
>>>>
>>>> This PR necessarily includes some choices about less critical aspects,
>>>> such as how connection ID lengths are encoded.  I ask that you try to
>>>> separate objections about minor issues like this from more serious
>>>> structural concerns.  I'm happy to discuss details, but I'm most
>>>> interested in whether this is broadly the right direction first.
>>>>
>>>> Cheers,
>>>> Martin
>>>>
>>>> p.s., happy draft submission deadline day
>>>>
>>>> [1]
>>>> https://mailarchive.ietf.org/arch/msg/quic/l_b1NnBmQpQGCxCfQteOMkft-lE
>>>>
>>>
>