Re: [TLS] invariant or not: one TLS connection per TCP connection?

Nico Williams <nico@cryptonector.com> Wed, 08 July 2020 15:08 UTC

Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DDE7F3A0D75 for <tls@ietfa.amsl.com>; Wed, 8 Jul 2020 08:08:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, 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=cryptonector.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 vRwq26byTuAz for <tls@ietfa.amsl.com>; Wed, 8 Jul 2020 08:08:08 -0700 (PDT)
Received: from cat.oak.relay.mailchannels.net (cat.oak.relay.mailchannels.net [23.83.215.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A97963A0D77 for <tls@ietf.org>; Wed, 8 Jul 2020 08:08:05 -0700 (PDT)
X-Sender-Id: dreamhost|x-authsender|nico@cryptonector.com
Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 8F8A4540365; Wed, 8 Jul 2020 15:08:03 +0000 (UTC)
Received: from pdx1-sub0-mail-a38.g.dreamhost.com (100-96-9-37.trex.outbound.svc.cluster.local [100.96.9.37]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 75C66541392; Wed, 8 Jul 2020 15:08:02 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|nico@cryptonector.com
Received: from pdx1-sub0-mail-a38.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.8); Wed, 08 Jul 2020 15:08:03 +0000
X-MailChannels-SenderId: dreamhost|x-authsender|nico@cryptonector.com
X-MailChannels-Auth-Id: dreamhost
X-Arch-Callous: 69237eb240f5ae49_1594220883339_4260049303
X-MC-Loop-Signature: 1594220883339:202351607
X-MC-Ingress-Time: 1594220883339
Received: from pdx1-sub0-mail-a38.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a38.g.dreamhost.com (Postfix) with ESMTP id 917F6B4157; Wed, 8 Jul 2020 08:08:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=4Lw5B368TSQmPb FpeLnBYoRPXgU=; b=EaRcawUyrVYNBzx1ZJoQZeKl1wD1P4eWIEyhwKmmReuFBN F75jt92YqJ9zNZKXjPeeOmj0rPmydJvETKaF5fR2T3t651H6X+D3b/NaCmChRGr6 T0gxtO0bRvw9WZdEiAlOt/VRVwysrLcTAeEOQVcnYX4D//Ybf6wmhy6VYq+YA=
Received: from localhost (unknown [24.28.108.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by pdx1-sub0-mail-a38.g.dreamhost.com (Postfix) with ESMTPSA id BF88BB4156; Wed, 8 Jul 2020 08:07:58 -0700 (PDT)
Date: Wed, 8 Jul 2020 10:07:53 -0500
X-DH-BACKEND: pdx1-sub0-mail-a38
From: Nico Williams <nico@cryptonector.com>
To: Benjamin Kaduk <bkaduk=40akamai.com@dmarc.ietf.org>
Cc: tls@ietf.org
Message-ID: <20200708150752.GL3100@localhost>
References: <20200708042223.GB20623@akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200708042223.GB20623@akamai.com>
User-Agent: Mutt/1.9.4 (2018-02-28)
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: 0
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduiedrudejgdekhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjfgesthdtredttdervdenucfhrhhomheppfhitghoucghihhllhhirghmshcuoehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhmqeenucggtffrrghtthgvrhhnpefftdektefhueetveeigfefgeejteejvdfhhefgvddtfeeujeehleeguefhgffhgfenucfkphepvdegrddvkedruddtkedrudekfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehlohgtrghlhhhoshhtpdhinhgvthepvdegrddvkedruddtkedrudekfedprhgvthhurhhnqdhprghthheppfhitghoucghihhllhhirghmshcuoehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhmqedpmhgrihhlfhhrohhmpehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhmpdhnrhgtphhtthhopehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhm
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/BaLlG3zUhWOP6dO2nT2-pvmL5ys>
Subject: Re: [TLS] invariant or not: one TLS connection per TCP connection?
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Jul 2020 15:08:10 -0000

On Tue, Jul 07, 2020 at 09:22:24PM -0700, Benjamin Kaduk wrote:
> There's an interesting note in draft-ietf-nfsv4-rpc-tls-08 (currently
> in IESG Evaluation):
> 
>    The protocol convention specified in the current document assumes
>    there can be no more than one concurrent TLS session per TCP
>    connection.  This is true of current generations of TLS, but might be
>    different in a future version of TLS.
> 
> Can we envision wanting to do such a thing (e.g., with connection IDs for
> non-D TLS)?  If not, I can give them guidance that this type of statement
> is not needed.

I can see an application that starts TLS in a TCP connection, ends TLS
without also ending the TCP connection, then starts TLS again.  But
multiple concurrent TLS connections in one TCP connection?  I don't see
that happening.  Maybe with DTLS, but they are using TLS.  I would just
remove the above paragraph.

Nico
--