Re: [Hipsec] ROUTE_VIA and _DST support for HIP native API
Ari Keranen <ari.keranen@nomadiclab.com> Thu, 30 July 2009 10:49 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 D65193A679F for <hipsec@core3.amsl.com>; Thu, 30 Jul 2009 03:49:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.92
X-Spam-Level:
X-Spam-Status: No, score=-4.92 tagged_above=-999 required=5 tests=[AWL=1.329, BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 d93x++G8n1lx for <hipsec@core3.amsl.com>; Thu, 30 Jul 2009 03:49:05 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 404713A6ACA for <hipsec@ietf.org>; Thu, 30 Jul 2009 03:48:50 -0700 (PDT)
X-AuditID: c1b4fb3c-b7b9dae00000519d-b7-4a717a8fbaf5
Received: from esealmw127.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id 28.F3.20893.F8A717A4; Thu, 30 Jul 2009 12:48:48 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.175]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959); Thu, 30 Jul 2009 12:48:08 +0200
Received: from mail.lmf.ericsson.se ([131.160.11.50]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959); Thu, 30 Jul 2009 12:48:07 +0200
Received: from [127.0.0.1] (nomadiclab.lmf.ericsson.se [131.160.33.3]) by mail.lmf.ericsson.se (Postfix) with ESMTP id 929542501; Thu, 30 Jul 2009 13:48:07 +0300 (EEST)
Message-ID: <4A717A63.4000308@nomadiclab.com>
Date: Thu, 30 Jul 2009 13:48:03 +0300
From: Ari Keranen <ari.keranen@nomadiclab.com>
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
MIME-Version: 1.0
To: miika.komu@hiit.fi
References: <4A64469A.2020402@ericsson.com> <4A704868.5030404@nomadiclab.com> <4A707308.2090209@hiit.fi> <Pine.NEB.4.64.0907292347540.3972@inside.nomadiclab.com> <4A70C624.8080700@hiit.fi>
In-Reply-To: <4A70C624.8080700@hiit.fi>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 30 Jul 2009 10:48:07.0996 (UTC) FILETIME=[397407C0:01CA1103]
X-Brightmail-Tracker: AAAAAA==
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
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: Thu, 30 Jul 2009 10:49:06 -0000
Miika Komu wrote: > Ari Keränen wrote: >> 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. OK. > We'd probably need also some socket options to turn hiccups on and off. > All of the requirements are not clear to me yet. Yes, some HICCUPS API extensions would be useful too. >> 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. OK (more of this below). >>> 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. OK, so maybe there is need for such advanced API draft after all and the VIA extensions, as well as HICCUPS extensions, would fit there well. So, I guess there is no need to delay the WGLC of the current basic API draft. Cheers, Ari
- [Hipsec] Requesting the publication of draft-ietf… Gonzalo Camarillo
- Re: [Hipsec] Requesting the publication of draft-… Tobias Heer
- [Hipsec] ROUTE_VIA and _DST support for HIP nativ… Ari Keranen
- Re: [Hipsec] Requesting the publication of draft-… Miika Komu
- Re: [Hipsec] ROUTE_VIA and _DST support for HIP n… Miika Komu
- Re: [Hipsec] Requesting the publication of draft-… Miika Komu
- Re: [Hipsec] ROUTE_VIA and _DST support for HIP n… Ari Keränen
- Re: [Hipsec] Requesting the publication of draft-… Tobias Heer
- Re: [Hipsec] Requesting the publication of draft-… Miika Komu
- Re: [Hipsec] ROUTE_VIA and _DST support for HIP n… Miika Komu
- Re: [Hipsec] ROUTE_VIA and _DST support for HIP n… Ari Keranen