Re: [Mip4] WGLC Comments: draft-ietf-mip4-mobike-connectivity-01.txt

Henrik Levkowetz <henrik@levkowetz.com> Thu, 14 December 2006 10:56 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1GuoGV-0002Yh-6x; Thu, 14 Dec 2006 05:56:39 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1GuoGT-0002YM-Pr for mip4@ietf.org; Thu, 14 Dec 2006 05:56:37 -0500
Received: from av10-1-sn2.hy.skanova.net ([81.228.8.181]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GuoGQ-0003q6-CM for mip4@ietf.org; Thu, 14 Dec 2006 05:56:37 -0500
Received: by av10-1-sn2.hy.skanova.net (Postfix, from userid 502) id B6F813C997; Thu, 14 Dec 2006 11:56:33 +0100 (CET)
Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av10-1-sn2.hy.skanova.net (Postfix) with ESMTP id 9987637FE7; Thu, 14 Dec 2006 11:56:33 +0100 (CET)
Received: from shiraz.levkowetz.com (81-232-110-214-no16.tbcn.telia.com [81.232.110.214]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 18C0F37E44; Thu, 14 Dec 2006 11:56:32 +0100 (CET)
Received: from localhost ([127.0.0.1]) by shiraz.levkowetz.com with esmtp (Exim 4.63) (envelope-from <henrik@levkowetz.com>) id 1GuoGO-0000GP-6t; Thu, 14 Dec 2006 11:56:32 +0100
Message-ID: <45812DDD.8000808@levkowetz.com>
Date: Thu, 14 Dec 2006 11:56:29 +0100
From: Henrik Levkowetz <henrik@levkowetz.com>
User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025)
MIME-Version: 1.0
To: "Narayanan, Vidya" <vidyan@qualcomm.com>
Subject: Re: [Mip4] WGLC Comments: draft-ietf-mip4-mobike-connectivity-01.txt
References: <C24CB51D5AA800449982D9BCB903251335E935@NAEX13.na.qualcomm.com>
In-Reply-To: <C24CB51D5AA800449982D9BCB903251335E935@NAEX13.na.qualcomm.com>
X-Enigmail-Version: 0.94.1.2
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: vidyan@qualcomm.com, vijay.devarapalli@azairenet.com, mip4@ietf.org, henrik-sent@levkowetz.com
X-SA-Exim-Mail-From: henrik@levkowetz.com
X-SA-Exim-Scanned: No (on shiraz.levkowetz.com); SAEximRunCond expanded to false
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 3a4bc66230659131057bb68ed51598f8
Cc: Mobile IPv4 Mailing List <mip4@ietf.org>, Vijay Devarapalli <vijay.devarapalli@azairenet.com>
X-BeenThere: mip4@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Mobility for IPv4 <mip4.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/mip4>, <mailto:mip4-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:mip4@ietf.org>
List-Help: <mailto:mip4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/mip4>, <mailto:mip4-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0586524581=="
Errors-To: mip4-bounces@ietf.org

on 2006-12-14 03:45 Narayanan, Vidya said the following:
>  
> 
>> -----Original Message-----
>> From: Vijay Devarapalli [mailto:vijay.devarapalli@AzaireNet.com] 
>> Sent: Wednesday, December 13, 2006 6:26 PM
>> To: Henrik Levkowetz
>> Cc: Narayanan, Vidya; Mobile IPv4 Mailing List
>> Subject: Re: [Mip4] WGLC Comments: 
>> draft-ietf-mip4-mobike-connectivity-01.txt
>> 
>> Henrik Levkowetz wrote:
>> > 
>> > on 2006-12-13 23:18 Narayanan, Vidya said the following:
>> >> <snip>
>> >>
>> >>> *Exactly*.  So rules which says that port 434 from TIA to 
>> HA always 
>> >>> go through the tunnel, port 434 from non-TIA to HA never goes to 
>> >>> tunnel will work.  No need for anything more complex.
>> >>>
>> >> A rule to the effect of "UDP Port = 434, Local IP address != TIA, 
>> >> Remote IP address = HA --> Bypass" is not something that 
>> can be set 
>> >> up, in accordance with RFC4301, as far as I know.
>> > 
>> > Why on earth not?  You'd say UDP, Port=434, Dest=HA, 
>> Src=TIA (which is 
>> > a known, fixed address, just as HA is) --> Tunnel, and if 
>> this isn't 
>> > taken, you have UDP, Port=434, Dest=HA --> Bypass.
>> 
>> It is actually trivial to setup SPD entries so that you can 
>> send one registration request from the local IP address with 
>> the destination set to the HA so that it bypasses the IPsec 
>> engine. There will be one for the registration request with 
>> source address set to the TIA.
>> 
> 
> I am missing something. In a typical remote access VPN setup, there will
> be one SA used to protect any traffic being sent from the host. So, the
> SPD entry will specify a range of remote IP addresses (typically, either
> everything or configured enterprise subnets) that should be protected.
> There are corporate VPNs that don't allow any bypass, period. For those
> setups, all outbound traffic will be sent using that SA and all
> unprotected inbound traffic will be discarded. Where bypassing is
> allowed, specific bypass rules need to be in place. If the PROTECT
> condition applies (say, where the remote address falls within the range
> of configured subnets), the packet will be sent via the VPN tunnel. If
> there is a BYPASS rule that applies, it will be bypassed. All other
> packets will be discarded. The HA IP address will fall under the range
> of addresses within the enterprise subnets that would be setup for a
> PROTECT condition in the SPD. 
> 
> If you are relying on the order of SPD entries for the bypass rule to
> catch it before the protect rule, it is problematic, since that will
> result in all RRQs being bypassed. If you go through the protect rule
> first, it is going to be protected, given that the HA IP address is
> likely to be part of the range of addresses that need protection. 

WHOA!!!

RFC 4301 clearly specifies that the SPD is an *ordered* database, exactly
for cases like this, where rules overlap and it is important to process
them in the correct order.  This is also what I'd expect from practical
experience.

This is just not a problem.

> Also, I'd say that if you expect MIP-specific IPsec SPD entries to be
> cumpulsorily present on the host/VPN GW, this document needs to spell
> those out. My main problem here is that the document is written such
> that it just uses a corporate VPN with MOBIKE capability. I don't see
> how that is sufficient. 

Actually, since MIP implementations need to have low-level access to raw
incoming packets, to do their job right, they work through mechanisms
like xBSD's BPF-taps or Windows' various slots low in the IP stack where
drivers can attach.  So the choice of using SPD entries to bypass the
VPN tunnel is only one way of doing this; there are other ways which
also will work fine, and practical experience is probably needed to
determine what approach will be best in which market.  I don't think we
should put all of that in this draft; as an implementor, this seems to me
like something which has to be worked out, but doesn't need to be covered
in the document necessarily.


	Henrik

-- 
Mip4 mailing list: Mip4@ietf.org
    Web interface: https://www1.ietf.org/mailman/listinfo/mip4
     Charter page: http://www.ietf.org/html.charters/mip4-charter.html
Supplemental site: http://www.mip4.org/