[quicwg/base-drafts] Transport parameter that limits 0-RTT data (#405)

Martin Thomson <notifications@github.com> Tue, 14 March 2017 23:16 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 D98CA13162E for <quic-issues@ietfa.amsl.com>; Tue, 14 Mar 2017 16:16:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.896
X-Spam-Level:
X-Spam-Status: No, score=-2.896 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-2.796, 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 oV97W6ctkWj1 for <quic-issues@ietfa.amsl.com>; Tue, 14 Mar 2017 16:16:46 -0700 (PDT)
Received: from o3.sgmail.github.com (o3.sgmail.github.com [192.254.112.98]) (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 5C11513162F for <quic-issues@ietf.org>; Tue, 14 Mar 2017 16:16:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=ABBJib0HL5ka+bPy3+qGAiwwzlY=; b=VAO5g4Ys8rgTyIl2 DUtz/FcpcCeZ2xQzN2Lqvds2gnxIxgyTUHRfTRXfb/CI4iwRT0YKwsrucqHikXBh wfSVuWY7gR2GNxg68gmJW8YyKWL1+iCNCpXHtNEuKxqplWNk4mwvw06ZNWuEZCai CZracf6YZajKuaDbkFaqkYiIGRk=
Received: by filter0840p1mdw1.sendgrid.net with SMTP id filter0840p1mdw1-16565-58C879D9-1A 2017-03-14 23:16:41.510175092 +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 ismtpd0005p1iad1.sendgrid.net (SG) with ESMTP id jDra02QwQu2va1Fm15Hmyg for <quic-issues@ietf.org>; Tue, 14 Mar 2017 23:16:41.474 +0000 (UTC)
Date: Tue, 14 Mar 2017 16:16:41 -0700
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab8bec134968d1ccf7e7929379d8dae84ed06e4d7f92cf0000000114e03bd992a169ce0cc4f7b9@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/405@github.com>
Subject: [quicwg/base-drafts] Transport parameter that limits 0-RTT data (#405)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_58c879d95d281_4be93fe843e29c38185811"; 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
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3amZKoYqc3cKflbovYJ6gWtIcwD6ByA5n0WW g8KP8ps9mlbibWZkUKnyxZ0MIQ3fOllqvtAGNxBWh3grNFIcSEZZvzYj/OibtM/mJatb0QiB4kduTv TGCJpCXS0F1BklbigQ6vAewz9fvBP3i5LpR2axCBX+iRn7q0bifH51FPVh4f4jBta6Dyb7TykIlU29 M=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/yLOhtXQHbaFO9F8FvQnc6brylWA>
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, 14 Mar 2017 23:16:58 -0000

TLS has an extension on the NewSessionTicket that limits the amount of early data.  This limits the number of plaintext octets (not including padding) that can be send in early data.  This allows a server to constrain how much clients send in 0-RTT.

We could reuse and repurpose that extension for QUIC, but we would have to do so explicitly.  Currently, we do not.  Or, we could define a new transport parameter that explicitly limits the size of incoming 0-RTT data.

We could define this count in a number of ways:
1. Count the number of octets in each packet before packet protection is applied.
2. As 1, except after packet protection is applied.
3. Count everything except padding.
4. Count only STREAM payloads (i.e., use the same accounting as flow control).

I have a slight preference for option 4 for reasons what will become obvious in a parallel discussion (see #390).

-- 
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/405