[quicwg/base-drafts] CID ratcheting language is imprecise (#1452)
Mike Bishop <notifications@github.com> Fri, 15 June 2018 17:45 UTC
Return-Path: <noreply@github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EE25812872C for <quic-issues@ietfa.amsl.com>; Fri, 15 Jun 2018 10:45:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.01
X-Spam-Level:
X-Spam-Status: No, score=-8.01 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, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.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 A_aVgvmY49T4 for <quic-issues@ietfa.amsl.com>; Fri, 15 Jun 2018 10:45:12 -0700 (PDT)
Received: from out-1.smtp.github.com (out-1.smtp.github.com [192.30.252.192]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3D812124D68 for <quic-issues@ietf.org>; Fri, 15 Jun 2018 10:45:12 -0700 (PDT)
Date: Fri, 15 Jun 2018 10:45:11 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1529084711; bh=mpClrXqi+MKbNljFSJzSZzO/7DFXu7qr3op3l5BaTFE=; h=Date:From:Reply-To:To:Cc:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=LuQ2bPYTSN/S5IIfp1MaQv6/gNgi7wbIYG6KAfDjv1hCTgAsNmSf4YBxb4ZVEWmdJ efzexICnv2hVpGIxOaTaWf6LdS8R4n2VTgcVkq8cVS43tQ4npQYyKgijvqxdgzoE5o 9zSvj4SLAUx9b2X0MStr8jBhA9t2qxIHqye+UISU=
From: Mike Bishop <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abccd683114b6fec83cbace81eb95ddfc9698099fe92cf00000001173bbd2792a169ce13d7106f@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/1452@github.com>
Subject: [quicwg/base-drafts] CID ratcheting language is imprecise (#1452)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5b23fb27637ec_5b913fe6f3b20f8881014"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: MikeBishop
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/m4ms7bZ2z9ihcA9nOiZh1Ishl80>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.26
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jun 2018 17:45:14 -0000
As currently written, each endpoint MUST switch to a new CID when it sees its peer do so. If taken literally by each peer, this will cause a change of CID by each peer every round trip; unless a sufficient stream of NCID frames is kept up, they'll exhaust the supply and #1276 would have the connection be closed. That seems both unnecessarily fragile and not actually the intent of this requirement. Intuitively, you want to switch when: - You see the peer do so - It's not in response to your own switch Not marking this design, because I'm fairly sure this is the intent of the existing text, albeit not what it actually says. I'm having trouble coming up with a concise way of wording the second piece of the condition, however. Ironically, this would have been simple when CIDs had sequence numbers -- you MUST always use a CID with a sequence number >= the sequence number of the CID you're receiving from the peer. But we weren't actually using them for that. We could do something similar, though, saying you must count the number of times the peer has changed CIDs post-handshake and you must have changed at least as many times. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/quicwg/base-drafts/issues/1452
- Re: [quicwg/base-drafts] CID ratcheting language … Martin Thomson
- Re: [quicwg/base-drafts] CID ratcheting language … Mike Bishop
- [quicwg/base-drafts] CID ratcheting language is i… Mike Bishop