[quicwg/base-drafts] Contradictory language regarding multiplexing connections with zero-length IDs (#3254)

Benjamin Saunders <notifications@github.com> Sun, 17 November 2019 23:36 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 7EFC41201EF for <quic-issues@ietfa.amsl.com>; Sun, 17 Nov 2019 15:36:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.998
X-Spam-Level:
X-Spam-Status: No, score=-7.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 dK9yI3nMG39x for <quic-issues@ietfa.amsl.com>; Sun, 17 Nov 2019 15:36:26 -0800 (PST)
Received: from out-18.smtp.github.com (out-18.smtp.github.com [192.30.252.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2134F120144 for <quic-issues@ietf.org>; Sun, 17 Nov 2019 15:36:26 -0800 (PST)
Received: from github-lowworker-cd7bc13.ac4-iad.github.net (github-lowworker-cd7bc13.ac4-iad.github.net [10.52.25.102]) by smtp.github.com (Postfix) with ESMTP id 347436E06CB for <quic-issues@ietf.org>; Sun, 17 Nov 2019 15:36:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1574033785; bh=0eyLxlyVB4xu24Opv+gDleBlEfQYyj16wOk3CyYMlGI=; h=Date:From:Reply-To:To:Cc:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=x9qr+WR5OXIWTWOA99Akvtc6ylVtaYvvf2bIg4pUQKMs+30I9VCQPXSoZ5AwpwsSn HVfhlAu03NF6mF1ACn+VfQgbGqntBs+1Rb4Jd1Fa30mBFovE3i4z5WcAVdA48BEenP 1U/7e/4fcUfD3187A3OZHym+48afP9O3oI1AuLTk=
Date: Sun, 17 Nov 2019 15:36:25 -0800
From: Benjamin Saunders <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJK5C527CK5UWHAVIHEN334F7TEVBNHHB6PFDUI@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/3254@github.com>
Subject: [quicwg/base-drafts] Contradictory language regarding multiplexing connections with zero-length IDs (#3254)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5dd1d97922167_4b5a3fa8ec6cd96c8000b6"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: Ralith
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/yOxJSDI_XoDkNitvgLgoqTM-D08>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
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: Sun, 17 Nov 2019 23:36:27 -0000

[§5.1](https://quicwg.org/base-drafts/draft-ietf-quic-transport.html#connection-id):

> A zero-length connection ID can be used when a connection ID is not needed to route to the correct endpoint. However, multiplexing connections on the same local IP address and port while using zero-length connection IDs will cause failures in the presence of peer connection migration, NAT rebinding, and client port reuse; and therefore MUST NOT be done unless an endpoint is certain that those protocol features are not in use.

[§5.2](https://quicwg.org/base-drafts/draft-ietf-quic-transport.html#packet-handling)

> If the Destination Connection ID is zero length and the packet matches the **local** address and port of a connection where the host used zero-length connection IDs, QUIC processes the packet as part of that connection.

> Packets with a supported version, or no version field, are matched to a connection using the connection ID or - for packets with zero-length connection IDs - the local address and port.

If only the local address is used, the described multiplexing is impossible. Multiplexing zero-length connection IDs is useful for reducing overhead when remote clients are known to not use the described features, so I think this language should be updated to refer to the 4-tuple rather than only the local connection.

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