Re: [quicwg/base-drafts] CID Lifetime Management (#1496)
Nick Banks <notifications@github.com> Fri, 29 June 2018 17:27 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 B1613130DE2 for <quic-issues@ietfa.amsl.com>; Fri, 29 Jun 2018 10:27:33 -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 M4fBoNDXvD2o for <quic-issues@ietfa.amsl.com>; Fri, 29 Jun 2018 10:27:25 -0700 (PDT)
Received: from out-7.smtp.github.com (out-7.smtp.github.com [192.30.252.198]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5AE28130DCC for <quic-issues@ietf.org>; Fri, 29 Jun 2018 10:27:25 -0700 (PDT)
Date: Fri, 29 Jun 2018 10:27:24 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1530293244; bh=x1L3yF/xpTiZMGyKi4uhC2w++Mme6kpB2eoKKRoE2ws=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=vkogEDIih7ze0rFcV0Ze7MlfJLIu6EbJDmbUiXeJyj8WQuTBnMfmtGatmKhY+ZvUW 3Z1Y6J33hdoDbwn5eK43hYKxg4JF0YL51Y1yeCooNzkO7ld1uP9eWmAyO7HDexWsrd mAwE4MKW7fGfV02FNBQyw4vBlgwVzqkR3mx5nzSc=
From: Nick Banks <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abcf2d1f6007bdb0a9a538b8127116dd2c5b3054b292cf00000001174e2dfc92a169ce141307e3@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/1496/review/133312280@github.com>
In-Reply-To: <quicwg/base-drafts/pull/1496@github.com>
References: <quicwg/base-drafts/pull/1496@github.com>
Subject: Re: [quicwg/base-drafts] CID Lifetime Management (#1496)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5b366bfc9f39e_2ca22ae1e1eacf5c818e6"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: nibanks
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/O3e5mcySrBmO9bKFnA2qvNCfo_E>
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, 29 Jun 2018 17:27:34 -0000
nibanks commented on this pull request. > + 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 ++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +| Sequence (i) ... ++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +~~~ + +The fields in the RETIRE_CONNECTION_ID frame are as follows: + +Sequence: +: Sequence number of the oldest connection ID issued by the sender which the + sender will still recognize as associated with the current connection. The + sequence number is formatted as a variable-length integer. + +Upon receipt of a RETIRE_CONNECTION_ID frame, an endpoint MUST consider +connection IDs older than the specified sequence number as unusable and MUST NOT +consider the associated stateless reset tokens to be valid. If an older While, we haven't implemented migration yet in WinQuic, the following is the design we'd have been considering: - Have a hard coded limit on the number of CIDs to give to the peer, X (probably 3 or 4) - Have a hard coded limit on the number of valid paths to maintain, Y (probably 2 or 3) - Whenever we need to give a new CID out, if we are at our limit, we throw away the oldest, non-primary path, CID in our cache. If that CID was for a validated path, throw the path away. - Trickier logic is around new paths being created. Not quite worked through the details on that one. But bottom line, with this design, we don't expect to age out more than one at a time. And additionally, the peer could indicate they have to throw a CID away because they tried and failed to use it for a new path validation. -- 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/pull/1496#discussion_r199228603
- [quicwg/base-drafts] CID Lifetime Management (#14… Mike Bishop
- Re: [quicwg/base-drafts] CID Lifetime Management … Nick Banks
- Re: [quicwg/base-drafts] CID Lifetime Management … Nick Banks
- Re: [quicwg/base-drafts] CID Lifetime Management … Mike Bishop
- Re: [quicwg/base-drafts] CID Lifetime Management … Nick Banks
- Re: [quicwg/base-drafts] CID Lifetime Management … Mike Bishop
- Re: [quicwg/base-drafts] CID Lifetime Management … Nick Banks
- Re: [quicwg/base-drafts] CID Lifetime Management … Mike Bishop
- Re: [quicwg/base-drafts] CID Lifetime Management … ianswett
- Re: [quicwg/base-drafts] CID Lifetime Management … Kazuho Oku
- Re: [quicwg/base-drafts] CID Lifetime Management … Martin Thomson
- Re: [quicwg/base-drafts] CID Lifetime Management … Martin Thomson
- Re: [quicwg/base-drafts] CID Lifetime Management … Martin Thomson