RE: [Hipsec] [Hipsec-rg] additional text to HIP legacy apps draft

"Henderson, Thomas R" <thomas.r.henderson@boeing.com> Wed, 17 May 2006 18:56 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1FgRCR-0004OY-I7; Wed, 17 May 2006 14:56:47 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1FgRCQ-0004OT-24 for hipsec@ietf.org; Wed, 17 May 2006 14:56:46 -0400
Received: from stl-smtpout-01.boeing.com ([130.76.96.56]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FgRCM-0001kP-HD for hipsec@ietf.org; Wed, 17 May 2006 14:56:46 -0400
Received: from blv-av-01.boeing.com ([192.42.227.216]) by stl-smtpout-01.boeing.com (8.9.2.MG.10092003/8.8.5-M2) with ESMTP id NAA07301; Wed, 17 May 2006 13:56:31 -0500 (CDT)
Received: from XCH-NWBH-11.nw.nos.boeing.com (localhost [127.0.0.1]) by blv-av-01.boeing.com (8.11.3/8.11.3/MBS-AV-LDAP-01) with ESMTP id k4HIuVr09945; Wed, 17 May 2006 11:56:31 -0700 (PDT)
Received: from XCH-NW-5V1.nw.nos.boeing.com ([130.247.55.44]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 17 May 2006 11:56:26 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Hipsec] [Hipsec-rg] additional text to HIP legacy apps draft
Date: Wed, 17 May 2006 11:56:25 -0700
Message-ID: <77F357662F8BFA4CA7074B0410171B6D01A2F20C@XCH-NW-5V1.nw.nos.boeing.com>
In-Reply-To: <Pine.SOL.4.64.0605170043430.29133@kekkonen.cs.hut.fi>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [Hipsec] [Hipsec-rg] additional text to HIP legacy apps draft
Thread-Index: AcZ5Nh7NOsaolsgrS0um2nf0cMp+cAAqBapQ
From: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>
To: Miika Komu <miika@iki.fi>
X-OriginalArrivalTime: 17 May 2006 18:56:26.0358 (UTC) FILETIME=[9953C960:01C679E3]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 16c9da4896bf5539ae3547c6c25f06a0
Cc: hipsec@ietf.org
X-BeenThere: hipsec@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "This is the official IETF Mailing List for the HIP Working Group." <hipsec.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/hipsec>
List-Post: <mailto:hipsec@lists.ietf.org>
List-Help: <mailto:hipsec-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@lists.ietf.org?subject=subscribe>
Errors-To: hipsec-bounces@lists.ietf.org

(posting only to hipsec)

> -----Original Message-----
> From: Miika Komu [mailto:miika@iki.fi] 
> Sent: Tuesday, May 16, 2006 2:45 PM
> To: hipsec@ietf.org
> Cc: hipsec-rg@ietf.org
> Subject: [Hipsec] [Hipsec-rg] additional text to HIP legacy apps draft
> 

(snip)

> but the draft is now an official WG item.

Results of rechartering discussions have not been announced to the list,
AFAIK.

> 
> Comments are welcome, as always. Thomas, feel free modify and 
> adapt the
> text to the draft.
> 
> 
> 3.2.  Using DNS
> 
> ..
> 
> New paragraph: "Return HIP HITs instead of IP addresses":
> 
> For legacy applications that are not hard coded using IPv4 
> addresses, it
> is also possible to return HITs in resolver calls. An advantage of
> returning a HIT in comparison to returning an LSI is that a HIT is not
> only a locally created identifier but rather has a global meaning. The
> drawbacks are mostly related to referrals which are discussed 
> in detail in
> section <3.4>. 

I think the best way to handle the above suggestion is to add HITs as an
alternative to LSI in the existing paragraph and in this section in
general.  The advantage of using a HIT is that it may be resolvable or
routable by a third-party (referral) HIP-aware system in some cases.  

For that matter, IP addresses should also be mentioned as a candidate
local scope identifier, especially ULIDs.

> Additionally, the resolver implementation has 
> to be careful
> to return the HITs only when the application requests AF_ANY 
> or AF_INET6
> type of addresses. 

I'm not familiar with the AF_ANY family and doubt that many legacy apps
use it presently.  Do you mean AF_UNSPEC?

> A HIP enabled resolver is expected to 
> return first the
> HITs and only after that a list of IPv6 addresses, unless the 
> AI_HIP flag
> is set, as descibed in more detail in section <3.5>.
> 

I am not sure about requiring this particular behavior (vs. just
returning a HIT and no other IP addresses).  

> Suggest adding new section 3.4: Referral issues

I am not sure I want to go so deeply in the direction you are asking.  I
think that referrals are already adequately discussed, but perhaps could
be enhanced by a reference to shim6 draft on referrals (you mentioned as
[C] below)?

Perhaps also mention in 3.3 that the use of HITs in referrals may be
advantageous to LSIs in that HIP-aware hosts may be able to resolve them
in a referral situation.

> 
> A referral is the case when three or more instances of an application
> interacts and the first instance communicates with the second 
> instance,
> and then communicates with the third instances and wishes to tell the
> third instance how to contact the second instance [B]. In order to
> maximize backwards compatibility with legacy applications, it 
> is important
> to consider the type of referrals that applications use. However,
> maximizing backwards compatibility may have some negative impacts that
> need to be considered. In this section, we consider four types of
> referrals: end-point identifiers (HITs), end-point locators 
> (IP addresses)
> and middlebox locators (rendezvous).
> 
> Using HITs as referrals may not work with legacy hosts that 
> are not HIP
> capable as the HITs are not routable. Having routable HITs requires
> additional infrastructure, such as overlays [C]. 

It is not just routability, it is also possibly resolution (i.e., early-
vs. late-binding of HIT to IP address).

> In addition, 
> resolving
> HITs to IP addresses in HIP aware applications 

If the application is HIP aware, why does it (vs. the stack) need to do
resolution?  Do HIP-aware apps in your view still use connect(AF_INET6)?

>requires also extra
> infrastructure such as DHTs because HITs contain no hierarchical
> information, which is really required by DNS. A benefit of 
> using HITs at
> the application layer is that they have a longer expected 
> lifetime than IP
> addresses in mobile environments. However, there may be 
> middleboxes, such
> as NATs between the end-points. As a HIT denotes an end-point 
> rather than
> "middle-point", HITs might be more useful than locators with NATted
> environments, especially when end-points are mobile and when both
> communicating end-points are behind NATs.
> 
> On the other hand, the use of end-point IP addresses as 
> referrals has the
> quite the opposite benefits and drawbacks to HITs. One 
> benefit of using
> end-point IP addresses as referrals is that they are 
> backwards compatible
> even with legacy hosts that are not HIP capable. In addition, 
> they do not
> require any new infrastructure. As a drawback, the expected 
> lifetime of IP
> addresses in mobile environments is lower than HITs. Another 
> drawback is
> that it may be more difficult to disambiquite whether a given 
> IP address
> belongs to the end-point host or e.g. a NAT middle-box.
> 
> Using rendezvous IP addresses as referrals does not work with 
> legacy hosts
> that are not HIP capable. In addition, the rendezvous servers 
> themselves
> are required as an additional infrastructure. As a benefit, 
> the expected
> lifetime of this type of referrals is also longer than for end-point
> addresses in mobile environments. As a second benefit, this 
> case might be
> useful for establishing opportunistic HIP connection between 
> HIP capable
> hosts assuming that the rendezvous server has a sufficient supply of
> locators (one dedicated locator per one responder). When a single
> rendezvous address is dedicated for a single responder, using 
> rendezvous
> addresses as referrals may be less ambigious than when using end-point
> addresses, but more ambiguous than when using HITs.
>

As stated above, I am not sure I'd like to digress so much on the topic
of referrals.
 
> New section "3.5 Enforcing the use of HIP in legacy applications"
> 
> In general, legacy applications are expected to be HIP unaware. In
> practice, this means that the source code of the actual application
> remains unmodified. However, there might be cases when the 
> use of HIP is
> being enforced by either very minimal changes to the 
> application source
> code or to the underlying, dynamically loadable resolver 
> libraries. The
> motivation for doing this is to force the application to establish
> connections using HIP, or to not to establish them at all [A].
> 

I think it is worthwhile to mention somewhere that a dynamically loaded
HIP-aware resolver is one way to control the granularity of using HIP on
a system; I will do so in the next revision.  I don't think a new
section is necessarily needed.

> When the application source code can be modified, AI_HIP flag 
> can set to
> getaddrinfo() resolver call. 

Modifying application code is out of scope for this draft.

> This way, the application either gets
> LSIs/HITs or nothing at all. Alternatively, the resolver 
> library can be
> configured to force the resolver to enforce system specific 
> behaviour when
> the source code of the application cannot be modified. In 
> this case, the
> resolver can return either LSIs/HITs or nothing at all.
> 
> [A] Applying a cryptographic namespace to applications
> http://portal.acm.org/ft_gateway.cfm?id=1080786&type=pdf&coll=
> portal&dl=ACM&CFID=76024067&CFTOKEN=9663775
> [B] 
> http://www.ietf.org/internet-drafts/draft-nordmark-shim6-esd-00.txt
> [C] 
> http://www.ambient-networks.org/docs/Host_Identity_Indirection
_Infrastructure_Hi3.pdf
> 

Thanks,
Tom

_______________________________________________
Hipsec mailing list
Hipsec@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/hipsec