Re: [quicwg/base-drafts] Invert connection ID (#493)

MikkelFJ <notifications@github.com> Fri, 05 May 2017 14:27 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 F014A12940D for <quic-issues@ietfa.amsl.com>; Fri, 5 May 2017 07:27:04 -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 Zfa73E9-crtu for <quic-issues@ietfa.amsl.com>; Fri, 5 May 2017 07:27:03 -0700 (PDT)
Received: from o6.sgmail.github.com (o6.sgmail.github.com [192.254.113.101]) (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 87CD0128B4E for <quic-issues@ietf.org>; Fri, 5 May 2017 07:27:01 -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=xEMLt+d0NxnO13g1iQxuJchs5EM=; b=rB8hXue5yllmO3Fg GDjawUbwyeEofbHgX8zTa++AUlACfa4mPd774fsJ6iMMTFdXdJwUopgikwVRhwAy BMYUwBJF+tn2HWT35yySAZ/9S4sGMFeAQgHcrqpBdcLvWoUsmHP+50Mr8TjGdXxr YQzzxKL3JT4CILlIe+yO2DaoAtM=
Received: by filter0556p1mdw1.sendgrid.net with SMTP id filter0556p1mdw1-5859-590C8BAB-22 2017-05-05 14:26:51.224016591 +0000 UTC
Received: from github-smtp2b-ext-cp1-prd.iad.github.net (github-smtp2b-ext-cp1-prd.iad.github.net [192.30.253.17]) by ismtpd0003p1iad1.sendgrid.net (SG) with ESMTP id y5moD6NoSGWOOcK7_2BhlA for <quic-issues@ietf.org>; Fri, 05 May 2017 14:26:51.232 +0000 (UTC)
Date: Fri, 05 May 2017 07:26:51 -0700
From: MikkelFJ <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab4520864a9f0aac542088dda47c2f5a91949112da92cf0000000115244dab92a169ce0d77a4bd@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/493/c299479343@github.com>
In-Reply-To: <quicwg/base-drafts/pull/493@github.com>
References: <quicwg/base-drafts/pull/493@github.com>
Subject: Re: [quicwg/base-drafts] Invert connection ID (#493)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_590c8bab1fafb_35f33facf3fd7c3c35336"; 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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak0P0hHmNLLbL4s2RjR9gQVD9u5aFRzTifJFu+ QcA1no3DRZu7ZFPEy7E7QCIInH07HqDmFaQfE7xpM5DjFGKr7D0Om8Qqy8wDpyNkZVsLqQYCYjA63r n/xemw1DlSmwQ8V0IQrEV14/Wkq+KR6uDA1gO/jzalCv4Y47NKJYO/+dS1XSLOoPtmoajP+Y5xYM7L c=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/RIGcIGXPNFG_Omxc-jrl6x_ZN7s>
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: Fri, 05 May 2017 14:27:05 -0000

I must admit that I am not aware of all the details influencing how the connection id is being used, but I had this idea:

What if each endpoint is allowed to choose their own connection id and stick it? This would mean that packets send from client to server would use one ID, and packets sent from server to client would use another ID. This will impact middle boxes, but not necessarily in a bad way.

Although this is not the original intent for the connection ID such a design would make it possible to remove IP and UDP headers on custom networks, such as IoT mesh networks. Here the connection ID would be the routable address. That would not work without a notion of direction with the shared connection ID.

Wrt. rotating connection ID, it could be required that an endpoint does not start using a new ID before a frame has been ack'ed in which the transtion from old to new ID has been communicated - with special handling for initial setup where server echoes inital client ID in early packets. If this ACK is not used, an end-point may have to cache data until it can make an association from old to new data and this could be abused.

-- 
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/493#issuecomment-299479343