Re: [IPsec] draft-kampati-ipsecme-ikev2-sa-ts-payloads-opt-01

Paul Wouters <paul@nohats.ca> Tue, 16 July 2019 21:39 UTC

Return-Path: <paul@nohats.ca>
X-Original-To: ipsec@ietfa.amsl.com
Delivered-To: ipsec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C7D591200F3 for <ipsec@ietfa.amsl.com>; Tue, 16 Jul 2019 14:39:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=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=nohats.ca
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 wFPuew3rw-Nw for <ipsec@ietfa.amsl.com>; Tue, 16 Jul 2019 14:39:39 -0700 (PDT)
Received: from mx.nohats.ca (mx.nohats.ca [193.110.157.68]) (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 EBD081200D8 for <ipsec@ietf.org>; Tue, 16 Jul 2019 14:39:38 -0700 (PDT)
Received: from localhost (localhost [IPv6:::1]) by mx.nohats.ca (Postfix) with ESMTP id 45pDLw3w18zKqS; Tue, 16 Jul 2019 23:39:36 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1563313176; bh=oU8TRquPZoBu5SaiVOed2eYtR9biN5p7Qt77Amu2MvA=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=JTgb+a4hQ4fSZv8VDsc9BsqaCIdAnHrI5I5GYLnFBQT0gOlvLY9MVQCn58vTyP0UI g7Hcm8OEFqxgy/5jfE0nWqiKLPlsktmBLlBHo1zXXEcm6/9LnzRz028a2KpV9NDabT Qb0x+5ydeUdD2mdE+r5k5vomluJASGKgXkTUzFVI=
X-Virus-Scanned: amavisd-new at mx.nohats.ca
Received: from mx.nohats.ca ([IPv6:::1]) by localhost (mx.nohats.ca [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id PWwo4qjsBYSI; Tue, 16 Jul 2019 23:39:35 +0200 (CEST)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.nohats.ca (Postfix) with ESMTPS; Tue, 16 Jul 2019 23:39:34 +0200 (CEST)
Received: from [193.111.228.93] (unknown [193.111.228.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bofh.nohats.ca (Postfix) with ESMTPSA id 4430D4392DB; Tue, 16 Jul 2019 17:39:33 -0400 (EDT)
DKIM-Filter: OpenDKIM Filter v2.11.0 bofh.nohats.ca 4430D4392DB
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (1.0)
From: Paul Wouters <paul@nohats.ca>
X-Mailer: iPhone Mail (16F203)
In-Reply-To: <2DA788A5A7D91747AEA54B502558D73828253F93@DGGEMM505-MBX.china.huawei.com>
Date: Tue, 16 Jul 2019 17:39:16 -0400
Cc: "ipsec@ietf.org" <ipsec@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <67B39EDF-7233-4E3A-94D1-2A0DFB2193E1@nohats.ca>
References: <21677.1562175502@localhost> <2DA788A5A7D91747AEA54B502558D73828253F93@DGGEMM505-MBX.china.huawei.com>
To: Sandeep Kampati <sandeepkampati@huawei.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipsec/M6YrLVoCNzhDU-QEcY31F2SZMuk>
Subject: Re: [IPsec] draft-kampati-ipsecme-ikev2-sa-ts-payloads-opt-01
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipsec/>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Jul 2019 21:39:41 -0000

> On Jul 16, 2019, at 06:02, Sandeep Kampati <sandeepkampati@huawei.com> wrote:
> 
> 
> If we send more number of cryptographic suits the percentage of saving will increase 

But for a rekey, the initiator could just send the currently used negotiated transforms. It knows these are accepted / favoured. If for some reason the currently used transforms are no longer accepted, it could do a new initial exchange after the rekey failed, or another rekey attempt with more ciphers.
So the gain should not be measured against the 120 transforms.


> Most if deployment scenario what I observed is initiator is sending at least 5 cryptographic suits, in some deployment scenarios they are sending 120 cryptographic suites

Strongswan is known to send everything it got. Which is a giant amount. With debugging enabled, the entire code was so slow the exchange timed out. We had to rewrite proposal parser to be smarter.

But I only expect such a large set on the initial exchanges - not on rekeys.

Paul