Re: [quicwg/base-drafts] Which DCID do Handshake retransmissions use? (#3348)
Kazuho Oku <notifications@github.com> Thu, 16 January 2020 03:16 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 C3857120058 for <quic-issues@ietfa.amsl.com>; Wed, 15 Jan 2020 19:16:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8
X-Spam-Level:
X-Spam-Status: No, score=-8 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, 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_HELO_NONE=0.001, SPF_PASS=-0.001] 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 3IQbicFAEIV6 for <quic-issues@ietfa.amsl.com>; Wed, 15 Jan 2020 19:16:01 -0800 (PST)
Received: from out-15.smtp.github.com (out-15.smtp.github.com [192.30.254.198]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 219F012002F for <quic-issues@ietf.org>; Wed, 15 Jan 2020 19:16:01 -0800 (PST)
Date: Wed, 15 Jan 2020 19:16:00 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1579144560; bh=XN1UdnqSt6ldpusAIUltQnXrWyMQAKM8g4tWlbk5Epw=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=GQVQ22rD9mp7xZGK9528Z8znRa3tBhRG/eUXOuzY4+r25bsWQ9fYNnJNGTXOF0zMY rs4Vak57giaHJaYIaiW7/t2EVJsaK0kycErBQsnKAdhpjd6qK5FmXBFOdLPXXA7Jj0 mzsoQ11mavHZZWv9QGKT+899nL6Raakq2mPnX+WA=
From: Kazuho Oku <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJK6YM6UERCQ7GNDTAF54FUD7BEVBNHHCBR5T4M@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/3348/574962583@github.com>
In-Reply-To: <quicwg/base-drafts/issues/3348@github.com>
References: <quicwg/base-drafts/issues/3348@github.com>
Subject: Re: [quicwg/base-drafts] Which DCID do Handshake retransmissions use? (#3348)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5e1fd57076580_683f3fb7bc4cd96c1761ca"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: kazuho
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/fkWhvpTfWPwuNEO2L9nHGjMdzKE>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 16 Jan 2020 03:16:03 -0000
@martinthomson I think that that is a good way at looking into the issue. I agree that the endpoints can start using the new CIDs during handshake, if the peer sends NCID frames. The only problem that I can think of is related to retirement (see https://github.com/quicwg/base-drafts/issues/3348#issuecomment-574493824) When the server provides TP.preferred_address, and also decides to retire the CIDs immediately after sending all the handshake transcript, there's going to be a very small time window in which it has to send *two* CIDs (one for the current path and another for the path using the preferred address). Unless the QUIC stack allows bundling of two NCID frames when building a QUIC packet, the client might end up not having sufficient amount of CIDs, in which case it might terminate the connection. It is my view that this is very different from the ordinary case of retiring CIDs, in which case there would be enough time window to guarantee that a handful number of new generation CIDs are delivered before the older ones are delivered (cc @nibanks). That said, I now tend to think that the most we might have to do is the following two: * clarify that CIDs received using NCID frames can be used for Handshake packets * have a cautionary text stating that a server needs to make sure that the client has enough number of new generation CIDs when it retires an older generation of CIDs -- 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/3348#issuecomment-574962583
- [quicwg/base-drafts] Which DCID do Handshake retr… Marten Seemann
- Re: [quicwg/base-drafts] Which DCID do Handshake … Kazuho Oku
- Re: [quicwg/base-drafts] Which DCID do Handshake … Jana Iyengar
- Re: [quicwg/base-drafts] Which DCID do Handshake … Jana Iyengar
- Re: [quicwg/base-drafts] Which DCID do Handshake … Tatsuhiro Tsujikawa
- Re: [quicwg/base-drafts] Which DCID do Handshake … ianswett
- Re: [quicwg/base-drafts] Which DCID do Handshake … Nick Banks
- Re: [quicwg/base-drafts] Which DCID do Handshake … Nick Banks
- Re: [quicwg/base-drafts] Which DCID do Handshake … ianswett
- Re: [quicwg/base-drafts] Which DCID do Handshake … Marten Seemann
- Re: [quicwg/base-drafts] Which DCID do Handshake … Jana Iyengar
- Re: [quicwg/base-drafts] Which DCID do Handshake … Jana Iyengar
- Re: [quicwg/base-drafts] Which DCID do Handshake … Mike Bishop
- Re: [quicwg/base-drafts] Which DCID do Handshake … Martin Thomson
- Re: [quicwg/base-drafts] Which DCID do Handshake … Kazuho Oku
- Re: [quicwg/base-drafts] Which DCID do Handshake … Marten Seemann
- Re: [quicwg/base-drafts] Which DCID do Handshake … Martin Thomson
- Re: [quicwg/base-drafts] Which DCID do Handshake … Tatsuhiro Tsujikawa
- Re: [quicwg/base-drafts] Which DCID do Handshake … Kazuho Oku
- Re: [quicwg/base-drafts] Which DCID do Handshake … ianswett
- Re: [quicwg/base-drafts] Which DCID do Handshake … David Schinazi
- Re: [quicwg/base-drafts] Which DCID do Handshake … Igor Lubashev
- Re: [quicwg/base-drafts] Which DCID do Handshake … Christian Huitema
- Re: [quicwg/base-drafts] Which DCID do Handshake … Kazuho Oku
- Re: [quicwg/base-drafts] Which DCID do Handshake … Kazuho Oku
- Re: [quicwg/base-drafts] Which DCID do Handshake … Lars Eggert
- Re: [quicwg/base-drafts] Which DCID do Handshake … ianswett
- Re: [quicwg/base-drafts] Which DCID do Handshake … Martin Thomson
- Re: [quicwg/base-drafts] Which DCID do Handshake … Martin Thomson
- Re: [quicwg/base-drafts] Which DCID do Handshake … Martin Thomson
- Re: [quicwg/base-drafts] Which DCID do Handshake … Jana Iyengar
- Re: [quicwg/base-drafts] Which DCID do Handshake … Martin Thomson