Re: [TLS] Efficiency of ACKing scheme
Thomas Fossati <Thomas.Fossati@arm.com> Thu, 09 April 2020 15:12 UTC
Return-Path: <Thomas.Fossati@arm.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 1D74E3A0963 for <tls@ietfa.amsl.com>; Thu, 9 Apr 2020 08:12:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=LSsrcida; dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=LSsrcida
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 bsJyQUc_fJHB for <tls@ietfa.amsl.com>; Thu, 9 Apr 2020 08:12:25 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80042.outbound.protection.outlook.com [40.107.8.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2ADFE3A0964 for <tls@ietf.org>; Thu, 9 Apr 2020 08:12:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4VpIUPqLNBfoUbqamEbfIAL+Vf1rFBaGIrNvsmSyK2I=; b=LSsrcidabraFNJTN/Lcui0I4uLhXwQICNJrWF4/1etRbljw3+ABEvhxQpCjp8cdJjBqyPQxO/nkZKC+9Ow6ixnruNAaLwolbnVKzIa6p7WgBavMlj+n63y5NhrhHfhlOp1ftop1He4EDhkFjsswHpsonFHEY2OZFztI7HPIVZ3s=
Received: from VI1PR07CA0197.eurprd07.prod.outlook.com (2603:10a6:802:3f::21) by DBBPR08MB4854.eurprd08.prod.outlook.com (2603:10a6:10:d9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.15; Thu, 9 Apr 2020 15:12:21 +0000
Received: from VE1EUR03FT012.eop-EUR03.prod.protection.outlook.com (2603:10a6:802:3f:cafe::4a) by VI1PR07CA0197.outlook.office365.com (2603:10a6:802:3f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.12 via Frontend Transport; Thu, 9 Apr 2020 15:12:21 +0000
Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; ietf.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;ietf.org; dmarc=bestguesspass action=none header.from=arm.com;
Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com;
Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT012.mail.protection.outlook.com (10.152.18.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.15 via Frontend Transport; Thu, 9 Apr 2020 15:12:21 +0000
Received: ("Tessian outbound af37c2b81632:v50"); Thu, 09 Apr 2020 15:12:21 +0000
X-CheckRecipientChecked: true
X-CR-MTA-CID: 153b11e7334c7d38
X-CR-MTA-TID: 64aa7808
Received: from 7ec40d0b9e84.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F0513C3B-E623-4BBB-9927-49E5B2DE4287.1; Thu, 09 Apr 2020 15:12:15 +0000
Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 7ec40d0b9e84.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 09 Apr 2020 15:12:15 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aYzKS9Y8PhNsUbLOoE54DUAEFxUNdVnRLHgyiOlcvwr3W+yAvOGRiWhoVHxWc50iJRdZJ45urS0+GUV66GXgBM35xwFDuB7S4z6Kw9c6U9Ce2ZHB+GxBSMV4vAesyaX+IjDg8ErwS4cX51VZScfGzIbEdaiybjIs+9kRsawGq0HwqCZ/jV8DM19BHzXy5LLGhVNgrmXIeiKRjgE4W4n29vyf+HoS2JXb1Ajl7uGcDWg7MFNFw29s/VIBEmm6r04PT3kv1EIcHYdc0nLG25cjGjg+B7mFC+2DeMdWXFE5YNYj9xvf4U39v/REfKjnV8qSKyoMTSgDsAMpd5s4Qo907A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4VpIUPqLNBfoUbqamEbfIAL+Vf1rFBaGIrNvsmSyK2I=; b=aqktnE9QF+DYKbxmzaz9WY1k+SfVOMn2bV1/WbgbVX8nvxbFfKmKbl/sVirtyZS2BvZfgfCexOVIvG1khphdBVrIHGB6WZnXn0UaVf+t+/OjMfEI/FngUagsONnkAYbcF4+uBD0wRVD0s2arSYZIsOSLbWcn42/PUYJINppRuXjg43LxCbFuWwLbJZVsOI/cuT7NS9kn4MpRaSOje/coaiTaXTz5c2/4yISbXUV8kD+CuOWm2OkjyLKrpmpzo1pVrOxBFgzn7Tny76LEcKYgXuYgW73dwN+sLi4RxtXobK7kQwz5eExtiGUzfOs6d6aTH6MD8zf5/wZZSfJtWVpt6A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4VpIUPqLNBfoUbqamEbfIAL+Vf1rFBaGIrNvsmSyK2I=; b=LSsrcidabraFNJTN/Lcui0I4uLhXwQICNJrWF4/1etRbljw3+ABEvhxQpCjp8cdJjBqyPQxO/nkZKC+9Ow6ixnruNAaLwolbnVKzIa6p7WgBavMlj+n63y5NhrhHfhlOp1ftop1He4EDhkFjsswHpsonFHEY2OZFztI7HPIVZ3s=
Received: from AM6PR08MB4231.eurprd08.prod.outlook.com (2603:10a6:20b:73::23) by AM6PR08MB3751.eurprd08.prod.outlook.com (2603:10a6:20b:84::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.19; Thu, 9 Apr 2020 15:12:13 +0000
Received: from AM6PR08MB4231.eurprd08.prod.outlook.com ([fe80::b08c:a849:e63d:6150]) by AM6PR08MB4231.eurprd08.prod.outlook.com ([fe80::b08c:a849:e63d:6150%7]) with mapi id 15.20.2900.015; Thu, 9 Apr 2020 15:12:13 +0000
From: Thomas Fossati <Thomas.Fossati@arm.com>
To: Eric Rescorla <ekr@rtfm.com>
CC: Hanno Becker <Hanno.Becker@arm.com>, Rob Sayre <sayrer@gmail.com>, "tls@ietf.org" <tls@ietf.org>, Thomas Fossati <Thomas.Fossati@arm.com>
Thread-Topic: [TLS] Efficiency of ACKing scheme
Thread-Index: AQHWCdUmcw6BnTFxZ0GrZHianQcZlahnnDQQgAO7OoCAAKsoAP//86kAgAAdq4D///6F3YAAREwAgAD0k7KAA3V2gIAADseAgAAbtwD///RFgAACd9OA///wuACAABuZAA==
Date: Thu, 09 Apr 2020 15:12:13 +0000
Message-ID: <D4D9DD15-6704-44B3-8E18-53E4B8CE2B14@arm.com>
References: <AM6PR08MB331820C710440F07055382739BC70@AM6PR08MB3318.eurprd08.prod.outlook.com> <AM6PR08MB331832C84A0E5D04AA5612A99BC70@AM6PR08MB3318.eurprd08.prod.outlook.com> <8fed27dc-f5eb-4104-8308-186c361781bc@www.fastmail.com> <6EC8987C-A1E0-454F-AF09-A43260EB2B56@arm.com> <CAChr6Sx96KBLS+VYFo7DdybraBo7ubz7ojp0fR3XjFcuGWB-2A@mail.gmail.com> <03849701-1A14-4E1A-8298-D483E74E380C@arm.com> <AM6PR08MB3318181A1F2C5B19E9392F849BC20@AM6PR08MB3318.eurprd08.prod.outlook.com> <EAB4DCDE-78B4-4B0F-B243-429C3590923D@arm.com> <AM6PR08MB3318F770AD9A53CC0C9F88FA9BC30@AM6PR08MB3318.eurprd08.prod.outlook.com> <FFC3507B-5253-4525-A7A4-D9D45422FC69@arm.com> <CABcZeBOd44CL-8kjwntS9fMg9NgzpgXhkXNi6Lsc70BwAqaxwQ@mail.gmail.com> <337B9506-31F3-463C-B447-FEFBEFEC32A7@arm.com> <CABcZeBN=jsr-WJnbxNao+jLneEGz8waTkGerHqexKVekBV-aug@mail.gmail.com> <5744AFC1-D9B5-421E-893B-949ACA76C51D@arm.com> <CABcZeBPdDeqF1SxZZ7nsvpyqejHnDqpV=9b3KmMn_eB4gFR=Lg@mail.gmail.com>
In-Reply-To: <CABcZeBPdDeqF1SxZZ7nsvpyqejHnDqpV=9b3KmMn_eB4gFR=Lg@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.35.20030802
Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Thomas.Fossati@arm.com;
x-originating-ip: [82.11.185.80]
x-ms-publictraffictype: Email
X-MS-Office365-Filtering-HT: Tenant
X-MS-Office365-Filtering-Correlation-Id: 8360ac1c-984d-4adc-9683-08d7dc9866eb
x-ms-traffictypediagnostic: AM6PR08MB3751:|AM6PR08MB3751:|DBBPR08MB4854:
x-ms-exchange-transport-forked: True
X-Microsoft-Antispam-PRVS: <DBBPR08MB48540D06D3736F24A9EE6AB09CC10@DBBPR08MB4854.eurprd08.prod.outlook.com>
x-checkrecipientrouted: true
nodisclaimer: true
x-ms-oob-tlc-oobclassifiers: OLM:6430;OLM:10000;
x-forefront-prvs: 0368E78B5B
X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR08MB4231.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(136003)(346002)(376002)(39860400002)(396003)(366004)(6512007)(86362001)(76116006)(36756003)(33656002)(53546011)(6916009)(2906002)(66556008)(81166007)(316002)(4326008)(54906003)(71200400001)(6506007)(2616005)(64756008)(5660300002)(26005)(66946007)(186003)(81156014)(91956017)(66446008)(478600001)(8936002)(66476007)(8676002)(6486002); DIR:OUT; SFP:1101;
received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts)
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original: 0qNm8fJRNSqPLk897oQlS64xmgKjjs6qBNDRR2pkObAHIQa+TLRslnmjZx7N59PZWMc+6qSIOP4qYVuRrFCGvQv5rPkoPRQmKVrqgdcrasNRUv6Y3KU5TXAjAfCr7N7UPrzXmm4Rp0oHPuIl3wqnDWuC7uoZKPOF5K9zMDfGabpNOPLL+0nn57qCpYfFJNiFC8+qvaSEXx5P53oJnAvNvAf6c1gNO2YZBrQAZb9nCfG8M+HMu3CaTVNL3QzRZUioPAgmamc5N68xLo3cbK9Mib4dIk4VsE2agXgulk+g/gHgMrRwoGpq3A9rvjo6dX2/VI5Djlvr/CMH37VfLulmxXMq8Ez6YDOltjzQWOh8zpg/qLOYGR/K4Q2aA3KdQJeJl+PLZhGOajR7EVVcQOlhNrOowf7aWWThcumcHcO3z7sgSxTsy+c1iXGy6EWmnscl
x-ms-exchange-antispam-messagedata: CQLa12AztCpegD1AB4LXaX3EVzF8ZKfW2vJo86sPlamUCKjZh8rQv/XKntPqgaVRe8YPZ5jkl6v2eyhFQj+exHSXklElLIe6TIxqP1quw0B0ALmp844TVF/R597Iey7uuOvEqXUYZ8qgYkIjxn9J+w==
Content-Type: text/plain; charset="utf-8"
Content-ID: <988347B421410349B44DCCA417D93715@eurprd08.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3751
Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Fossati@arm.com;
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT012.eop-EUR03.prod.protection.outlook.com
X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(39860400002)(396003)(136003)(376002)(346002)(46966005)(26826003)(82740400003)(54906003)(316002)(47076004)(8936002)(53546011)(70586007)(70206006)(81156014)(356004)(5660300002)(36756003)(36906005)(81166007)(6506007)(186003)(6512007)(6862004)(4326008)(336012)(2906002)(478600001)(2616005)(6486002)(8676002)(26005)(33656002)(86362001); DIR:OUT; SFP:1101;
X-MS-Office365-Filtering-Correlation-Id-Prvs: a6a4e716-fda9-405f-86cd-08d7dc9861ed
X-Forefront-PRVS: 0368E78B5B
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: qjwW92jOVFNdsaGngA2FXYqSTgRS1oGpC1YkgsbelgCDFQqrwm3VQ1c9XXzPHr2Q6lgPLsn/K1QJdNfTXENavx+HIO6U8VB86JqLjIGMBNiG7qLD8f9zPr3pmzUBPjUR2XabrQ8pyI/RO9uYlILkgJtjCp8S27stuk1OhMgSiflbkZf0EQTSy4vnjUG3ElLRi87q7k4pojF8tkZnc7dQWdxPrRu1ar1SDS9mGiZijEEAduwSBN6UwkqFputd2RJXYLEm+zp1DgJeYN8dA2Zzfxf/oEwMbg6WINDH3UpRxTV7/uC+iDmERpNNM1XYWbLVqNVyLBI2cZJXgDLAHNWA+JLDtqMr8c1fQJ4LH3Emi+ga1KenaPtvWVB7KELdcH+NBtmGlTYFLNO7zOLcPTltUbh4PijFddDXDg3832SRC9QiCvHVlbI5c4xpfiBWdiPr2JRnqdDWBIyjv2NL4odsLXmQwZOc0eh9YcEqVUmCexeYHk88M0o2/yodBtem9AfBx+pd+QIs5WJ1pK0cuiK2QA==
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2020 15:12:21.5058 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 8360ac1c-984d-4adc-9683-08d7dc9866eb
X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4854
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/PyZrqElaoLMjscJwwk5AHZegFoE>
Subject: Re: [TLS] Efficiency of ACKing scheme
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 09 Apr 2020 15:12:31 -0000
On 09/04/2020, 15:34, "Eric Rescorla" <ekr@rtfm.com> wrote: > > > But this requires being able to send an empty ACK that means "I > > > got nothing". In which case, I don't see how it's really different > > > from the current text except that it gives the sender less > > > guidance. > > > > Not sure there's an "empty ACK" in Hanno's proposal. This is how I > > interpret it in the context of your example: in the second flight, > > if rec#0 (containing SH) is lost and rec#1 gets through, the > > receiver sends ACK {1}. From that the sender can infer the gap and > > retransmit rec#0. > > > > You can't send ACK{1} because you can't decrypt it because it is > > out of order with respect to the DH key. This is the point of the > > empty ACK. True, so you send ACK{} (as per last para of Section 7.1) and similarly the receiver can deduce a gap -- indeed a very precise one -- and re-send record containing the SH. IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
- [TLS] Efficiency of ACKing scheme Hanno Becker
- Re: [TLS] Efficiency of ACKing scheme Hanno Becker
- Re: [TLS] Efficiency of ACKing scheme Martin Thomson
- Re: [TLS] Efficiency of ACKing scheme Thomas Fossati
- Re: [TLS] Efficiency of ACKing scheme Rob Sayre
- Re: [TLS] Efficiency of ACKing scheme Hanno Becker
- Re: [TLS] Efficiency of ACKing scheme Thomas Fossati
- Re: [TLS] Efficiency of ACKing scheme Thomas Fossati
- Re: [TLS] Efficiency of ACKing scheme Hanno Becker
- Re: [TLS] Efficiency of ACKing scheme Eric Rescorla
- Re: [TLS] Efficiency of ACKing scheme Thomas Fossati
- Re: [TLS] Efficiency of ACKing scheme Thomas Fossati
- Re: [TLS] Efficiency of ACKing scheme Hanno Becker
- Re: [TLS] Efficiency of ACKing scheme Thomas Fossati
- Re: [TLS] Efficiency of ACKing scheme Eric Rescorla
- Re: [TLS] Efficiency of ACKing scheme Thomas Fossati
- Re: [TLS] Efficiency of ACKing scheme Eric Rescorla
- Re: [TLS] Efficiency of ACKing scheme Thomas Fossati
- Re: [TLS] Efficiency of ACKing scheme Eric Rescorla
- Re: [TLS] Efficiency of ACKing scheme Hannes Tschofenig
- Re: [TLS] Efficiency of ACKing scheme Thomas Fossati
- Re: [TLS] Efficiency of ACKing scheme Hanno Becker