Re: Connection IDs

Eric Rescorla <ekr@rtfm.com> Mon, 05 March 2018 03:30 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 1DE73124D6C for <quic@ietfa.amsl.com>; Sun, 4 Mar 2018 19:30:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 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_LOW=-0.7, 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 pNndmyOkAcim for <quic@ietfa.amsl.com>; Sun, 4 Mar 2018 19:30:49 -0800 (PST)
Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d: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 34BDE124C27 for <quic@ietf.org>; Sun, 4 Mar 2018 19:30:49 -0800 (PST)
Received: by mail-qk0-x230.google.com with SMTP id 130so18975077qkd.13 for <quic@ietf.org>; Sun, 04 Mar 2018 19:30:49 -0800 (PST)
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=0QMNSLjbMuYmvARq+NuMXLebBwsZxGRqgVQH0jXjLD8=; b=1b6UrPEI2ATVIRtRbD371KG6KjTvjVANelEBYJtL3wK/MyPzaITEZKt2cDbVqi8sJN 3jJ+j4rrua9PZczglX6w9/UryM5PtAiJ+cA5MWc7WkOgGex7BEevvEGBDe8kVhj+ahUA iqP/GPydPi0bZ9o43Scs/k5dLtt5pqd2Q+NyuLYFyroZ0iXnfC1V+fTqH2g8xiJmoeIw 2O9STKzWuuUZR+y4byGBNoF5K6aUp9XZWgOIRUasx1kmIk2FmtJ2RGZONr33YGwOU+u1 zeDuRdwpXszUZPG7d2K6GV3nXSBFeHHPZXJxQ13ozkmmldLnqSBN8Q+JIT+wG600TTzu WYAg==
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=0QMNSLjbMuYmvARq+NuMXLebBwsZxGRqgVQH0jXjLD8=; b=t2RvghjnJAmqhaTL5T2S54/gtzbntcNBYAaLBaUjqcRlmmsYcg0k62f+WkRrS7QZwo c51CJo97BxrVkXUalnH+NLsY3R8ygU+AED/hGMmCT4MilaZ9Eu9TNmVsRxJG3OQ8IcW4 05t2NOWQEUPomBSoubFYRePCa9i5qrvW22lQPNKRM77lo6miqUbFM3L/l30dugabOHOO AAPvbu8RM+AxIIctEwscRqELjJ8Cdpzzq3Ewz0057CvVpIhuLDgyO2Xjwpx5SGpiXh3s 4xj/TeyXgwwGCXNnz5spFhw7fOsWGr4zB2JN2sQqG+s9ghdpKPDoeqeadCPOQIlNRAn+ EP6w==
X-Gm-Message-State: AElRT7GcFOARiJRDyonq9GfX4prvliH6PAKcgBg1NN+TUiT0KRKSJ6I5 wxC/5E1ce04n5NCJu6GON4S+IeY0/x2mL1hOy3KKxg==
X-Google-Smtp-Source: AG47ELswasv24pr08H2O6dYbsCu0+cKKItrVU6UnA7HWSqX1TJfFYCU5uhThqcpa4QKhdGzH0AkSVPP5EPiN95kZtxI=
X-Received: by 10.55.43.220 with SMTP id r89mr20069662qkr.152.1520220648198; Sun, 04 Mar 2018 19:30:48 -0800 (PST)
MIME-Version: 1.0
Received: by 10.200.37.176 with HTTP; Sun, 4 Mar 2018 19:30:07 -0800 (PST)
In-Reply-To: <CABkgnnVSCnmzjWOZwQM+ctTxFXVzsVYe6Q3Zzk4yj3LNTYUtHw@mail.gmail.com>
References: <CABkgnnVSCnmzjWOZwQM+ctTxFXVzsVYe6Q3Zzk4yj3LNTYUtHw@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sun, 4 Mar 2018 19:30:07 -0800
Message-ID: <CABcZeBNRXF2xohcU331vNW=gXMdN-hmTyoJhKP8EW0TH=AUgNA@mail.gmail.com>
Subject: Re: Connection IDs
To: Martin Thomson <martin.thomson@gmail.com>
Cc: QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="001a1149442cb76fd40566a1f348"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/bjK7mtJWqZ_SfJ6Ixu33blTwjpI>
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, 05 Mar 2018 03:30:51 -0000

Unsurprisingly, I think this is moving int he right direction. I think we
are getting close to being ready to do some bit twiddling :)

-Ekr


On Sun, Mar 4, 2018 at 5: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
>
>