Re: [TLS] The case for a single stream of data
Ilari Liusvaara <ilariliusvaara@welho.com> Tue, 09 May 2017 04:45 UTC
Return-Path: <ilariliusvaara@welho.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 280CB127136 for <tls@ietfa.amsl.com>; Mon, 8 May 2017 21:45:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.501
X-Spam-Level:
X-Spam-Status: No, score=-0.501 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 l0dD8Dc58koX for <tls@ietfa.amsl.com>; Mon, 8 May 2017 21:45:18 -0700 (PDT)
Received: from welho-filter3.welho.com (welho-filter3.welho.com [83.102.41.25]) by ietfa.amsl.com (Postfix) with ESMTP id 3777A1205D3 for <tls@ietf.org>; Mon, 8 May 2017 21:45:18 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id 9FC72215BB; Tue, 9 May 2017 07:45:16 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id UEJMIe_MlL4W; Tue, 9 May 2017 07:45:16 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id 650FF2313; Tue, 9 May 2017 07:45:16 +0300 (EEST)
Date: Tue, 09 May 2017 07:45:15 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Cc: Colm MacCárthaigh <colm@allcosts.net>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170509044515.GB8239@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <20170506095834.GA4355@LK-Perkele-V2.elisa-laajakaista.fi> <8487b6ec-70e9-ef91-1aa8-5d9f9554499e@akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <8487b6ec-70e9-ef91-1aa8-5d9f9554499e@akamai.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/sNRfs9F3_kv7cskcsv72bxZQb9E>
Subject: Re: [TLS] The case for a single stream of data
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 09 May 2017 04:45:20 -0000
On Mon, May 08, 2017 at 09:33:27PM -0500, Benjamin Kaduk wrote: > On 05/06/2017 04:58 AM, Ilari Liusvaara wrote: > > On Fri, May 05, 2017 at 09:28:07AM -0700, Colm MacCárthaigh wrote: > >> I wanted to start a separate thread on this, just to make some small > >> aspects of replay mitigating clear, because I'd like to make a case for TLS > >> providing a single-stream, which is what people seem to be doing anyway. > > <Snip a long mail> > > > > Couple points: > > > > - It is not just low-power devices with really bad clocks. I have seen > > 20s per day(!) clock drift on high-power device that doesn't sleep. > > Is there a problem with saying that devices with bad clocks talking to > beefy web servers don't get to do 0-RTT? I don't see a problem with it. Also, any device that has access to semi-accurate time (relative time in protocols has other benefits, like not having increase magnitude with time) could do first-order compensation, which already renders the clocks pretty accurate, even if time comparision occurs relatively rarely. > > - That automatic wait on 0-RTT failure seems just the kind of feature > > that gets disabled. Furthermore, 10 second idle on connection is > > going to trigger quite a bit of connection timeouts. > > I could believe that people would accept buffering data until the 1-RTT > handshake finishes (combined with rate limiting on the number of > connections with accepted 0-RTT data); I don't think people would accept > "wait the full clock skew allowance", though. Did I misread the thread-starter proposal for waiting the allowance? I think the early data provisioning already has 0-RTT buffer size, for the case the server buffers the 0-RTT data (this buffering obviously destroys the utility, but if it doesn't occur on every connection...) > > - There seems to be no consideration how this interacts with 0-RTT > > exporters (probably applications that accept 0-RTT will then use > > 0-RTT exporters for the entiere connection, and those exporters have > > seriously weaker properties). > > > > Yeah, the 0-RTT exporter feels like a footgun waiting to be used. Unfortunately, looks like some are planning to use it, in ways seriously broken unless the server does full replay-caching. -Ilari
- [TLS] The case for a single stream of data Colm MacCárthaigh
- Re: [TLS] The case for a single stream of data Ilari Liusvaara
- Re: [TLS] The case for a single stream of data Salz, Rich
- Re: [TLS] The case for a single stream of data Kyle Rose
- Re: [TLS] The case for a single stream of data Ilari Liusvaara
- Re: [TLS] The case for a single stream of data Kyle Rose
- Re: [TLS] The case for a single stream of data Eric Rescorla
- Re: [TLS] The case for a single stream of data Benjamin Kaduk
- Re: [TLS] The case for a single stream of data Ilari Liusvaara
- Re: [TLS] The case for a single stream of data Benjamin Kaduk
- Re: [TLS] The case for a single stream of data Salz, Rich
- Re: [TLS] The case for a single stream of data Viktor Dukhovni
- Re: [TLS] The case for a single stream of data Colm MacCárthaigh
- Re: [TLS] The case for a single stream of data Salz, Rich
- Re: [TLS] The case for a single stream of data Salz, Rich
- Re: [TLS] The case for a single stream of data Andrei Popov
- Re: [TLS] The case for a single stream of data Roland Zink
- Re: [TLS] The case for a single stream of data Colm MacCárthaigh
- Re: [TLS] The case for a single stream of data Ilari Liusvaara
- Re: [TLS] The case for a single stream of data Colm MacCárthaigh
- Re: [TLS] The case for a single stream of data Benjamin Kaduk
- Re: [TLS] The case for a single stream of data Colm MacCárthaigh
- Re: [TLS] The case for a single stream of data Ilari Liusvaara
- Re: [TLS] The case for a single stream of data Ilari Liusvaara