Re: [quicwg/base-drafts] Desirable behavior when it takes time to derive the traffic keys for the next PN space (#3821)

Jana Iyengar <notifications@github.com> Tue, 14 July 2020 18:57 UTC

Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.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 80B933A08A3 for <quic-issues@ietfa.amsl.com>; Tue, 14 Jul 2020 11:57:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.099
X-Spam-Level:
X-Spam-Status: No, score=-3.099 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, DKIM_VALID_EF=-0.1, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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 zIOGJ1Carf7a for <quic-issues@ietfa.amsl.com>; Tue, 14 Jul 2020 11:57:35 -0700 (PDT)
Received: from o5.sgmail.github.com (o5.sgmail.github.com [192.254.113.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E70BD3A0891 for <quic-issues@ietf.org>; Tue, 14 Jul 2020 11:57:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=t5DtEiDThPrX6Z+jkbeIj1ai/uUpXFfGPHfr6QwsbO4=; b= tBuBZeOWG1WERrktNYSDpyQYnKpY9iViGB3hxjU219M3e5BmHK726kTydwzDbKCb zuartrLFjtFVBaHgW9dKXma/jUf0JTfMwOmetiESwHWT8Jj1j6tQ4NmKKjnSUgf9 STsa/mS28+lvEmonno7ht3/1hnv7EVIh/6nZc4IjJzE=
Received: by filter2193p1mdw1.sendgrid.net with SMTP id filter2193p1mdw1-25511-5F0E001E-C 2020-07-14 18:57:34.1662057 +0000 UTC m=+92065.508095779
Received: from github-lowworker-cde56e0.va3-iad.github.net (unknown) by ismtpd0041p1mdw1.sendgrid.net (SG) with ESMTP id JQ1OSnFLRk2A7e9-wuhv9A for <quic-issues@ietf.org>; Tue, 14 Jul 2020 18:57:34.094 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker-cde56e0.va3-iad.github.net (Postfix) with ESMTP id DF52A8601F1 for <quic-issues@ietf.org>; Tue, 14 Jul 2020 11:57:33 -0700 (PDT)
Date: Tue, 14 Jul 2020 18:57:34 +0000
From: Jana Iyengar <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJK46LNLXEE5R7KLEWY55DHQR3EVBNHHCNTMDWA@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/658354136@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_5f0e001dddac2_73723fbcb0acd968335f4"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: janaiyengar
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak2PXKOYJr/X0htf6Yvo/8FHH59u+oL5oXiKsR 6UDc+5pcdpdOyfaEBHLKRgPpNFgydoWApyIFvySp8KwdUkIbKYn0HqHnBg7eC5hySCD5py0KtWVxi6 BIH6cbGe6KVrkz8VWh+mvWpLXZevQpY6p/X6AWcsxyToBmdoOKVVolbX7mlFpy+taEhwP/kV7My+MT k=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/BjqjMmemUc846Oo0HcIfi52Rme4>
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: Tue, 14 Jul 2020 18:57:37 -0000

@ianswett raises a good point about inflated RTTs. @kazuho's point about max_ack_delay actually exposes a grey area in the current semantics of that parameter. It is expected to be the maximum delay that the endpoint introduces. Other delay is supposed to be considered to be part of the "path". This is a situation where that assumption doesn't hold well. Separately, reporting this delay as part of ack_delay assumes that the implementation timestamps the packet when received at the endpoint. Meaning that if the endpoint actually does the cert verification synchronously, and does not read from the socket until that is complete, then it will need to read kernel receive times. (This also assumes that an endpoint is expected to timestamp the packet on receipt, not on decryption, which is very much how most stacks will do it, but there's not much difference at the moment in the common case between these two times.)

I'm tempted to say that we don't try to solve this in the protocol yet. Let's experiment with strategies that we think might work in implementations, share notes, and come back to the spec when we have a good answer. For the time being, we expect that the delays at the clients should not be super common, and even when it is the case, a couple of RTT samples should not significantly sway the RTT. I'm ok with that.

-- 
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-658354136