Re: [TLS] Application Data payload

Martin Thomson <martin.thomson@gmail.com> Mon, 06 March 2017 23:12 UTC

Return-Path: <martin.thomson@gmail.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 1E854129A6F for <tls@ietfa.amsl.com>; Mon, 6 Mar 2017 15:12:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 M6A8Rm_ANkQ1 for <tls@ietfa.amsl.com>; Mon, 6 Mar 2017 15:12:07 -0800 (PST)
Received: from mail-qk0-x234.google.com (mail-qk0-x234.google.com [IPv6:2607:f8b0:400d:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F0E52129A68 for <tls@ietf.org>; Mon, 6 Mar 2017 15:12:06 -0800 (PST)
Received: by mail-qk0-x234.google.com with SMTP id v125so118280501qkh.2 for <tls@ietf.org>; Mon, 06 Mar 2017 15:12:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IqfVlC8PvBuuQedN1VRvekCp0Btgbf6QAje4gPWzf9Y=; b=fm6sR/lZjGyxAV5pujBw1mxUvuWYCX7MJrmsIADI54IFg+W2fF2uSFBZW/Mz3/lWnv iMkglvo5VsFWedJf4IWUE8TXXH3ROO7gNJ650gTioqmFcni60wm06wv74YQFbXqIhFuz PdGJJrh+s78ftJHgK2Ohm4hUVYKAvaxACqqMHxlYniGdfL+oqzMcQSJ95DQR94ne/hNb ObM5P0rmjUos9Dp153Hp/YsciYPS6H/RIQkf/h71SpJBiL7PF3YjPNnae5sXExWe/+up kwv0VjG2re+1MLBBt1mIFZPoXCk8TfK9sHqivnX7A8mxtXKDp1TFrAkrOmWLeUUaNMBm LCLQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IqfVlC8PvBuuQedN1VRvekCp0Btgbf6QAje4gPWzf9Y=; b=A6Bu9mKmRizorIqJIWltwaTbf5NiMgN87KqFlBqEH1mhI3P7G4TAMiVdkXn+NFgVUP 2DUzhCLLTyEFSjhaiHKYvlfZZJQXSsYUFwrq5w0B7j8SlyvUE4P81HHbm6q4FxZhDBxm aQV/06majvMRAWJolvK4QekhyvYbpuh8wwgGMlUH1L+HdZ9bTBwwx+giv3/OQe08GJQn XGF5qtOySXxioSXHh1GPuuw7p6QYxkcT27s4xlaRoxOSL/ME4v+dnBW3toSi8BlZQKrV eLkNSBdOmzDpdUsr9elXeGebgoeFJYnrBDA5W+HjP4v99RzRTfl6ghzMKl7h1TPS2Tg3 4yIw==
X-Gm-Message-State: AMke39lRUn8weIb+DCI1NcOIFIwR81NK9/dXs9ZXwRQ2XK/OwxFkuSsJo3QTKQcSVUDYhmuopPM6CFqd1HHYKQ==
X-Received: by 10.237.51.5 with SMTP id u5mr20132811qtd.247.1488841926185; Mon, 06 Mar 2017 15:12:06 -0800 (PST)
MIME-Version: 1.0
Received: by 10.140.19.112 with HTTP; Mon, 6 Mar 2017 15:12:05 -0800 (PST)
In-Reply-To: <CAF8qwaDHrM4qGsPq7rhKdKsq333NTAoNUQ3YFTtvP8f4mV-onw@mail.gmail.com>
References: <CABkgnnXXQs0fLb0igzhwo=9Jgp5WjN49nFS00843g-WB=U0qhQ@mail.gmail.com> <CABkgnnWBb14uZis1RMJymuBGrHXBsxEQV8mHGY1WgHkJOhPVyQ@mail.gmail.com> <CAF8qwaCHxuei3Y+W6QzwzmAg5vSFh=nJ_E1Ya62CvGTEXZdFAg@mail.gmail.com> <CABkgnnVqRCsLpkDXghKpWBMVcVpYGP8C_xbGVXdphFeYA_eXqg@mail.gmail.com> <CAF8qwaDHrM4qGsPq7rhKdKsq333NTAoNUQ3YFTtvP8f4mV-onw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 7 Mar 2017 10:12:05 +1100
Message-ID: <CABkgnnUaRi=wyFGozLzKU0TKKikUE8ebvLhvhRah9cZtJXe+eg@mail.gmail.com>
To: David Benjamin <davidben@chromium.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/6n5pDfPcvAGbxrqxP6MbMlDsGLw>
Cc: Filippo Valsorda <filippo@cloudflare.com>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Application Data payload
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 06 Mar 2017 23:12:08 -0000

On 7 March 2017 at 10:06, David Benjamin <davidben@chromium.org> wrote:
> As the spec is written right now, our interpretation is that
> max_early_data_size counts the plaintext application data, not including any
> encryption and record-level overhead. This aligns with (1).
>
> Separately, we bound how much data on the wire we will skip over. This is
> (2). These are not the same units, so we intend to advertise a smaller
> number as a fuzzy estimate and don't anticipate the fuzziness mattering
> much.

Ahh, OK, that happens.  I will write a PR to clarify this.