Re: sockets APIs extensions for Host Identity Protocol

Keith Moore <moore@cs.utk.edu> Thu, 10 May 2007 18:57 UTC

Return-path: <discuss-bounces@apps.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1HmDpg-0006as-Sf; Thu, 10 May 2007 14:57:44 -0400
Received: from discuss by megatron.ietf.org with local (Exim 4.43) id 1HmDpe-0006Tq-WC for discuss-confirm+ok@megatron.ietf.org; Thu, 10 May 2007 14:57:43 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1HmDpe-0006So-Lr for discuss@apps.ietf.org; Thu, 10 May 2007 14:57:42 -0400
Received: from shu.cs.utk.edu ([160.36.56.39]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HmDpd-0006LT-65 for discuss@apps.ietf.org; Thu, 10 May 2007 14:57:42 -0400
Received: from localhost (localhost [127.0.0.1]) by shu.cs.utk.edu (Postfix) with ESMTP id 87B8A1EE190; Thu, 10 May 2007 14:57:40 -0400 (EDT)
X-Virus-Scanned: by amavisd-new with ClamAV and SpamAssasin at cs.utk.edu
Received: from shu.cs.utk.edu ([127.0.0.1]) by localhost (shu.cs.utk.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iQ0cR-pfjLVM; Thu, 10 May 2007 14:57:21 -0400 (EDT)
Received: from lust.indecency.org (user-119b1dm.biz.mindspring.com [66.149.133.182]) by shu.cs.utk.edu (Postfix) with ESMTP id D40A11EE1C7; Thu, 10 May 2007 14:57:20 -0400 (EDT)
Message-ID: <46436B10.5090706@cs.utk.edu>
Date: Thu, 10 May 2007 14:57:20 -0400
From: Keith Moore <moore@cs.utk.edu>
User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326)
MIME-Version: 1.0
To: Miika Komu <miika@iki.fi>
Subject: Re: sockets APIs extensions for Host Identity Protocol
References: <Pine.SOL.4.64.0705041801060.14418@kekkonen.cs.hut.fi> <20070507082737.GB21759@nic.fr> <46413DD7.8020702@cs.utk.edu> <20070509121703.GA21070@nic.fr> <4641CA52.70504@cs.utk.edu> <Pine.LNX.4.64.0705091449360.26169@hermes-1.csi.cam.ac.uk> <4641D94C.9070304@cs.utk.edu> <Pine.SOL.4.64.0705102013550.10049@kekkonen.cs.hut.fi>
In-Reply-To: <Pine.SOL.4.64.0705102013550.10049@kekkonen.cs.hut.fi>
X-Enigmail-Version: 0.95.0
OpenPGP: id=E1473978
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.1 (/)
X-Scan-Signature: e5ba305d0e64821bf3d8bc5d3bb07228
Cc: discuss@apps.ietf.org
X-BeenThere: discuss@apps.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: general discussion of application-layer protocols <discuss.apps.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/discuss>, <mailto:discuss-request@apps.ietf.org?subject=unsubscribe>
List-Post: <mailto:discuss@apps.ietf.org>
List-Help: <mailto:discuss-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/discuss>, <mailto:discuss-request@apps.ietf.org?subject=subscribe>
Errors-To: discuss-bounces@apps.ietf.org

> My exact question is that what to put into the socket address
> structures when we have HIP-aware applications. Based on the
> discussion, I think we can leave socket address structures based on
> DNS names out of the scope and concentrate on two alternatives:
> globally scoped HITs and locally scoped idenfiers (endpoint descriptors).
>
> The use of globally-scoped HITs has the following trade-offs:
> + No extra translation step from local id to global id
> + Smaller transition step to convert a legacy app to a HIP aware app?
> - Opportunistic HIP mode, where the server's HIT is not known before
> hand,
>   will require a locally-scoped identifier anyway. This is similar to
>   IN6ADDR_ANY, but it is used for the remote host, i.e.,
>   connect(UNKOWN_HIT) where only the locator is known.
> - No future proofing against the HIT size
>
> Locally-scoped identifiers have the reverse properties:
> - Extra translation step from local id to global id
> - Bigger transition step to convert a legacy app to a HIP aware app?
> + All identifiers are of the same type (also in opportunistic HIP mode)
> + Future proofing against changes in the HIT size
>
> If you had to choose between these two, what would you choose and why?
> Do the proposed trade-offs make sense and would have something to add?
offhand, I think you need to support both.  HITs aren't very useful to
apps unless they are visible to them and globally-scoped.  HIP is still
useful without HIT visibility, but less useful.