Re: [Hipsec] HIP Native NAT Traversal

"Dan Wing" <dwing@cisco.com> Tue, 13 April 2010 19:42 UTC

Return-Path: <dwing@cisco.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 B3F3D3A6AA9 for <hipsec@core3.amsl.com>; Tue, 13 Apr 2010 12:42:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.289
X-Spam-Level:
X-Spam-Status: No, score=-10.289 tagged_above=-999 required=5 tests=[AWL=0.310, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 ziPTGLrEywLt for <hipsec@core3.amsl.com>; Tue, 13 Apr 2010 12:42:05 -0700 (PDT)
Received: from sj-iport-1.cisco.com (sj-iport-1.cisco.com [171.71.176.70]) by core3.amsl.com (Postfix) with ESMTP id 0DC8728C125 for <hipsec@ietf.org>; Tue, 13 Apr 2010 12:41:30 -0700 (PDT)
Authentication-Results: sj-iport-1.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AjEIACdmxEurR7Ht/2dsb2JhbACHWoEUklZxom+aIYUNBIMn
X-IronPort-AV: E=Sophos;i="4.52,199,1270425600"; d="scan'208";a="316845365"
Received: from sj-core-1.cisco.com ([171.71.177.237]) by sj-iport-1.cisco.com with ESMTP; 13 Apr 2010 19:41:24 +0000
Received: from dwingwxp01 ([10.32.240.194]) by sj-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id o3DJfOWJ003434; Tue, 13 Apr 2010 19:41:24 GMT
From: Dan Wing <dwing@cisco.com>
To: 'Ari Keranen' <ari.keranen@nomadiclab.com>
References: <4BBF283A.9080408@ericsson.com> <4BBF8C33.8050203@cs.hut.fi> <4BC2E8D6.6030404@nomadiclab.com> <010501cada94$b4cbcab0$ada56b80@cisco.com> <4BC418CF.8040605@nomadiclab.com>
Date: Tue, 13 Apr 2010 12:41:23 -0700
Message-ID: <05c001cadb41$4cbc3380$ada56b80@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <4BC418CF.8040605@nomadiclab.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
Thread-Index: Acra2Fzov6YTCZm0TraC0y8Yw/8RoAAaM1Qw
Cc: hipsec@ietf.org
Subject: Re: [Hipsec] HIP Native NAT Traversal
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: Tue, 13 Apr 2010 19:42:06 -0000

 

> -----Original Message-----
> From: Ari Keranen [mailto:ari.keranen@nomadiclab.com] 
> Sent: Tuesday, April 13, 2010 12:10 AM
> To: Dan Wing
> Cc: hipsec@ietf.org
> Subject: Re: [Hipsec] HIP Native NAT Traversal
> 
> On 04/13/2010 02:05 AM, Dan Wing wrote:
> >> -----Original Message-----
> >> From: hipsec-bounces@ietf.org 
> >> [mailto:hipsec-bounces@ietf.org] On Behalf Of Ari Keranen
> >> Sent: Monday, April 12, 2010 2:33 AM
> >> To: hipsec@ietf.org
> >> Subject: Re: [Hipsec] HIP Native NAT Traversal
> >>
> >> Hi,
> >>
> >> On 04/09/2010 11:21 PM, Miika Komu wrote:
> >>> On 04/09/2010 04:14 PM, Gonzalo Camarillo wrote:
> >>>> in Anaheim, we decided to continue discussing on the list 
> >> the following
> >>>> draft:
> >>>>
> >>>>
> >> https://datatracker.ietf.org/doc/draft-keranen-hip-native-nat-
> >> traversal/
> >>>> In particular, I would like to see discussions on the 
> >> lessons learned
> >>>> from the STUN-based implementations and potential benefits of
> >>>> implementing STUN-like functionality in HIP.
> >>> from a protocol design perspective, demultiplexing of HIP, 
> >> ESP and STUN 
> >>> packets is complicated. At implementation level, this 
> introduced an 
> >>> additional requirement of packet capture using iptables. I 
> >> believe this 
> >>> part would become cleaner design and implementation-wise by 
> >> replacing 
> >>> STUN with HIP.
> >> This is indeed a problem if you don't want to patch kernel 
> >> code. While 
> >> HIP packets can be simply demultiplexed using the non-ESP 
> >> marker, STUN 
> >> packets can't and therefore you need to either use some 
> >> filtering before 
> >> the IPsec processing (e.g., iptables) or process all the 
> >> packets at user 
> >> space, which causes some performance penalty.
> > 
> > Has there been a discussion to send STUN directly over HIP, rather 
> > than replacing STUN with STUN-mimicing HIP messages?  Sending
> > STUN messages directly over HIP would remove the need to demux
> > STUN/HIP/ESP -- you would only need to demux HIP/ESP in the kernel
> > (as with today's HIP), and deal with a single HIP 'container' for
> > the STUN messages.
> 
> As Miika pointed out, this would still require implementing a 
> STUN stack 
> and considering that what is missing from HIP compared to 
> STUN is just a 
> couple of parameters, it does not seem worth while to duplicate all 
> those features with STUN on top of HIP. Also, you would lose the 
> possibility for middleboxes doing something smart when they 
> see STUN if 
> STUN was carried over HIP (if middleboxes would understand STUN over 
> HIP, they would probably understand HIP too), so many of the 
> benefits of 
> using STUN would not apply here.

Ok.

(I fear the day that middleboxes try to understand and 'help' STUN.)

> >>> It actually took quite a lot effort to hook in a standalone 
> >>> ICE library 
> >>> to the base exchange code. I believe it would also further 
> >>> complicate 
> >>> the mobility code.
> >> Also, using TURN for relaying IPsec ESP is not all that 
> >> simple since you 
> >> need to add and remove the TURN framing when sending data 
> via a TURN 
> >> relay.
> > 
> > IPsec ESP native (IP protocol 50) across a NAT?  This isn't
> > going to work well with large scale NATs with lots of clients
> > going to the same destination (e.g., the same TURN server),
> > as I understand IPsec rekeying changes the SPI and the large
> > scale NAT won't know which IPsec session just got rekeyed.
> 
> Actually, I meant UDP encapsulated IPsec ESP as described in 
> draft-ietf-hip-nat-traversal.

Ok, thanks.

-d