Re: [quicwg/base-drafts] Make reset simpler and invisible (#574)
MikkelFJ <notifications@github.com> Tue, 06 June 2017 11:02 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 7C5E412941C for <quic-issues@ietfa.amsl.com>; Tue, 6 Jun 2017 04:02:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.801
X-Spam-Level:
X-Spam-Status: No, score=-4.801 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, RCVD_IN_MSPIKE_H2=-2.8, RP_MATCHES_RCVD=-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 iyFRQz4hwePW for <quic-issues@ietfa.amsl.com>; Tue, 6 Jun 2017 04:02:47 -0700 (PDT)
Received: from o9.sgmail.github.com (o9.sgmail.github.com [167.89.101.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2A49F129B70 for <quic-issues@ietf.org>; Tue, 6 Jun 2017 04:02:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; 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=b7rnDmuKY5fnSbU0oLdxQwozeF0=; b=Z6aoHo7BZjTrAebw HVIQd5gH4sVVgbKnnP1n7QmlOFYN3yotnUu4JHxZu+5123TsRqqI66/vwM8OEx7k BYrEMXur8K/6W1/yrwr2H7uKI1QAJd33EssT8uuNW8rIPTY1O7S/qo+f98tyUy+i uOjY9yGhv+RoUIdlEzc5DWw/cSc=
Received: by filter1160p1mdw1.sendgrid.net with SMTP id filter1160p1mdw1-19528-59368BCE-42 2017-06-06 11:02:38.652182618 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id D1UCtukGRcOV8cY6Cqggug for <quic-issues@ietf.org>; Tue, 06 Jun 2017 11:02:38.933 +0000 (UTC)
Date: Tue, 06 Jun 2017 04:02:38 -0700
From: MikkelFJ <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab3e3f11bdeb7783fc0dc5b9144bea895a9a5f144092cf00000001154e4dce92a169ce0dec328b@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/574/review/42276074@github.com>
In-Reply-To: <quicwg/base-drafts/pull/574@github.com>
References: <quicwg/base-drafts/pull/574@github.com>
Subject: Re: [quicwg/base-drafts] Make reset simpler and invisible (#574)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_59368bcecd9fb_22d23f7e426e3c3c55194"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: mikkelfj
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3C1z44bHSURTjrfXDUB6XgNO0wZ8PUYya9w4 +3QEPd3bsiGH2Gsv+gxf833PPpfoexpphbyYjvVOHp8njGugmyvrtE7Q8McV2TYkDZxzXd1lLm0UNK Wg/waIr0ZCHJsWgDZu5prt6vrvsKov2O5gA73GAQuHNnzPg3z2S0OCJI05D2c7UYU9H9GXEAjfk4Cu Y=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/Syse-jom2BYZYFI2bjCqCWXsqig>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.22
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, 06 Jun 2017 11:02:49 -0000
mikkelfj commented on this pull request.
> +In order to create a Stateless Reset Token, a server could randomly generate
+{{!RFC4086}} a secret for every connection that it creates. However, this
+presents a coordination problem when there are multiple servers in a cluster or
+a storage problem for a server that might lose state. Stateless reset
+specifically exists to handle the case where state is lost, so this approach is
+suboptimal.
+
+A single static key can be used across all connections to the same endpoint by
+generating the proof using a second iteration of a preimage-resistant function
+that takes three inputs: the static key, a the connection ID for the connection
+(see {{connection-id}}), and an identifier for the server instance. A server
+could use HMAC {{?RFC2104}} (for example, HMAC(static_key, server_id ||
+connection_id)) or HKDF {{?RFC5869}} (for example, using the static key as input
+keying material, with server and connection identifiers as salt). The output of
+this function is truncated to 16 octets to produce the Stateless Reset Token
+for that connection.
A server could not use a connection id because the connection id might have changed, and even if didn't change, it might be available in a short header. It also would not be able to use IP and port tuple because it also might have changed.
--
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/574#pullrequestreview-42276074
- [quicwg/base-drafts] Make reset simpler and invis… Martin Thomson
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… Martin Thomson
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… Mike Bishop
- Re: [quicwg/base-drafts] Make reset simpler and i… Martin Thomson
- Re: [quicwg/base-drafts] Make reset simpler and i… Martin Thomson
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… Martin Thomson
- Re: [quicwg/base-drafts] Make reset simpler and i… Martin Thomson
- Re: [quicwg/base-drafts] Make reset simpler and i… Martin Thomson
- Re: [quicwg/base-drafts] Make reset simpler and i… ekr
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… Martin Thomson
- Re: [quicwg/base-drafts] Make reset simpler and i… Martin Thomson
- Re: [quicwg/base-drafts] Make reset simpler and i… Martin Thomson
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… ekr
- Re: [quicwg/base-drafts] Make reset simpler and i… ekr
- Re: [quicwg/base-drafts] Make reset simpler and i… Martin Thomson
- Re: [quicwg/base-drafts] Make reset simpler and i… Martin Thomson
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… ekr
- Re: [quicwg/base-drafts] Make reset simpler and i… Martin Thomson
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… Martin Thomson
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… janaiyengar
- Re: [quicwg/base-drafts] Make reset simpler and i… Martin Thomson
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… MikkelFJ
- Re: [quicwg/base-drafts] Make reset simpler and i… ianswett
- Re: [quicwg/base-drafts] Make reset simpler and i… Martin Thomson
- Re: [quicwg/base-drafts] Make reset simpler and i… Ryan Hamilton
- Re: [quicwg/base-drafts] Make reset simpler and i… Martin Thomson
- Re: [quicwg/base-drafts] Make reset simpler and i… ianswett
- Re: [quicwg/base-drafts] Make reset simpler and i… Martin Thomson