Re: [Hipsec] ROUTE_VIA and _DST support for HIP native API

Miika Komu <miika.komu@hiit.fi> Wed, 29 July 2009 21:59 UTC

Return-Path: <miika.komu@hiit.fi>
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 EE76A3A6BF9 for <hipsec@core3.amsl.com>; Wed, 29 Jul 2009 14:59:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.449
X-Spam-Level:
X-Spam-Status: No, score=-2.449 tagged_above=-999 required=5 tests=[AWL=-0.150, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 kbJhUkqs35SS for <hipsec@core3.amsl.com>; Wed, 29 Jul 2009 14:59:06 -0700 (PDT)
Received: from argo.otaverkko.fi (argo.otaverkko.fi [212.68.0.2]) by core3.amsl.com (Postfix) with ESMTP id 1313F28C0E1 for <hipsec@ietf.org>; Wed, 29 Jul 2009 14:59:00 -0700 (PDT)
Received: from ip104.infrahip.net (81-225-222-227-no16.business.telia.com [81.225.222.227]) by argo.otaverkko.fi (Postfix) with ESMTP id 10DBA25ED16; Thu, 30 Jul 2009 00:59:01 +0300 (EEST)
Message-ID: <4A70C624.8080700@hiit.fi>
Date: Thu, 30 Jul 2009 00:59:00 +0300
From: Miika Komu <miika.komu@hiit.fi>
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
MIME-Version: 1.0
To: Ari Keränen <ari.keranen@nomadiclab.com>
References: <4A64469A.2020402@ericsson.com> <4A704868.5030404@nomadiclab.com> <4A707308.2090209@hiit.fi> <Pine.NEB.4.64.0907292347540.3972@inside.nomadiclab.com>
In-Reply-To: <Pine.NEB.4.64.0907292347540.3972@inside.nomadiclab.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
Cc: HIP <hipsec@ietf.org>
Subject: Re: [Hipsec] ROUTE_VIA and _DST support for HIP native API
X-BeenThere: hipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: miika.komu@hiit.fi
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: Wed, 29 Jul 2009 21:59:07 -0000

Ari Keränen wrote:

Hi,

> On Wed, 29 Jul 2009, Miika Komu wrote:
>> Ari Keranen wrote:
>>> Sorry that this comes a bit late in the process, but I think it would 
>>> make sense to have support for the source routing & route recording 
>>> ROUTE_DST and ROUTE_VIA parameters [1] in the HIP native API. They 
>>> are needed for HIP BONE but likely they have use also in other 
>>> contexts and then an application would need an API for using them.
>>>
>>> Maybe the API that RFC 2292 [2] defines for IPv6 routing header could 
>>> be re-used for this purpose.
>>>
>>>
>>> Cheers,
>>> Ari
>>>
>>> [1] http://tools.ietf.org/html/draft-camarillo-hip-via-00
>>> [2] http://tools.ietf.org/html/rfc2292#section-8
>>
>> I had a brief look a the routing header options and I think this would 
>> require a lot more work. I think we just can't tell "use IPv6 routing 
>> header for route recording" because we need to dig out the differences 
>> with orchid vs. IPv6 routing and flesh out all the details. The 
>> current time schedule is quite tight for this too.
>>
> 
> Actually my idea was not that you would use IPv6 routing header for the 
> route recording, but you could perhaps re-use the API -- if it makes 
> sense. The actual (HIP) route recording and source routing would be done 
> with the ROUTE_{VIA,DST} parameters. If some other API than what RFC 
> 2292 proposes is better, that's perfectly fine for me. Based on your 
> comments, some other form of API is probably better.

I didn't mean that RFC2292 is not suitable. I merely questioned where 
this functionality should be added and that we shouldn't be hasty in 
adding new features that haven't been properly chewed first.

We'd probably need also some socket options to turn hiccups on and off. 
All of the requirements are not clear to me yet.

> Essentially an application would need to be able to give a HIP socket a 
> list of HITs (for source routing), set option to enable route recording 
> and symmetric routing, and be able to read a recorded route (i.e., a 
> list of HITs). I think a quite simple API extension would be sufficient 
> for this.
> 
> But by tight schedule are you referring to WGLC? I guess it's OK to 
> postpone that a couple of days/weeks, if necessary?

Any other opinions on this? What should we do about it?

I have submitted the final 08 version. I am fine with delaying if people 
feel that source routing should be included, but I think it could also 
be hosted in a different draft.

>> Currently, the native API draft defines "Basic Socket Interface 
>> Extensions for Host Identity Protocol (HIP)". I believe the hiccups 
>> extensions belong to the category of "advanced" and the reference to 
>> [2] is also "Advanced Sockets API for IPv6".
>>
>> I would propose that we'd introduce another document for orchid 
>> routing or add them to the VIA draft. Please comment this proposal 
>> ASAP so that I'll have more time to hack this over the night if people 
>> want to see the changes in the native API.
>>
> 
> This is not really a HICCUPS extension, but I see your point. If we have 
> more "advanced" features, a new API draft could make sense, but probably 
> not for just this extension. Also the VIA draft does not seem like a 
> right place for API documentation.

We left out RFC3484 related issues from the native API draft because it 
was too immature for last call. If we started up a new draft, we could 
include source HIT selection when a host has multiple HITs.