Re: [Hipsec] HIP Native NAT Traversal
Ari Keranen <ari.keranen@nomadiclab.com> Tue, 13 April 2010 07:10 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 ECB9D3A6896 for <hipsec@core3.amsl.com>; Tue, 13 Apr 2010 00:10:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.915
X-Spam-Level:
X-Spam-Status: No, score=-1.915 tagged_above=-999 required=5 tests=[AWL=0.685, 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 AzjQgdN3DhlK for <hipsec@core3.amsl.com>; Tue, 13 Apr 2010 00:10:24 -0700 (PDT)
Received: from gw.nomadiclab.com (unknown [IPv6:2001:14b8:400:101::2]) by core3.amsl.com (Postfix) with ESMTP id 86E563A6853 for <hipsec@ietf.org>; Tue, 13 Apr 2010 00:10:22 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by gw.nomadiclab.com (Postfix) with ESMTP id DA4794E6C1; Tue, 13 Apr 2010 10:10:08 +0300 (EEST)
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 LZpTYdoBMKx9; Tue, 13 Apr 2010 10:10:07 +0300 (EEST)
Received: from [IPv6:2001:14b8:400:101:21c:23ff:fe45:a6c1] (unknown [IPv6:2001:14b8:400:101:21c:23ff:fe45:a6c1]) by gw.nomadiclab.com (Postfix) with ESMTP id E2AE84E667; Tue, 13 Apr 2010 10:10:07 +0300 (EEST)
Message-ID: <4BC418CF.8040605@nomadiclab.com>
Date: Tue, 13 Apr 2010 10:10:07 +0300
From: Ari Keranen <ari.keranen@nomadiclab.com>
User-Agent: Thunderbird 2.0.0.24 (X11/20100317)
MIME-Version: 1.0
To: Dan Wing <dwing@cisco.com>
References: <4BBF283A.9080408@ericsson.com> <4BBF8C33.8050203@cs.hut.fi> <4BC2E8D6.6030404@nomadiclab.com> <010501cada94$b4cbcab0$ada56b80@cisco.com>
In-Reply-To: <010501cada94$b4cbcab0$ada56b80@cisco.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
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 07:10:27 -0000
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. >>> 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. Cheers, Ari
- [Hipsec] HIP Native NAT Traversal Gonzalo Camarillo
- Re: [Hipsec] HIP Native NAT Traversal Miika Komu
- Re: [Hipsec] HIP Native NAT Traversal Ari Keranen
- Re: [Hipsec] HIP Native NAT Traversal Dan Wing
- Re: [Hipsec] HIP Native NAT Traversal frogsir
- Re: [Hipsec] HIP Native NAT Traversal Miika Komu
- Re: [Hipsec] HIP Native NAT Traversal Dan Wing
- Re: [Hipsec] HIP Native NAT Traversal Ari Keranen
- Re: [Hipsec] HIP Native NAT Traversal Dan Wing
- Re: [Hipsec] HIP Native NAT Traversal frogsir
- Re: [Hipsec] HIP Native NAT Traversal Dan Wing