Re: [TLS] Record header size?

Eric Rescorla <ekr@rtfm.com> Tue, 17 November 2015 20:51 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6C4C91B33BE for <tls@ietfa.amsl.com>; Tue, 17 Nov 2015 12:51:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level:
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001] autolearn=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 yOSmnbr5i6QL for <tls@ietfa.amsl.com>; Tue, 17 Nov 2015 12:51:10 -0800 (PST)
Received: from mail-yk0-x229.google.com (mail-yk0-x229.google.com [IPv6:2607:f8b0:4002:c07::229]) (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 8F3D61B33BB for <tls@ietf.org>; Tue, 17 Nov 2015 12:51:08 -0800 (PST)
Received: by ykfs79 with SMTP id s79so28620688ykf.1 for <tls@ietf.org>; Tue, 17 Nov 2015 12:51:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm_com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=LvzcnVVscGeHwpO6ADXMFm7bQMfcwyQ3fKLqQkjk55k=; b=dE/7c79YRIHRTWo3R4/Q2iIxLqTN2g9fLxMio7dkfj7i2tr6plAhSPIPDsRgDRckDy Lg7AC5y4g+KagjWGsoYciJVQaHEiQIcGIYkMsfcUtpUa4axAyODGrGvEyYkxs7T2opGg 8rS72sS0kdU5mVlepwTtZQKZf+VbB/hrGRmBFnptZQMJGvEZsGnkPwVHKFGIUA38ioQj A8qJn9GUCqgxfKahG9cXyIMVWIK+uH7jVWbCCtW1olw62uhbSo7+PlI9zjk2sLIBHieA NQ2orLSPIptSw0KxnTEj8O7hQ4SAX/sRErnBpjEnrQQVTz+eo3ix6jbP3HhYX81TX9KD f7xw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=LvzcnVVscGeHwpO6ADXMFm7bQMfcwyQ3fKLqQkjk55k=; b=PCmSZGCPYr8XGxX+WiJXctZJt7jj/avoCMskDhD3RppT87I2IB6ACn3fNXuq04NCgf 6IlMt+tOSh8kAn0X6oV7CT6uycHmRtSuLEqg2yca/+l22Ol/ByyXHFc/A/qTfNp5fSrU MONLspCIjq/uBUmXiXx5KKD54r3mzT0rIi1wChLJPNhTs4jmbx36rrP1KNFntcooK5KT Aiw6bg0VHwUu0QAYwYKrYOMkDkpzhKmnLtXTcwHp3RtyB8UHZ96ymXsHKmV06rQbawdI euYDFKDKGIeCUm5+ToA4fESupDeivX3mnif8wiXFfyUu1txFcQRdY2VESXoo/kGTpSzo h2Ag==
X-Gm-Message-State: ALoCoQmQYnhb19dJpBABDV2zK83gautdJ94HhnvsHgcnbWm2ttgxTVsUcq/Djo+OGgN/fmdq8wxO
X-Received: by 10.13.249.4 with SMTP id j4mr41996080ywf.129.1447793467896; Tue, 17 Nov 2015 12:51:07 -0800 (PST)
MIME-Version: 1.0
Received: by 10.13.221.203 with HTTP; Tue, 17 Nov 2015 12:50:28 -0800 (PST)
In-Reply-To: <87egfoe4n2.fsf@alice.fifthhorseman.net>
References: <C5F506DC-F814-4C0B-AFAA-86CF790817A7@akamai.com> <CABcZeBP5QPQAXKvM_oEAzex0-vrVWMvOW0yZuamvF5hxAHtmtw@mail.gmail.com> <87egfoe4n2.fsf@alice.fifthhorseman.net>
From: Eric Rescorla <ekr@rtfm.com>
Date: Tue, 17 Nov 2015 12:50:28 -0800
Message-ID: <CABcZeBM+=QAShiNNPh8a7yxc-WQi+asYQuDJOD9+cnDWXYBDCw@mail.gmail.com>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Content-Type: multipart/alternative; boundary="94eb2c0826e85ce9340524c2af1d"
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/2L0M12vePo1LQk4aLmwtGjgKNfI>
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Record header size?
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
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, 17 Nov 2015 20:51:11 -0000

Indeed. It doesn't seem useful to carry around two fixed bytes
for alignment reasons

-Ekr


On Tue, Nov 17, 2015 at 12:45 PM, Daniel Kahn Gillmor <dkg@fifthhorseman.net
> wrote:

> On Tue 2015-11-17 12:09:30 -0500, Eric Rescorla wrote:
> > The concern here is backward compatibility with inspection middleboxes
> which
> > expect the length field to be in a particular place. We agreed in
> Seattle to
> > wait for early deployment experience before modifying the header to move
> > the length.
>
> In particular, if we're going to make a change to the TLS record header,
> the change would be to remove the version and the type entirely, leaving
> only two octets of length on each record.  Is a two-octet offset going
> to be problematic?
>
>          --dkg
>