Re: [Hipsec] HIP transforms

Ari Keranen <ari.keranen@nomadiclab.com> Mon, 14 February 2011 16:44 UTC

Return-Path: <ari.keranen@nomadiclab.com>
X-Original-To: hipsec@core3.amsl.com
Delivered-To: hipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B18C93A69EB for <hipsec@core3.amsl.com>; Mon, 14 Feb 2011 08:44:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bhIa+pAF7AvB for <hipsec@core3.amsl.com>; Mon, 14 Feb 2011 08:44:01 -0800 (PST)
Received: from gw.nomadiclab.com (unknown [IPv6:2001:14b8:400:101::2]) by core3.amsl.com (Postfix) with ESMTP id 784DA3A699E for <hipsec@ietf.org>; Mon, 14 Feb 2011 08:44:00 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by gw.nomadiclab.com (Postfix) with ESMTP id E09274E6D7; Mon, 14 Feb 2011 18:44:21 +0200 (EET)
X-Virus-Scanned: amavisd-new at nomadiclab.com
Received: from gw.nomadiclab.com ([127.0.0.1]) by localhost (inside.nomadiclab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kzLs-NjKLpJo; Mon, 14 Feb 2011 18:44:21 +0200 (EET)
Received: from [IPv6:::1] (localhost [IPv6:::1]) by gw.nomadiclab.com (Postfix) with ESMTP id 5FBE74E6CF; Mon, 14 Feb 2011 18:44:21 +0200 (EET)
Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: text/plain; charset="us-ascii"
From: Ari Keranen <ari.keranen@nomadiclab.com>
In-Reply-To: <3B655520-4A45-4B06-8616-76B39E66976B@cs.rwth-aachen.de>
Date: Mon, 14 Feb 2011 18:44:21 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <904F15AA-9DD3-4CD3-BA56-375470DA5CB0@nomadiclab.com>
References: <3B655520-4A45-4B06-8616-76B39E66976B@cs.rwth-aachen.de>
To: Tobias Heer <heer@cs.rwth-aachen.de>
X-Mailer: Apple Mail (2.1082)
Cc: HIP <hipsec@ietf.org>
Subject: Re: [Hipsec] HIP transforms
X-BeenThere: hipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "This is the official IETF Mailing List for the HIP Working Group." <hipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hipsec>
List-Post: <mailto:hipsec@ietf.org>
List-Help: <mailto:hipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Feb 2011 16:44:01 -0000

Hi,

On Feb 12, 2011, at 6:47 PM, Tobias Heer wrote:
[...]
> I see two options here:
> 
> 
> A) Give all transforms the same type number and an additional sub-type number.
> The order of the parameters in the HIP packet would indicate the preference
> then. From a handling-point-of-view this option is very similar to as it is now
> but there would be just one transform type with subtypes.
> 
> Example HIP packet excerpt:
> (2096 is an arbitrary type number for the new transport form parameter)
> +------+ +------+--------+ +------+--------+ 
> |Header| | 2096 | 1| ESP | | 2096 | 2| XYZ | ... 
> +------+ +---------------+ +------+--------+
> This would mean ESP is preferred, XYZ is not preferred but supported.
> 
> 
> 
> B) Give all transforms different type numbers, keep the ordering and express
> preference in a list. From a specification-point-of-view this is similar to what we have now.
> 5202 could stay mostly as it is now.
> 
> Example HIP packet excerpt:
> (ESP has type number 4095 but for the clarity of the example I use 2095)
> +------+ +----+--------------+ +----+---+ +----+---+ 
> |Header| |2050|List: ESP, XYZ| |2095|XYZ| |4095|ESP| ... 
> +------+ +----+--------------+ +----+---+ +----+---+
>                ^
>                |
> List------------+
> 
> Again, this would mean ESP is preferred, XYZ is not preferred but supported.
> 
> I prefer option B because it is more similar to other negotiations in BEX.
> 
> Any opinions?

I'd go for B.


Cheers,
Ari