Re: [quicwg/base-drafts] Coalescing different CIDs for same connection (#3800)

hardie <notifications@github.com> Tue, 14 July 2020 21:35 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 1270C3A0420 for <quic-issues@ietfa.amsl.com>; Tue, 14 Jul 2020 14:35:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.101
X-Spam-Level:
X-Spam-Status: No, score=-3.101 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, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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 wGinfr6KDF3q for <quic-issues@ietfa.amsl.com>; Tue, 14 Jul 2020 14:35:52 -0700 (PDT)
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 78AC73A0303 for <quic-issues@ietf.org>; Tue, 14 Jul 2020 14:35:52 -0700 (PDT)
Received: from github-lowworker-e8b54ca.ac4-iad.github.net (github-lowworker-e8b54ca.ac4-iad.github.net [10.52.23.39]) by smtp.github.com (Postfix) with ESMTP id 965FC6E0929 for <quic-issues@ietf.org>; Tue, 14 Jul 2020 14:35:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1594762551; bh=lOPDmZ5N8FzSAJPzTZTt9j0Ta+a2FcRVgeg+ncAgx5c=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=I96t301vwChEBdYvyBMn9LrtVDlct3ThFsRIOOyWsq26AZCh1JPF6/GYA0tWYgwJh 1Bb0WoiGHqVfK066FZsRx4A/qWW/KbrHLxA3hVQQH4tcNgw/zTbdw2R5f1+FG5Hijm u9CEontmRWqbsbaI4uDaEKLBl9xftHd5OysvdTLI=
Date: Tue, 14 Jul 2020 14:35:51 -0700
From: hardie <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJK77ZCXCXFQH33DA5EV5DIDDPEVBNHHCNJ65QE@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/3800/658425864@github.com>
In-Reply-To: <quicwg/base-drafts/issues/3800@github.com>
References: <quicwg/base-drafts/issues/3800@github.com>
Subject: Re: [quicwg/base-drafts] Coalescing different CIDs for same connection (#3800)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5f0e253785a33_54893fa4b2ccd96821503c"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: hardie
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/zt_4woWi5Psug7NHJo8PtNUtcfI>
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: Tue, 14 Jul 2020 21:35:54 -0000

Hi Mike,

On Tue, Jul 14, 2020 at 2:01 PM Mike Bishop <notifications@github.com>
wrote:

> Can you say more about why you don't see this as an issue? Is it because
> this use case is most likely during the handshake? Or is there some other
> linkability already present that makes this less of an issue? regards, Ted
>
> Both, actually. This occurs during the handshake, when addresses are
> required to be stable. Unless you're running a large number of parallel
> connections, all CIDs used on that 4-tuple during the handshake belong to
> the same connection with very high probability.
>
I think "high probability" is probably app-dependent, because there may be
cases where there are significant numbers of parallel connections.  In the
case of proxied queries, for example, the use of the same 4-tuple but a
different CID could turn out to be common, because the proxy may prefer to
keep traffic from its different clients separate even if they could be
served by the same upstream server.

A DNS example:  if you have an DNS resolver talking to an upstream proxy or
a common authoritative server, that resolver may want to set a different
Client Subnet for different query streams, so that input can be used to
determine the preferred reply.*

> You can break that linkage by deliberately changing CID and port at the
> same time, but you can't do that until the handshake is confirmed. If you
> want the linkage broken, you need to do that jump post-handshake anyway.
>
In the presence of a NAT or CGNAT, there could be interesting interaction
with the dwell timers in the state table of the middlebox.  If you change
it too late, the middlebox may recycle the most recently freed port, which
could result in you getting the same 4-tuple to an observer on that part of
the path.

Speaking strictly as an individual, I think using a single CID per
coalesced packet as Christian prefers is cleaner and leaves open app
behaviors we may not have yet identified.

regards

Ted

*I'm not a big fan of Client Subnet, and these particular parallel
connections may or may not pose a risk; it's just a proxy situation where
the parallelism might occur.



> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/quicwg/base-drafts/issues/3800#issuecomment-658411474>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAKVXZBEI4ITAAKO3YE2ARTR3TBUFANCNFSM4OMZFPYA>
> .
>


-- 
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/3800#issuecomment-658425864