Re: [TLS] The case for a single stream of data

Benjamin Kaduk <bkaduk@akamai.com> Tue, 09 May 2017 05:08 UTC

Return-Path: <bkaduk@akamai.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 54EDA127B52 for <tls@ietfa.amsl.com>; Mon, 8 May 2017 22:08:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.802
X-Spam-Level:
X-Spam-Status: No, score=-0.802 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-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=akamai.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 cpdcLf9C5wsT for <tls@ietfa.amsl.com>; Mon, 8 May 2017 22:08:06 -0700 (PDT)
Received: from prod-mail-xrelay05.akamai.com (prod-mail-xrelay05.akamai.com [23.79.238.179]) by ietfa.amsl.com (Postfix) with ESMTP id A670912704A for <tls@ietf.org>; Mon, 8 May 2017 22:08:06 -0700 (PDT)
Received: from prod-mail-xrelay05.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id D8E00433451; Tue, 9 May 2017 05:08:05 +0000 (GMT)
Received: from prod-mail-relay10.akamai.com (prod-mail-relay10.akamai.com [172.27.118.251]) by prod-mail-xrelay05.akamai.com (Postfix) with ESMTP id C2B35433413; Tue, 9 May 2017 05:08:05 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1494306485; bh=afvA+yeLcwHZV9lEsxbKmBrOBEY4XrXgh8SxuPR1XM0=; l=4596; h=To:References:Cc:From:Date:In-Reply-To:From; b=LERGbUsH/QuETUl6SYDVwr9OKx8wlNIXv77yk+G3+BQr7KNTi5QsYr9+i5616qQcY xuaZP9to1jGQjGI25ylSSCVKIclH0MJpU2SfB0/aFAX3czDWvreJDxafc2rbEj8ODl /0ZX4thKmDJkXIez3sflRsPdcyRNWXAgX1vm3l4E=
Received: from [172.19.17.86] (bos-lpczi.kendall.corp.akamai.com [172.19.17.86]) by prod-mail-relay10.akamai.com (Postfix) with ESMTP id 7E6701FD16; Tue, 9 May 2017 05:08:05 +0000 (GMT)
To: Ilari Liusvaara <ilariliusvaara@welho.com>
References: <CAAF6GDfm=voTt_=JrdGtiaYby1JG8ySU2s6myjjpHKeGvi0bMg@mail.gmail.com> <20170506095834.GA4355@LK-Perkele-V2.elisa-laajakaista.fi> <8487b6ec-70e9-ef91-1aa8-5d9f9554499e@akamai.com> <20170509044515.GB8239@LK-Perkele-V2.elisa-laajakaista.fi>
Cc: Colm MacCárthaigh <colm@allcosts.net>, "tls@ietf.org" <tls@ietf.org>
From: Benjamin Kaduk <bkaduk@akamai.com>
Message-ID: <7de26f98-84fe-3d65-a5fe-6b6f78efd981@akamai.com>
Date: Tue, 09 May 2017 00:08:05 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20170509044515.GB8239@LK-Perkele-V2.elisa-laajakaista.fi>
Content-Type: multipart/alternative; boundary="------------E4F9D0CDBC7876D349F71BC1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/3C4OoUlG8B_0lkaNZFdNUxrLiUQ>
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 05:08:08 -0000

On 05/08/2017 11:45 PM, Ilari Liusvaara wrote:
> On Mon, May 08, 2017 at 09:33:27PM -0500, Benjamin Kaduk wrote:
>> On 05/06/2017 04:58 AM, Ilari Liusvaara wrote:
>>
>>> - 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?

No, I think you read it correctly (and I agree with you).
I have a more detailed reply to the original message in a compose
window, but it will not be done tonight.

> 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.
>

:( :( :(

Clearly we should make sure their documents prominently note the
requirement for strong replay protection, but is there more we can do?

-Ben