Re: sockets APIs extensions for Host Identity Protocol

Stephane Bortzmeyer <bortzmeyer@nic.fr> Wed, 09 May 2007 12:17 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 1Hll6T-0004tM-PV; Wed, 09 May 2007 08:17:09 -0400
Received: from discuss by megatron.ietf.org with local (Exim 4.43) id 1Hll6S-0004sC-Ps for discuss-confirm+ok@megatron.ietf.org; Wed, 09 May 2007 08:17:08 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1Hll6S-0004s4-GL for discuss@apps.ietf.org; Wed, 09 May 2007 08:17:08 -0400
Received: from mx2.nic.fr ([192.134.4.11]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Hll6R-0001kl-7B for discuss@apps.ietf.org; Wed, 09 May 2007 08:17:08 -0400
Received: from mx2.nic.fr (localhost [127.0.0.1]) by mx2.nic.fr (Postfix) with SMTP id 29DFE1C009D; Wed, 9 May 2007 14:17:04 +0200 (CEST)
Received: from relay2.nic.fr (relay2.nic.fr [192.134.4.163]) by mx2.nic.fr (Postfix) with ESMTP id 255BC1C00DE; Wed, 9 May 2007 14:17:03 +0200 (CEST)
Received: from bortzmeyer.nic.fr (batilda.nic.fr [192.134.4.69]) by relay2.nic.fr (Postfix) with ESMTP id 22BC258EBB8; Wed, 9 May 2007 14:17:03 +0200 (CEST)
Date: Wed, 9 May 2007 14:17:03 +0200
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: Keith Moore <moore@cs.utk.edu>
Subject: Re: sockets APIs extensions for Host Identity Protocol
Message-ID: <20070509121703.GA21070@nic.fr>
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
Content-Disposition: inline
In-Reply-To: <46413DD7.8020702@cs.utk.edu>
X-Operating-System: Debian GNU/Linux 4.0
X-Kernel: Linux 2.6.18-4-686 i686
Organization: NIC France
X-URL: http://www.nic.fr/
User-Agent: Mutt/1.5.13 (2006-08-11)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b19722fc8d3865b147c75ae2495625f2
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, May 08, 2007 at 11:19:51PM -0400,
 Keith Moore <moore@cs.utk.edu> wrote 
 a message of 29 lines which said:

> 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.

I strongly object to the idea of application programmers dealing with
NAT, IPv4 vs. IPv6 or source address selection for the eternity. The
wiring of level-3 details in the applications is precisely what makes
the transition to IPv6 so difficult. Applications should not have to
be "ported to IPv6". They should work the same with both level-3
protocols (and, indeed, they do, in every language but C).

If the IPv6 problems are to be useful, it is in showing that there is
ZERO probability of splitting the identifier and the locator if we
have to change the applications.

I also really doubt that the typical application programmer is able to
do a better job than the kernel / libraries to, choose the source
address or other level-3 features. Plus, IMHO, if someone must
influence this selection, it should be the system and network
administrator, not the application programmer.

> only if you want to limit the deployability and/or efficiency of
> your application.

As an user, I would be very afraid of an application which tries to
play tricks with NAT...