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 55B0D120115
 for <quic-issues@ietfa.amsl.com>; Mon,  9 Dec 2019 20:03:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.999
X-Spam-Level: 
X-Spam-Status: No, score=-7.999 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_IMAGE_ONLY_32=0.001,
 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 eytcDkP1A7ku for <quic-issues@ietfa.amsl.com>;
 Mon,  9 Dec 2019 20:03:55 -0800 (PST)
Received: from out-19.smtp.github.com (out-19.smtp.github.com [192.30.252.202])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by ietfa.amsl.com (Postfix) with ESMTPS id CD1F3120114
 for <quic-issues@ietf.org>; Mon,  9 Dec 2019 20:03:54 -0800 (PST)
Received: from github-lowworker-fb56993.ac4-iad.github.net
 (github-lowworker-fb56993.ac4-iad.github.net [10.52.19.31])
 by smtp.github.com (Postfix) with ESMTP id 2AFB1520189
 for <quic-issues@ietf.org>; Mon,  9 Dec 2019 20:03:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
 s=pf2014; t=1575950634;
 bh=Y3g/lfYrSc2s91uTujSQbEH2Yk7qY+KJQKr/Wy0t1XA=;
 h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
 List-Archive:List-Post:List-Unsubscribe:From;
 b=yc84WXbjQIVyAjAKTmMDr/8VpnAvA/dFzRwe/dOzED+soFbImQMWqZ21DvOkEzaMO
 WdlqrKs2/vzsCByppUQd5iZ5px9rSGU0m+DTq7+mThxq5qqdiwYbolzkANzNRKLPPy
 LQVKeCmW3TKlRMPB3yUfKqRwMGv3NrfYjP5afb50=
Date: Mon, 09 Dec 2019 20:03:54 -0800
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts
 <reply+AFTOJK3CUVVKQ3VUR4MS63V37RF2VEVBNHHB7MNOEU@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/3281/review/329578488@github.com>
In-Reply-To: <quicwg/base-drafts/pull/3281@github.com>
References: <quicwg/base-drafts/pull/3281@github.com>
Subject: Re: [quicwg/base-drafts] NEW_TOKEN contains globally unique values
 (#3281)
Mime-Version: 1.0
Content-Type: multipart/alternative;
 boundary="--==_mimepart_5def192a1b39a_bba3fdde78cd96c1241d2";
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: martinthomson
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/BARlkOvOWdXcbwuoIC8ikYDHmVY>
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, 10 Dec 2019 04:03:57 -0000


----==_mimepart_5def192a1b39a_bba3fdde78cd96c1241d2
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

martinthomson commented on this pull request.



> @@ -1719,9 +1719,11 @@ encrypted form in the token.
 A token issued with NEW_TOKEN MUST NOT include information that would allow
 values to be linked by an on-path observer to the connection on which it was
 issued, unless the values are encrypted.  For example, it cannot include the
-previous connection ID or addressing information.  Information that allows the
-server to distinguish between tokens from Retry and NEW_TOKEN MAY be accessible
-to entities other than the server.
+previous connection ID or addressing information.  Each NEW_TOKEN frame MUST
+be unique among all connections to that server, unless the frame is sent to

No, there is no obligation to check.  Do you think that we need to say as much?

The client should only see duplicates if there is a spurious loss detected by the server.

I like your suggested text and will use that.  The duplicate detection is already described on [line 5073](https://github.com/quicwg/base-drafts/pull/3281/files#diff-db016291106766877c4921a79f8596e0R5073).

-- 
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/3281#discussion_r355835144
----==_mimepart_5def192a1b39a_bba3fdde78cd96c1241d2
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

<p><b>@martinthomson</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/quicwg/base-drafts/pull/3281#discussion_r355835144">draft-ietf-quic-transport.md</a>:</p>
<pre style='color:#555'>&gt; @@ -1719,9 +1719,11 @@ encrypted form in the token.
 A token issued with NEW_TOKEN MUST NOT include information that would allow
 values to be linked by an on-path observer to the connection on which it was
 issued, unless the values are encrypted.  For example, it cannot include the
-previous connection ID or addressing information.  Information that allows the
-server to distinguish between tokens from Retry and NEW_TOKEN MAY be accessible
-to entities other than the server.
+previous connection ID or addressing information.  Each NEW_TOKEN frame MUST
+be unique among all connections to that server, unless the frame is sent to
</pre>
<p>No, there is no obligation to check.  Do you think that we need to say as much?</p>
<p>The client should only see duplicates if there is a spurious loss detected by the server.</p>
<p>I like your suggested text and will use that.  The duplicate detection is already described on <a href="https://github.com/quicwg/base-drafts/pull/3281/files#diff-db016291106766877c4921a79f8596e0R5073">line 5073</a>.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/quicwg/base-drafts/pull/3281?email_source=notifications&amp;email_token=AFTOJKZLJJGEW4HZGHTDGALQX4IKVA5CNFSM4JUSKXZKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCOSPP6A#discussion_r355835144">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AFTOJK5BHFHCHL4G7PUMU5DQX4IKVANCNFSM4JUSKXZA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AFTOJK2DAS4PHYTFTXBUAYDQX4IKVA5CNFSM4JUSKXZKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCOSPP6A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/quicwg/base-drafts/pull/3281?email_source=notifications\u0026email_token=AFTOJKZLJJGEW4HZGHTDGALQX4IKVA5CNFSM4JUSKXZKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCOSPP6A#discussion_r355835144",
"url": "https://github.com/quicwg/base-drafts/pull/3281?email_source=notifications\u0026email_token=AFTOJKZLJJGEW4HZGHTDGALQX4IKVA5CNFSM4JUSKXZKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCOSPP6A#discussion_r355835144",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>
----==_mimepart_5def192a1b39a_bba3fdde78cd96c1241d2--

