Re: sockets APIs extensions for Host Identity Protocol

Miika Komu <miika@iki.fi> Thu, 10 May 2007 18:48 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 1HmDgo-0007bs-MD; Thu, 10 May 2007 14:48:34 -0400
Received: from discuss by megatron.ietf.org with local (Exim 4.43) id 1Hlgye-0001bF-DS for discuss-confirm+ok@megatron.ietf.org; Wed, 09 May 2007 03:52:48 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1Hlgyd-0001b7-UZ for discuss@apps.ietf.org; Wed, 09 May 2007 03:52:47 -0400
Received: from twilight.cs.hut.fi ([130.233.40.5]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Hlgyc-0002zM-Ix for discuss@apps.ietf.org; Wed, 09 May 2007 03:52:47 -0400
Received: by twilight.cs.hut.fi (Postfix, from userid 60001) id 020C52CFE; Wed, 9 May 2007 10:52:45 +0300 (EEST)
X-Spam-Checker-Version: SpamAssassin 3.2.0-niksula20070322 (2007-05-01) on twilight.cs.hut.fi
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.2.0-niksula20070322
X-Spam-Niksula: No
Received: from kekkonen.cs.hut.fi (kekkonen.cs.hut.fi [130.233.41.50]) by twilight.cs.hut.fi (Postfix) with ESMTP id 615602CDF; Wed, 9 May 2007 10:52:45 +0300 (EEST)
Date: Wed, 09 May 2007 10:52:45 +0300
From: Miika Komu <miika@iki.fi>
X-X-Sender: mkomu@kekkonen.cs.hut.fi
To: Keith Moore <moore@cs.utk.edu>
Subject: Re: sockets APIs extensions for Host Identity Protocol
In-Reply-To: <46413DD7.8020702@cs.utk.edu>
Message-ID: <Pine.SOL.4.64.0705091038010.4639@kekkonen.cs.hut.fi>
References: <Pine.SOL.4.64.0705041801060.14418@kekkonen.cs.hut.fi> <20070507082737.GB21759@nic.fr> <46413DD7.8020702@cs.utk.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"; format="flowed"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 69a74e02bbee44ab4f8eafdbcedd94a1
X-Mailman-Approved-At: Thu, 10 May 2007 14:48:33 -0400
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

On Tue, 8 May 2007, Keith Moore wrote:

Hi,

> Stephane Bortzmeyer wrote:
>>> One could conceive that such a level of indirection could be used
>>> more generally outside of HIP, to enable applications to be more
>>> compatible across IP versions, for instance.
>>>
>>
>> One important thing: this is only for the C programming language. In
>> most (all?) other languages, programmers no longer handle directly IP
>> addresses and thus are shielded from things like IPv4 vs. IPv6 or
>> addresses vs. handles.
>
> In those cases, the programmers are also crippled and prevented from
> dealing effectively with various cases that are now increasingly common
> in the Intenet today: NATs,  multiple addresses for source and
> destination (not all of which work equally well), IPv4 vs IPv6 (for
> which the default address selection rules are woefully inadequate),
> multi-faced DNS, LLMNR, etc.

Yes, we need both simple and advanced interfaces and let the 
application developer choose what ever that is required for the 
application. This considers especially multihoming:

http://www.ietf.org/internet-drafts/draft-ietf-shim6-multihome-shim-api-02.txt

For the NAT traversal, my opinion is that we should should avoid making 
the applications NAT aware because would just too much unnecessarily 
redundant code around. This is approach taken in the NAT traversal draft 
(beware, the protocol mechanism is going to change in the next version 
radically):

http://www.ietf.org/internet-drafts/draft-ietf-hip-nat-traversal-01.txt

-- 
Miika Komu                                       http://www.iki.fi/miika/