[quicwg/base-drafts] Confusion about number of outstanding CIDs (#1464)

Mike Bishop <notifications@github.com> Wed, 20 June 2018 18:30 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 58308130E02 for <quic-issues@ietfa.amsl.com>; Wed, 20 Jun 2018 11:30:01 -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 pXpsIGiBc36e for <quic-issues@ietfa.amsl.com>; Wed, 20 Jun 2018 11:29:59 -0700 (PDT)
Received: from out-5.smtp.github.com (out-5.smtp.github.com [192.30.252.196]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3260130DFA for <quic-issues@ietf.org>; Wed, 20 Jun 2018 11:29:58 -0700 (PDT)
Date: Wed, 20 Jun 2018 11:29:58 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1529519398; bh=aPUw6/sMPoYCSxVmglU0H6aSZ5lZbMIYTbn7f8NGuzM=; h=Date:From:Reply-To:To:Cc:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=YkB7GeFwiGxp3v2u3ZcmEsK4WnjQ2gREKK68GN5In2aPwtmZo3sewgMR/jPnZ4LpP WGFm2tkKSXg7zdGV5CcrYNBufLZkfVeZa90vcfVZJYjhOLD9NFVKE69pRXvLuUHNpe 56+QtTEskHsPJ5yVeyq2BnPedHQolXbIAB6Sg1vA=
From: Mike Bishop <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab61129d2a7560c8b89e3f24c712511c9c3e00bcb092cf0000000117425f2692a169ce13eb7977@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/1464@github.com>
Subject: [quicwg/base-drafts] Confusion about number of outstanding CIDs (#1464)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5b2a9d265dfb0_320c2aadc598ef5c26347c"; 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/BjGbuvHPgUA_tITSdr73Xi7vfok>
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: Wed, 20 Jun 2018 18:30:02 -0000

Suppose an endpoint is probing an alternate path to keep it available for future migration.  (Probing periodically over cellular in case Wi-Fi goes away, for example.)  The endpoint has N connection IDs outstanding and chooses to use one of them on a probing packet, which gets lost.  When the endpoint retransmits the probe, it uses a different CID because it has been quiescent for a while.  This probe gets through.

At this point, the endpoint believes it has N-2 remaining CIDs to work with, while its peer believes it has N-1 CIDs still issued.  Now the text about making sure your peer has outstanding CIDs becomes pointless, because the peers can't accurately estimate.  Repeat this a couple times, and you might find yourself stuck behind "MUST NOT send additional packets until a NEW_CONNECTION_ID frame is received" because you've run out and the peer thinks you haven't.

ACK tracking would let the endpoint detect that this has happened (all packets using CID A have been declared lost, so peer doesn't know I burned it), but that doesn't permit the endpoint to *fix* the problem.  I think this ultimately leads us to a NEED_MORE_CIDS frame, unless anyone else has an idea.  (Not quite CID_BLOCKED, because once you're blocked it's too late.)

-- 
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/1464