Re: [quicwg/base-drafts] Make reset simpler and invisible (#574)

MikkelFJ <notifications@github.com> Tue, 06 June 2017 11:42 UTC

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 E38F71250B8 for <quic-issues@ietfa.amsl.com>; Tue, 6 Jun 2017 04:42:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.8
X-Spam-Level:
X-Spam-Status: No, score=-9.8 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_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-2.8, 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 whbaFZuuZoPD for <quic-issues@ietfa.amsl.com>; Tue, 6 Jun 2017 04:42:14 -0700 (PDT)
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2-ext4.iad.github.net [192.30.252.195]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 174C8129B91 for <quic-issues@ietf.org>; Tue, 6 Jun 2017 04:42:13 -0700 (PDT)
Date: Tue, 06 Jun 2017 04:42:12 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1496749332; bh=9Vj+r3AUG2f5VDINe091GyFSkRcsnBCjXFwzDuqWn2c=; h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=r/QCPUseR7tzHckxZFeLzyPfq+tHtm6+RYY9O3ZxaonX4i0WlAeaAGEa/do6R0sH3 1D7ZDpQIn94RkHOEOgsSdR5XJ0E0+UF5zuqrpUKvGyXwLt48PXxH/n3yinJA2aHA2r ltZ1YGqGOBoUWwPx/Dhyl3atmSpaSzJhr9byhqBw=
From: MikkelFJ <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abaae85041d54f7156eafafa1438bffde2772308c392cf00000001154e571492a169ce0dec328b@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/c306461016@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_593695146d6dd_4063fde4b4f1c30105696"; 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
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/zqaxAxAKjzw8-Ai5i0-jBzW4SUs>
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:42:16 -0000

If I understand the text correctly, and I am not sure that I do, I don't think this approach is workable due to path migration and Connection ID migration and due to the fact that connection ids are generally expected to be present in short headers, and due to the lack of symmetry. All issues mentioned in above comments.

The server essentially has no way to identify the original of the connection without requesting additional information.

A symmetric reset that allows both end points to reset the connection would require some sort of challenge where the server says - whoever this connection is from it makes no sense - please send credentials to allow me to terminate this connection. The same would be true for the client.

This can probably be based on x25519 public key exchange, but it requires some carefull consideration.

I think a simpler is to have the peer tear down the connection if the server does not reply to ping request where the ping is specified to require an immediate pong frame unless one has been sent recently. If the a peer receives garbage with a valid header it should consider issuing a ping request unless it has done so recently.

-- 
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#issuecomment-306461016