Re: [core] Typical TCP segment header size for CoAP over TCP

Achim Kraus <achimkraus@gmx.net> Sat, 21 January 2023 14:44 UTC

Return-Path: <achimkraus@gmx.net>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1B2B1C1516E0; Sat, 21 Jan 2023 06:44:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmx.net
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yU4pe38g5E7M; Sat, 21 Jan 2023 06:44:13 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D4902C14CE42; Sat, 21 Jan 2023 06:44:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1674312247; bh=7pK3YgDxIPOk9lO8nroy99UZHr12qu7wIsjCD+sbP94=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=Jyo+CPNy1FXJ98Q2QLzPAoSQTIEC+ufwNv0C75+KrSIyd4XG19QamivifzsoCyRd5 I3lh0kchQOHEW5Q7yhckgWtlhOZ61EnP+r2ykuYbjsPitvVQq16AyzpmvHq3yvA9Ov J6RoBkzodxzNNirw8xIHyJs3NVaMFOPPqDqkvzU9WIx8sjGhlghphMnwIeNwn7UjpS x70j0O2A+ebX4f3HAMLU9UEFZt6UL3wCG4IpeI3htogVxfhJr4U5zrJusAMH0d9ReA LffMeoGmyfzwAzV7Ol2DSuahHlo7logaHT4D/K+8V9pVWHohMzY2j8SXpPmxRLHQst CL245HUocMSDw==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.178.10] ([5.146.192.44]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MkYXm-1or15711Vm-00m5sw; Sat, 21 Jan 2023 15:44:07 +0100
Message-ID: <9c5071e3-ef59-7280-92c1-eac44992c6d5@gmx.net>
Date: Sat, 21 Jan 2023 15:44:06 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2
Content-Language: de-AT-frami
To: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>, "core@ietf.org" <core@ietf.org>
References: <HE1PR0701MB30508FA4A62D149371F80F5989CA9@HE1PR0701MB3050.eurprd07.prod.outlook.com>
From: Achim Kraus <achimkraus@gmx.net>
In-Reply-To: <HE1PR0701MB30508FA4A62D149371F80F5989CA9@HE1PR0701MB3050.eurprd07.prod.outlook.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:aXgz1dsUb2CShJRgnUru8lSOUUIvt+e1SNkgJlcIckiN2/WRhQj J7KlZbzZ2eGNBeS2kEfPZwLiNXesc2a5XPmpgegKCH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aOWJDsy60z9QVG1EPZNWnLjRIGQ95ivCQmDAGL9anoDkZZofCq70xIAkv 14bq2A==
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/AJsjBG31krJlndSBLOCR1_1nnGI>
Subject: Re: [core] Typical TCP segment header size for CoAP over TCP
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 21 Jan 2023 14:44:17 -0000

Hi John,

 > Achim suggested 24 bytes.

My failure, I counted the line with "Options | padding" which is optional.

So 20 bytes.

best regards
Achim

Am 21.01.23 um 11:13 schrieb John Mattsson:
> Hi,
>
> At the TLS WG list, Achim Kraus commented that
>
> https://datatracker.ietf.org/doc/draft-ietf-lwig-security-protocol-comparison/ <https://datatracker.ietf.org/doc/draft-ietf-lwig-security-protocol-comparison/>
>
> should mention the size differences between the UDP datagram headerand
> the TCP segment header. This is a very good idea that we will do in the
> next version. While the UDP header is 8 bytes, the TCP header is
> variable length (20-60 bytes). Achim suggested 24 bytes. Is that the
> typical value that other people are using as well or are there other
> sizes in use for CoAP over TCP? I assume that RFC 9001 might be a good
> reference.
>
> Cheers,
> John
>
>
> _______________________________________________
> core mailing list
> core@ietf.org
> https://www.ietf.org/mailman/listinfo/core