[quicwg/base-drafts] Greasing for Unidirectional Stream Types (#1490)

Mike Bishop <notifications@github.com> Wed, 27 June 2018 17:04 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 883D7130DD9 for <quic-issues@ietfa.amsl.com>; Wed, 27 Jun 2018 10:04:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.01
X-Spam-Level:
X-Spam-Status: No, score=-3.01 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, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] 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 whvsvxez1XMV for <quic-issues@ietfa.amsl.com>; Wed, 27 Jun 2018 10:03:57 -0700 (PDT)
Received: from o7.sgmail.github.com (o7.sgmail.github.com [167.89.101.198]) (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 2CE7C124D68 for <quic-issues@ietf.org>; Wed, 27 Jun 2018 10:03:57 -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=XsxXIHGrq9gAyBxJcWIwQX7Yono=; b=Kf6g7IIdY2gKUXm/ bAfNqwiqYkb+NXKAI5oLWhy1TJeNNFgsL6eOGU2TCWRYiQJwffi62TvhcgTizt7/ SYuu/NE4j3XY+JoYaemnN3iKsC71xdFD0+mcnEck2CvhfMIQzm56BJNLVoNoTbpE 6xAVYOwNqCjaX8aqqg1xoss90M0=
Received: by filter0177p1iad2.sendgrid.net with SMTP id filter0177p1iad2-15216-5B33C37B-19 2018-06-27 17:03:55.65646037 +0000 UTC
Received: from github-lowworker10-cp1-prd.iad.github.net (unknown [192.30.252.38]) by ismtpd0033p1mdw1.sendgrid.net (SG) with ESMTP id FwbnemCyQKm0FIHSnw0VgA for <quic-issues@ietf.org>; Wed, 27 Jun 2018 17:03:55.347 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker10-cp1-prd.iad.github.net (Postfix) with ESMTP id DF62F41011 for <quic-issues@ietf.org>; Wed, 27 Jun 2018 10:03:54 -0700 (PDT)
Date: Wed, 27 Jun 2018 17:03:55 +0000
From: Mike Bishop <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab4a844ad512aaa27f387e7785d23330ecd2178fee92cf00000001174b857a92a169ce140bbcee@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/1490@github.com>
Subject: [quicwg/base-drafts] Greasing for Unidirectional Stream Types (#1490)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5b33c37ade1be_e023ff7299b4f784331fe"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: MikeBishop
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak0s5ktijkFZRXE35qsjNXHnycCSD/pul03DPX ZvIK1hRGXUE2Bncjp4CdYXZ5kGnV/jjn67er3q5dUGBP7VzG3Rn48UdQvyE7O8stAhLCca5j99hdh/ wWWYFHnlUaOdQW+nlP/tPwzddLpxApY2Kiyx0TAK9Yc9RzQc+nvFNlI9oEx0CeEPdXBH/7slCiXqZc 8=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/loKFYU8EOCwPYn0cezSnls_y7ak>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.26
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: Wed, 27 Jun 2018 17:04:01 -0000

#1446 added greasing values for various elements in HTTP/QUIC (settings, frame types, etc.) where the peer is required to ignore unknown values.  #1359 added unidirectional stream types, and there was a suggestion from @LPardue to grease those as well.

However, given that an unknown stream type is defined to be an error (and implementations are cautioned that peers can promote these errors to connection errors), sending grease values and mandating that receivers not treat them any differently will be a bit fragile.

Options I see:
- Prohibit unknown unidirectional streams from being treated as an error at all; ignore them.  Unfortunate for wasted data transfer; you really want a STOP_SENDING here.  This is also an attack vector.  And if you expect some valid unidirectional streams, you can't just clamp down on the number of allowed unidirectional streams using MAX_STREAM_ID.
- Prohibit unknown unidirectional streams from being treated as a connection error.  This seems an unfortunate exception case, especially since it opens the same attack vector as the previous.
- Special-case the grease types on the receiver, which rather defeats the purpose of having grease at all.
- Don't grease these.

Unless someone has a bright idea, I'm currently inclined toward the last option.

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