Re: [quicwg/base-drafts] Desirable behavior when it takes time to derive the traffic keys for the next PN space (#3821)
Kazuho Oku <notifications@github.com> Mon, 03 August 2020 05:07 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 50B8D3A0AAD for <quic-issues@ietfa.amsl.com>; Sun, 2 Aug 2020 22:07:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.201
X-Spam-Level:
X-Spam-Status: No, score=-1.201 tagged_above=-999 required=5 tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H2=-0.001, 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 EmC-NENpZnIa for <quic-issues@ietfa.amsl.com>; Sun, 2 Aug 2020 22:07:34 -0700 (PDT)
Received: from out-17.smtp.github.com (out-17.smtp.github.com [192.30.252.200]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CBFF23A0AAB for <quic-issues@ietf.org>; Sun, 2 Aug 2020 22:07:34 -0700 (PDT)
Received: from github-lowworker-e8b54ca.ac4-iad.github.net (github-lowworker-e8b54ca.ac4-iad.github.net [10.52.23.39]) by smtp.github.com (Postfix) with ESMTP id F307A5C0DED for <quic-issues@ietf.org>; Sun, 2 Aug 2020 22:07:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1596431254; bh=+oZ2c2kbKhq8P3dqyGMTu+gS5iKznBht9wB0xvwiJeQ=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=QJSboWsFXeDP9MoTVEbq0Oio6Z7uv8X1hUx5rGYvA4ruFeq8ZQFOKmZHfomr+cThf hmELa/z2iMoMIF2paRZ4NmpBli77XxfTBBMdmSmvnL8LmFIdXTxcwnxSTTt9bmThSu yf05Ci1g/SF/+pv6G7/SgRXlegXSoXAqwuXJjvqE=
Date: Sun, 02 Aug 2020 22:07:33 -0700
From: Kazuho Oku <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJKYGJFO3K4KJGHPENVN5GN6JLEVBNHHCNTMDWA@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/3821/667805307@github.com>
In-Reply-To: <quicwg/base-drafts/issues/3821@github.com>
References: <quicwg/base-drafts/issues/3821@github.com>
Subject: Re: [quicwg/base-drafts] Desirable behavior when it takes time to derive the traffic keys for the next PN space (#3821)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5f279b95e356d_292116f8796225"; 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/qTU4DCM6fNRPtl65vHvud8JMvSg>
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: Mon, 03 Aug 2020 05:07:36 -0000
@ianswett > But what if there are no Initial ACKs received and ACK with the large ack_delay is the first ACK of the connection? I guess you're stuck with one bad sample and hope the next is better? That's correct. The resolution proposed by @janaiyengar does not mitigate that issue. By including queuing delay of unencryptable packets into ack_delay, the proposed resolution improves the quality of RTT samples. But as you say, it does not mitigate the case where that would be the first sample. > It doesn't seem onerous to add a "SHOULD process all packets in the current datagram and all buffered packets before sending an ACK to avoid generating multiple inflated RTT samples" to me? I'm not sure if doing that mitigates the problem. The proposed resolution recommends endpoints to send ACK for a handshake message before spending time to process it. As an example, a client would ack the Handshake packets before starting to verify the certificate chain. And after that, it would send a Handshake packet (that contains ClientFinished only, no ack will be included), and a 1-RTT packet acking the 0.5-RTT data sent by the server. If the Handshake ack reached the server, then the server would have a good min_rtt estimate. If it did not, then, the next sample that the server would receive is the ack for the 0.5-RTT packet(s). As the servers do not arm the PTO timer for 0.5-RTT data, it is hard to have a protocol mechanism that prevents the first 1-RTT ACKs sent by the client from having a ack delay field that reflects the amount of time spent for verifying the certificate chain. -- 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/3821#issuecomment-667805307
- [quicwg/base-drafts] Desirable behavior when it t… Kazuho Oku
- Re: [quicwg/base-drafts] Desirable behavior when … Martin Thomson
- Re: [quicwg/base-drafts] Desirable behavior when … Kazuho Oku
- Re: [quicwg/base-drafts] Desirable behavior when … Kazuho Oku
- Re: [quicwg/base-drafts] Desirable behavior when … ianswett
- Re: [quicwg/base-drafts] Desirable behavior when … Kazuho Oku
- Re: [quicwg/base-drafts] Desirable behavior when … ianswett
- Re: [quicwg/base-drafts] Desirable behavior when … Kazuho Oku
- Re: [quicwg/base-drafts] Desirable behavior when … Jana Iyengar
- Re: [quicwg/base-drafts] Desirable behavior when … Kazuho Oku
- Re: [quicwg/base-drafts] Desirable behavior when … Jana Iyengar
- Re: [quicwg/base-drafts] Desirable behavior when … Kazuho Oku
- Re: [quicwg/base-drafts] Desirable behavior when … Martin Thomson
- Re: [quicwg/base-drafts] Desirable behavior when … Kazuho Oku
- Re: [quicwg/base-drafts] Desirable behavior when … Kazuho Oku
- Re: [quicwg/base-drafts] Desirable behavior when … Martin Thomson
- Re: [quicwg/base-drafts] Desirable behavior when … Jana Iyengar
- Re: [quicwg/base-drafts] Desirable behavior when … Jana Iyengar
- Re: [quicwg/base-drafts] Desirable behavior when … Jana Iyengar
- Re: [quicwg/base-drafts] Desirable behavior when … Jana Iyengar
- Re: [quicwg/base-drafts] Desirable behavior when … ianswett
- Re: [quicwg/base-drafts] Desirable behavior when … ianswett
- Re: [quicwg/base-drafts] Desirable behavior when … Jana Iyengar
- Re: [quicwg/base-drafts] Desirable behavior when … Kazuho Oku
- Re: [quicwg/base-drafts] Desirable behavior when … Kazuho Oku
- Re: [quicwg/base-drafts] Desirable behavior when … ianswett
- Re: [quicwg/base-drafts] Desirable behavior when … ianswett
- Re: [quicwg/base-drafts] Desirable behavior when … ianswett
- Re: [quicwg/base-drafts] Desirable behavior when … Martin Thomson
- Re: [quicwg/base-drafts] Desirable behavior when … Jana Iyengar