Re: sockets APIs extensions for Host Identity Protocol

Keith Moore <moore@cs.utk.edu> Thu, 10 May 2007 15:07 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 1HmAEo-0006JF-K6; Thu, 10 May 2007 11:07:26 -0400
Received: from discuss by megatron.ietf.org with local (Exim 4.43) id 1HmAEn-0006Il-2i for discuss-confirm+ok@megatron.ietf.org; Thu, 10 May 2007 11:07:25 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1HmAEm-0006Ic-PV for discuss@apps.ietf.org; Thu, 10 May 2007 11:07:24 -0400
Received: from ka.cs.utk.edu ([160.36.56.221]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HmAEl-0002QU-D9 for discuss@apps.ietf.org; Thu, 10 May 2007 11:07:24 -0400
Received: from localhost (localhost [127.0.0.1]) by ka.cs.utk.edu (Postfix) with ESMTP id 6EC41CB7BF; Thu, 10 May 2007 11:07:22 -0400 (EDT)
X-Virus-Scanned: by amavisd-new with ClamAV and SpamAssasin at cs.utk.edu
Received: from ka.cs.utk.edu ([127.0.0.1]) by localhost (ka.cs.utk.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dpcp0C-zI4Bm; Thu, 10 May 2007 11:06:50 -0400 (EDT)
Received: from lust.indecency.org (user-119b1dm.biz.mindspring.com [66.149.133.182]) by ka.cs.utk.edu (Postfix) with ESMTP id 71ED7CB827; Thu, 10 May 2007 11:06:29 -0400 (EDT)
Message-ID: <464334F4.6020303@cs.utk.edu>
Date: Thu, 10 May 2007 11:06:28 -0400
From: Keith Moore <moore@cs.utk.edu>
User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326)
MIME-Version: 1.0
To: Stephane Bortzmeyer <bortzmeyer@nic.fr>
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> <20070509194309.GA32096@sources.org>
In-Reply-To: <20070509194309.GA32096@sources.org>
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: 4adaf050708fb13be3316a9eee889caa
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

>> First is that there will always be some applications (such as
>> diagnostic tools) that need to know more about the network, so it is
>> necessary to have an API that allows those applications to function.
>>     
>
> We all (I believe) agree that we need a low-level API, mostly, as you
> said, for debugging / monitoring / teaching purposes and for some
> optimizations in very specific applications.
>
> But this is not the point to discuss since we *already* have this API,
> the sockets API, and it works.
>   
the sockets API is not sufficient even as a low-level API.  we're going
to need extensions to both network protocols and the sockets API to
function effectively in a world where hosts have multiple addresses and
it matters which address you use.
> What we discuss is a *new* API, a high-level one, not meant to replace
> the low-level one for *everything* but for most applications.
>   
we do need a high-level API, but such an API still needs to be able to
accept application preferences and requirements for that particular socket.

I generally find that assumptions about "most applications" turn out to
be wrong - if not in the present, than in the in the near future.
>> Fourth, for a variety of reasons, DNS names are not and have never
>> been adequate as general purpose endpoint identifiers,
>>     
>
> This is a sensible explanation but, if we agree with it, it only means
> that we rule out DNS for the identification of the new high-level
> "connection objects". This does not mean that the whole idea of a
> high-level API is wrong.
>   
the idea is fine, but the devil is in the implementation details.  it's
easy to design a high-level API that works for a limited number of
cases, very difficult to make one that works well in practice for
everyone in the diversity of the Internet.
> I use email. I may switch to SIP or Jabber. I did not find a RFC
> describing Skype.
>   
I'm quite willing to learn lessons from their example even if they don't
document their protocol in an RFC.

Keith