Re: [nbs] Preparing for a BoF about name-based sockets.

Javier Ubillos <jav@sics.se> Wed, 15 September 2010 19:44 UTC

Return-Path: <jav@sics.se>
X-Original-To: nbs@core3.amsl.com
Delivered-To: nbs@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E24933A6A7C for <nbs@core3.amsl.com>; Wed, 15 Sep 2010 12:44:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.033
X-Spam-Level:
X-Spam-Status: No, score=-2.033 tagged_above=-999 required=5 tests=[AWL=0.216, BAYES_00=-2.599, HELO_EQ_SE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tS9c2OuZonKk for <nbs@core3.amsl.com>; Wed, 15 Sep 2010 12:44:20 -0700 (PDT)
Received: from letter.sics.se (letter.sics.se [193.10.64.6]) by core3.amsl.com (Postfix) with ESMTP id BD14F3A6A08 for <nbs@ietf.org>; Wed, 15 Sep 2010 12:44:18 -0700 (PDT)
Received: from [192.168.10.150] (h206n3-haes-a12.ias.bredband.telia.com [78.72.156.206]) (Authenticated sender: jav@sics.se) by letter.sics.se (Postfix) with ESMTPSA id 3E6BA3FFFF; Wed, 15 Sep 2010 21:44:42 +0200 (CEST)
From: Javier Ubillos <jav@sics.se>
To: Dan Wing <dwing@cisco.com>
In-Reply-To: <0c0701cb54fa$e4582450$ad086cf0$@com>
References: <1284491822.2019.18.camel@bit> <4C902878.5080507@gmail.com> <9B57C850BB53634CACEC56EF4853FF65342C3ECA@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <6D4ED1BE-85B6-48D8-B58E-33C3440F5C8F@gmail.com> <0c0701cb54fa$e4582450$ad086cf0$@com>
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-0czf2Fa8LWJISWUpAGS5"
Date: Wed, 15 Sep 2010 21:44:41 +0200
Message-ID: <1284579881.8489.202.camel@bit>
Mime-Version: 1.0
X-Mailer: Evolution 2.28.3
Cc: 'Stuart Cheshire' <cheshire@apple.com>, 'Olaf Kolkmann' <olaf@nlnetlabs.nl>, 'Mingwei Xu' <xmw@csnet1.cs.tsinghua.edu.cn>, 'Björn Grönvall' <bg@sics.se>, 'Ran Atkinson' <ran.atkinson@gmail.com>, 'Jun Bi' <junbi@cernet.edu.cn>, 'Patrik Fältström' <patrik@frobbit.se>, 'Lixia Zhang' <lixia@cs.ucla.edu>, 'Yong Cui' <cuiyong@tsinghua.edu.cn>, 'Dave Thaler' <dthaler@microsoft.com>, 'Ralph Droms' <rdroms@cisco.com>, 'Tony Li' <tony.li@tony.li>, 'Jari Arkko' <jari.arkko@piuha.net>, 'Bengt Ahlgren' <bengta@sics.se>, 'Leslie Daigle' <leslie@thinkingcat.com>, 'Pete Resnick' <presnick@qualcomm.com>, 'Brian E Carpenter' <brian.e.carpenter@gmail.com>, 'Name-based Sockets List' <nbs@ietf.org>
Subject: Re: [nbs] Preparing for a BoF about name-based sockets.
X-BeenThere: nbs@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Name based sockets discussion list <nbs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nbs>, <mailto:nbs-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nbs>
List-Post: <mailto:nbs@ietf.org>
List-Help: <mailto:nbs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nbs>, <mailto:nbs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Sep 2010 19:44:22 -0000

(sorry for sending double copies, I messed up the recipient list on the
previous one).

On Wed, 2010-09-15 at 10:24 -0700, Dan Wing wrote:
> Here's the problem I see to get this going:  the only applications
> that have referral problems are applications that do referrals.  This
> is not a general problem for HTTP.  It is a general problem for 
> SIP/XMPP/RTSP, which have a separate signaling channel from their
> data channel.  The problem I see is how does "Grandma's computer"
> get a name?
> 
> All the APIs to *use* that name are neat, and absolutely necessary.  
> But if the computer doesn't have a way to get a name...  aren't
> we missing the important bootstrapping function? 

The way I see it, the lookup substrate is still undefined, and there is
not a single solution.

Today, in the draft we have:

"
   Names can be provided in any of three ways.

   o  FQDN.  The Fully Qualified Domain Name of the host.  This will
      allow e.g.  DNSsec to provide authenticity of the name.

   o  ip6.arpa.  Using one of the hosts interfaces addresses as a name.

   o  Nonce.  A one-use only session identifier.
"

This might very well be extended to include

   o  "Naming convention of your own choice."

The API can include a field indicating what kind of name this is (and
hopefully also have some sensible default).

This way, an application can choose lookup its substrate from a palette
of solutions.

Granma's computer can either be referred to by FQDN, IP, your favorite
lookup system and so on. Pick your favorite.

Method of NAT penetration would be coupled with this.
A naive example:
Let name-based sockets include Teredo, insert your name + teredo-address
into Kademlia. 
Without making any claims about performance, there's a recipe for
arbitrary name + NA(P)T transparency.

I don't think we'll have a silver-bullet solution that works for all.
We need to provide a set of solutions.

// Javier