Re: [quicwg/base-drafts] Multiple connections on the same port (#714)
Nick Banks <notifications@github.com> Tue, 14 November 2017 15: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 CC56B124D37 for <quic-issues@ietfa.amsl.com>; Tue, 14 Nov 2017 07:27:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.02
X-Spam-Level:
X-Spam-Status: No, score=-2.02 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_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 Jfk7XrTRKXxk for <quic-issues@ietfa.amsl.com>; Tue, 14 Nov 2017 07:27:02 -0800 (PST)
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 9198B128AA1 for <quic-issues@ietf.org>; Tue, 14 Nov 2017 07:27:01 -0800 (PST)
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=H1nyhqUKK0bHhFewPZ3Xmid0qAM=; b=ITnv20dL5tlvcgbM ONq6W+KrcdtWVuK5l30ZF/8tq+mFoU6/K8EVhBDdyu4shM/ib4NgAa/SwWCScL9g vIQm+lgFNrAAS/0jWorZAkfbLfpIvLoWS7J71ns5IK1Y5x1sgkc4d0MO5W3GyC9G o1eMAqDErmSoeXreur7cCLrLazc=
Received: by filter0312p1las1.sendgrid.net with SMTP id filter0312p1las1-14954-5A0B0B44-1A 2017-11-14 15:27:00.470782711 +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 ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id rW4ZMbgqQNKM3Mxb7AwqdA for <quic-issues@ietf.org>; Tue, 14 Nov 2017 15:27:00.286 +0000 (UTC)
Date: Tue, 14 Nov 2017 15:27:00 +0000
From: Nick Banks <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abe2f43711bceeb46f92ac8e9cf80cbd62ad36194c92cf000000011622cd4492a169ce0ed5746a@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/714/344294183@github.com>
In-Reply-To: <quicwg/base-drafts/issues/714@github.com>
References: <quicwg/base-drafts/issues/714@github.com>
Subject: Re: [quicwg/base-drafts] Multiple connections on the same port (#714)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5a0b0b4431b11_54cd3fbf4c686f283791ee"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: nibanks
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
tracking:
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak0egneMejIEhkd7fo4CHX7CLGyMmx6/X1Eh5k d8n/lJWIAlGiDC1aMQTPQEEB+7+xxy7QjEqmKgXZk882ckj0oprB2C1YfPwuQkQg5y7qVUxmP0eze6 GcPJANGzWaM7MGLt3Bbrh8PTt47GxJ8xLwN+YbiTJW4NMZRMSyfYNao4+VsEFKeaDZwjlUdsdcpb1u 0=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/RYcXYprn9I_LIgg9-TzYBl4876s>
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 Nov 2017 15:27:04 -0000
Another possible solution: Take 1 bit from each header's Type field and designate it the Client Connection ID flag (shown as `I` here). When set, it indicates the presence of the Client Connection ID field in the header. ``` 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+ |1|I| Type (6) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | + Connection ID (64) + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Packet Number (32) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Version (32) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | + [Client Connection ID (64)] + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Payload (*) ... +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ``` ``` 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+ |0|C|I|K|Type(4)| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | + [Connection ID (64)] + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | + [Client Connection ID (64)] + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Packet Number (8/16/32) ... +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Protected Payload (*) ... +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ``` Then, a server that changes the Connection ID is required include the Client Connection ID in all packets (long and short) it sends until it receives a packet from the client that uses the new Connection ID. Also, I am not positive, but I believe these new flags and fields would have constant across versions. If a client doesn't intent to share the port locally, then they should include the `omit_connection_id` transport parameter When set the server isn't required to send the Client Connection ID. -- 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/714#issuecomment-344294183
- [quicwg/base-drafts] Multiple connections on the … Mike Bishop
- Re: [quicwg/base-drafts] Multiple connections on … janaiyengar
- Re: [quicwg/base-drafts] Multiple connections on … Igor Lubashev
- Re: [quicwg/base-drafts] Multiple connections on … Igor Lubashev
- Re: [quicwg/base-drafts] Multiple connections on … Mike Bishop
- Re: [quicwg/base-drafts] Multiple connections on … janaiyengar
- Re: [quicwg/base-drafts] Multiple connections on … Igor Lubashev
- Re: [quicwg/base-drafts] Multiple connections on … janaiyengar
- Re: [quicwg/base-drafts] Multiple connections on … Igor Lubashev
- Re: [quicwg/base-drafts] Multiple connections on … janaiyengar
- Re: [quicwg/base-drafts] Multiple connections on … MikkelFJ
- Re: [quicwg/base-drafts] Multiple connections on … Martin Thomson
- Re: [quicwg/base-drafts] Multiple connections on … MikkelFJ
- Re: [quicwg/base-drafts] Multiple connections on … Martin Thomson
- Re: [quicwg/base-drafts] Multiple connections on … MikkelFJ
- Re: [quicwg/base-drafts] Multiple connections on … Nick Banks
- Re: [quicwg/base-drafts] Multiple connections on … MikkelFJ
- Re: [quicwg/base-drafts] Multiple connections on … Nick Banks
- Re: [quicwg/base-drafts] Multiple connections on … MikkelFJ
- Re: [quicwg/base-drafts] Multiple connections on … Nick Banks
- Re: [quicwg/base-drafts] Multiple connections on … MikkelFJ
- Re: [quicwg/base-drafts] Multiple connections on … Nick Banks
- Re: [quicwg/base-drafts] Multiple connections on … MikkelFJ
- Re: [quicwg/base-drafts] Multiple connections on … Nick Banks
- Re: [quicwg/base-drafts] Multiple connections on … MikkelFJ
- Re: [quicwg/base-drafts] Multiple connections on … Nick Banks
- Re: [quicwg/base-drafts] Multiple connections on … MikkelFJ
- Re: [quicwg/base-drafts] Multiple connections on … ianswett
- Re: [quicwg/base-drafts] Multiple connections on … Nick Banks
- Re: [quicwg/base-drafts] Multiple connections on … MikkelFJ
- Re: [quicwg/base-drafts] Multiple connections on … ianswett
- Re: [quicwg/base-drafts] Multiple connections on … MikkelFJ
- Re: [quicwg/base-drafts] Multiple connections on … martinduke
- Re: [quicwg/base-drafts] Multiple connections on … Martin Thomson
- Re: [quicwg/base-drafts] Multiple connections on … Martin Thomson
- Re: [quicwg/base-drafts] Multiple connections on … MikkelFJ