Re: [TLS] Last Call: <draft-ietf-tls-dtls-connection-id-10.txt> (Connection Identifiers for DTLS 1.2) to Proposed Standard

tom petch <daedulus@btconnect.com> Sun, 14 March 2021 14:35 UTC

Return-Path: <daedulus@btconnect.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 5685F3A13EC; Sun, 14 Mar 2021 07:35:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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=btconnect.onmicrosoft.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 hh2PROqwKF-o; Sun, 14 Mar 2021 07:35:30 -0700 (PDT)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60120.outbound.protection.outlook.com [40.107.6.120]) (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 C82363A13EB; Sun, 14 Mar 2021 07:35:29 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=juKKdGVD0KykmMPIDlQM8nWEaNaiST0BtCznBg80Wu12xL7Yjm6N2PdsC4rlbed0rLqT7eRf6H92attjQBMywZFlLUjMWGyhDMBYKmWYA1PIRTmnDfV1RvhoNcY2yIv4YJE7VC0Czf8Ii7ezF6flZ9p2xwxUlTbsh2hwDVtoTk0SawfRZD7zSIIOpM2Yf73BapHbTttpHUuoItTJxNdqF5Tbrqt3Adk6yGl2K09nmYlPfcakWJKsPn6AnN9O/u2UqVFP/gsyd6OmKf5hBDab327/fRMcnR8BYM5GOvlGo+ZUZVi9FKtoXBOxuy7pdQI7Om6d0Y5yKjv4sFEweyZiFg==
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=wdrv5Al0IgaPYAntAuLvWCpE2jTeo1623ssClN6Q4UY=; b=RH6l24VkEb2uRjeGqc9W+zrc3mgR5Bi3aG5M17ST6J1jZV8eALWe4jOtcYWsXsIn04lIaw3YYnf39QcL1u+8NvvkrUQ40pbDxE3dvW140e/o3Yq+HTm3T5KuOiMA1knLSuidquUhPFkT4j3kdYemXDij7BPRtHmqmtarKx6G25/wlnKG7sHq47agykPNj03UL3Lp4fRwsZhaETdOH4OYJgV4HJqZx7nsiLJzFqvTPuPIZRrMUVcy1ziNMKPUShsFB8kS26Gom1K3VysqpoDO+92KD4RnO5c76n2CPxMG+HNEndCm8BsVpkBHiIMP3r8UCDA82eDt9Doa0vW4FDH9qQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wdrv5Al0IgaPYAntAuLvWCpE2jTeo1623ssClN6Q4UY=; b=VI4tMJVFb6q0PF/wczl4eJ2FCu+El/I+SOr4FV9D263fYyZaTWerrouqXnrA8oigihEva8yObFRm6VtKQaM3VMQEItrAobRBI89MnwpcuIaCry1yMoNWz/TTCsGuiH5Fnyxk2L8G/NJhIX6GgTAbb3BDE19sVPqSc7zt6ovKbdg=
Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=btconnect.com;
Received: from VI1PR07MB6704.eurprd07.prod.outlook.com (2603:10a6:800:18b::8) by VI1PR07MB4191.eurprd07.prod.outlook.com (2603:10a6:802:66::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.10; Sun, 14 Mar 2021 14:35:26 +0000
Received: from VI1PR07MB6704.eurprd07.prod.outlook.com ([fe80::b993:4426:e494:2e38]) by VI1PR07MB6704.eurprd07.prod.outlook.com ([fe80::b993:4426:e494:2e38%3]) with mapi id 15.20.3955.013; Sun, 14 Mar 2021 14:35:26 +0000
To: Thomas Fossati <Thomas.Fossati@arm.com>, Achim Kraus <achimkraus@gmx.net>, Hannes Tschofenig <Hannes.Tschofenig@arm.com>, "last-call@ietf.org" <last-call@ietf.org>
References: <161520236528.11780.2852731535612070466@ietfa.amsl.com> <604B44A4.6070400@btconnect.com> <94E09812-812E-4373-A2DC-ECF489F0C5FF@arm.com> <VI1PR08MB26399313BD59836403213536FA6F9@VI1PR08MB2639.eurprd08.prod.outlook.com> <32ed5871-b315-de65-ec58-a5e67176f133@gmx.net> <604BA4CA.8040502@btconnect.com> <51EB9056-F44E-4BE0-9992-D68ED094E3D9@arm.com> <604CA7C4.2050702@btconnect.com> <970C65D2-64D1-4D60-A461-06245185C55F@arm.com>
Cc: "draft-ietf-tls-dtls-connection-id@ietf.org" <draft-ietf-tls-dtls-connection-id@ietf.org>, "tls@ietf.org" <tls@ietf.org>, "tls-chairs@ietf.org" <tls-chairs@ietf.org>
From: tom petch <daedulus@btconnect.com>
Message-ID: <604E1F24.3040506@btconnect.com>
Date: Sun, 14 Mar 2021 14:35:16 +0000
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
In-Reply-To: <970C65D2-64D1-4D60-A461-06245185C55F@arm.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [86.146.121.140]
X-ClientProxiedBy: LO4P123CA0015.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:150::20) To VI1PR07MB6704.eurprd07.prod.outlook.com (2603:10a6:800:18b::8)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from [192.168.1.65] (86.146.121.140) by LO4P123CA0015.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:150::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3933.32 via Frontend Transport; Sun, 14 Mar 2021 14:35:25 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 7ca73967-5794-4c9c-2408-08d8e6f6683e
X-MS-TrafficTypeDiagnostic: VI1PR07MB4191:
X-Microsoft-Antispam-PRVS: <VI1PR07MB4191171B47B4CE28392D693CC66D9@VI1PR07MB4191.eurprd07.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: kC4LIUMo5XS9HbJcI//iEg1X14r3RHcHDLYG4i6/hgu48zvBcNVEd08haIi6rcYVYM23RT3Hkpi/MyewI2eg9+TGKI1T9oFi4EiLPVpqOeF/VXiK9mGokK7ol6pqWwOr8TXPjjfg5OR25sC8RkWMqfOJJ0JpWmAg/y44fSTEegxGsWtxLhsoMK9iKcVXeFBSh6kUwkc/uDzx8dN4WoR3fue/fu9fZk4DLgUP+uZOyVooY6rMJeu906YBJQSJIVGSUDhOuhLhPGoI7ad/o9cRUdJTz3O9vvIgCw3C8RqRrmbNinLI8rD8oX9q/SnvGKlpmWBCi/lI9oZwNUtvGTxgnYJPs2EFwu8ZlMxTFNEaWv2QOrqPNa1lNBzWEMnn/6oM1AXgnx7c85gR/oCztdgTbho+x5dU4CwSEQE16xv/H7XISU3jZBSSC5TXX2udQDeIm8uRJ2J4yVEuCxn/EHM/WHtslH+xET8dkb2CoOkpHgwIeyGDga6dTY51KnONqIoDEIcovbgQKZpYdHkWzkeBIOsCIRa+i3J4jXp9W49LVSjJpPoLsN1zbyqRorEFZddj
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR07MB6704.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(366004)(376002)(396003)(136003)(39860400002)(4326008)(2906002)(36756003)(16526019)(83380400001)(186003)(478600001)(26005)(33656002)(66946007)(2616005)(8936002)(66476007)(6666004)(52116002)(54906003)(16576012)(5660300002)(6486002)(316002)(53546011)(87266011)(86362001)(66556008)(8676002)(110136005)(956004); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData: 6DxD1PNTaT0C/+LDI2D4Tq5LrtxxVTEWYV6uMpWuIOsyKHHtPR3mpp600xb+pkVJ1X0FYFWcuAXoaImtCB/fPT4j0FpiuKzfcy+ogcF9cx6tzsme2Aggbbh8CI48Cn1+QF1b4cxorYpvLk6CSCIb4Noz13Qp9+1dpw/dkhHyMgdzd6ALsG8dfXa3w2xakEDCl7KR1vNKK67GVJ2TWs61XbWoelzgI+Vj8UxGUDammWF66NwaA5dU8ogPqWg/Tvb7wG0vi/U6tIBZycImO9RYw9QWg/z6dnmRlAKu+J0mpFccHquFHAK0vkb5nBZ3XYkdiDxLsDTAtJdA4ATTBvBxxFFgtCT5EmGmR2pNUcjhu6VXx4lALTs5AV3ybLLj6yXysp96CcFVxy/JaLY6AHPR2lPZlNk2xiA7NsBCPnaRbgLtyrzMBa7uOObvG5I0ENiWoOVmh0BQ/9xPkFxYTeWEnKsDDxm+yL1mMAb7evsC20ofDJBVMOSw2ylYCli38dxNMZhxs7DLmSh+5N8jozRtzC73ac6MSX1pfO7tKhrpgHPUbNJXZF2x/kOMArCa8vLr5mrrM18mOEuxeOWp+OMwulLqC1DJdhFXfXuk0l0dWatkkQ1OBrDZzmlCQ7bCEVBceyH2WZhP461PpGstXfFoOLFBtWC+apxeMDrtr9ehWgyqZJuhxpdq4s5BUsOx6bOp7nl+tugWLmY2Y1LYbMIyhA6DkViDJYQypLxWibDtPsNCFQ7ZTjRVAfV8vXrFVM/tKePEaQxL8vWhA0km2GEIt14p/kGsJ6SDtifwL8sXO6Pks/CjGiZ7GhTi4wu6fqgDyjy7A2X6wGTxy3aFJuCAcOrB1EOWl3EklW2VX9FvpsQ1VhLDMy0YCDsjP7INiUKSuRejxDPkYmepZCeR8v/0cI+mVTonMexIbdRd4KSArDL5lcAGehZpd87TEfSYUiEC93D2NHOcycHRZ+LkAWKFVHERBLYuJC/WLt1lfdd7luBfXZS9sotuxs4/iNefgdCltggLtKWyr+UdrHGZ99lo2dvgHZ94dcj07coRNhCuSZ7IghZchcSJJfbWYYwdT9iwzAbEsa/rmJcZ1JJ4BNP5xp7P9N7y+CWWu0GZaZkghaQmjuEiN7S8XwGV+WWBWU1kiLUN52afOaIMzcDjga6ak4sbzmNgSPXNCAmy564Y/2mc9mynKRD1kqcLsWVmpWEzhoqBOg/q1taRxBV/ymF5xPjn3E3rCbn5g7kV4gSwoGc3XtpQdcHO/9HsvqGrhbZEEZZRCIlfoO2wZGPs9Q3WpHB+RBwvMeP74zoctbX38GQZWG9WNOGesdlODCGl+rrR
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7ca73967-5794-4c9c-2408-08d8e6f6683e
X-MS-Exchange-CrossTenant-AuthSource: VI1PR07MB6704.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2021 14:35:26.0182 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: qgI3yvqWb0GF5TRaPYPZRolccJYPkmpVwTJUf8qm5SGz64RFlH4mTNBqSeesPsaNuReiaOObID7x5rvx11N5qQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB4191
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/u6anscBM4vLKaEne7zxENH67GlI>
Subject: Re: [TLS] Last Call: <draft-ietf-tls-dtls-connection-id-10.txt> (Connection Identifiers for DTLS 1.2) to Proposed Standard
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: Sun, 14 Mar 2021 14:35:33 -0000

On 13/03/2021 18:03, Thomas Fossati wrote:
> hi Tom,
>
> On 13/03/2021, 11:54, "tom petch" <daedulus@btconnect.com> wrote:
>>> Is your suggestion to remove the parenthetical?  I.e.:
>>>
>>> OLD
>>>      A zero-length value indicates that the server will send with the
>>>      client's CID but does not wish the client to include a CID (or
>>>      again, alternately, to use a zero-length CID).
>>>
>>> NEW
>>>      A zero-length value indicates that the server will send with the
>>>      client's CID but does not wish the client to include a CID.
>>
>> Thomas
>>
>> Yes, that would fix this particular problem I have within this
>> section.
>>
>> I word it that way since I did raise two other doubts about the
>> wording in this section in my original post, one about successful
>> negotiation, which seems to me an undefined term, and one about
>> sending and receiving, which seems over-restrictive in the context.
>
> At the top of the thread, you suggested to change:
>
>>   If DTLS peers have negotiated the use of a CIDs using the ClientHello
>>   and the ServerHello messages
>
> into:
>
>>   If DTLS peers have negotiated the use of a non-zero CID in at least
>>   one direction, using the ClientHello and the ServerHello messages
>
> which is fine with me.
>
> However, I think it doesn't completely remove the ambiguity you are
> pointing at.  So I'd suggest we also change the paragraph just above
> from:
>
>     If DTLS peers have not negotiated the use of CIDs then the RFC
>     6347-defined record format and content type MUST be used.
>
> to:
>
>     If DTLS peers have not negotiated the use of CIDs, which includes the
>     case where both sent a zero-length cid in their connection_id
>     extensions, then the RFC 6347-defined record format and content
>     type MUST be used.

Thomas

Yes, I agree, that is needed as well.

Tom Petch

>
> Regarding your suggestion:
>
>> "The DTLS peers determine whether incoming and outgoing messages
>> need.." seems not to cater for unidirectional CIDs; perhaps
>> "The DTLS peers determine whether incoming or outgoing, or both,
>> messages need.."
>
> It surely works for me.
>
> cheers, thanks!
>
> 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.