Re: [multipathtcp] Fwd: [rrg] New Paper On Name-Oriented Sockets Interface

Zhen Cao <caozhenpku@gmail.com> Wed, 02 December 2009 14:28 UTC

Return-Path: <caozhenpku@gmail.com>
X-Original-To: multipathtcp@core3.amsl.com
Delivered-To: multipathtcp@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 477A628C1F1 for <multipathtcp@core3.amsl.com>; Wed, 2 Dec 2009 06:28:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.449
X-Spam-Level:
X-Spam-Status: No, score=-2.449 tagged_above=-999 required=5 tests=[AWL=-0.150, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 WwKf1Ot8k5ZT for <multipathtcp@core3.amsl.com>; Wed, 2 Dec 2009 06:28:44 -0800 (PST)
Received: from mail-px0-f184.google.com (mail-px0-f184.google.com [209.85.216.184]) by core3.amsl.com (Postfix) with ESMTP id 7AB5928C1EF for <multipathtcp@ietf.org>; Wed, 2 Dec 2009 06:28:44 -0800 (PST)
Received: by pxi14 with SMTP id 14so175340pxi.31 for <multipathtcp@ietf.org>; Wed, 02 Dec 2009 06:28:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=P2o8zWJSct4g2C5JXXHaufTG9QWRscfDhurN1pxdCdo=; b=LhObfYAwrQLPsHPqsyZOpZKQNduksag+LlPmOrrPDyHBodiNU43VX8Nbl8R7uV15U6 FN3cKVYgPVwqWdCLl1CNer1b/QzYjGBYYcGJ5exq96zAHT1PXBNK8HbNw7V/tUj5r8FM 9JI9OF08zpgkqwyEAPKj9evfZ1vCF2e2Fi5m8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ICdZe2NVo+kdMW9uiVC4J1Hw4bKn1eVwRkY+HglEd+1T0+QjagmhmbCdljKLFudFKB izFINofO8SxxEImDKzKD4lJ/eCoTUKQAzboxfz4nE5rKSG4/jIGYuWSQgwQMNwrCq6Kl SF9duD/pzq5IwDX0jjdvNQZLeB3LaTOtZglmw=
MIME-Version: 1.0
Received: by 10.142.61.19 with SMTP id j19mr17193wfa.201.1259764114027; Wed, 02 Dec 2009 06:28:34 -0800 (PST)
In-Reply-To: <4B1642BC.30508@free.fr>
References: <E67E011C-8012-4407-BCFE-16E3BE97729D@ericsson.com> <3C622E25-DFCA-48A4-A95C-E0F6BABEFD6D@nokia.com> <4B0FB0AA.2060303@gmail.com> <A0D6CBAC-EEC5-48C6-91AF-4FBD9F99073E@free.fr> <4B159F27.4020008@isi.edu> <4B1642BC.30508@free.fr>
Date: Wed, 02 Dec 2009 22:28:33 +0800
Message-ID: <a7c8d0a30912020628he1b0dcn2397d2fff387c30e@mail.gmail.com>
From: Zhen Cao <caozhenpku@gmail.com>
To: Rémi Després <remi.despres@free.fr>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: "multipathtcp@ietf.org List" <multipathtcp@ietf.org>, Stuart Cheshire <cheshire@apple.com>, Christian Vogt <christian.vogt@ericsson.com>
Subject: Re: [multipathtcp] Fwd: [rrg] New Paper On Name-Oriented Sockets Interface
X-BeenThere: multipathtcp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Multi-path extensions for TCP <multipathtcp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/multipathtcp>, <mailto:multipathtcp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/multipathtcp>
List-Post: <mailto:multipathtcp@ietf.org>
List-Help: <mailto:multipathtcp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/multipathtcp>, <mailto:multipathtcp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Dec 2009 14:28:45 -0000

On Wed, Dec 2, 2009 at 6:34 PM, Rémi Després <remi.despres@free.fr> wrote:
> Hi Joe,
>
> Comments below.
> Stuart Cheshire added to the list (AFAIK, the leading advocate of
> connect-by-name).
>
> Regards,
> RD
>
> Joe Touch wrote :
> ...
>>
>> Rémi Després wrote:
>
> ...
>>>
>>> I haven't studied all details of Christian's proposal, but I fully
>>> support that:
>>> - A name-capable API is an essential objective.
>
>
>> I'm not sure this is a desirable objective.
>>
>> When you specify a name, you're not specifying a single address; you're
>> specifying any one of a set of addresses. It's presumed that these are
>> equivalent, but not that they are to the same host. A name-based system
>> could easily end up with a sequence of connections going to different
>> hosts.
>>
>> That's avoided today as:
>>
>>        adr = first(dns("name"))  -- or adr = pickone(dns("name"))
>>        connect(adr)
>>        connect(adr)
>>        connect(adr)
>> There doesn't seem to be a way to achieve this with:
>>
>>        connect("name")
>>        connect("name")
>>        connect("name")
>>
>> This destroys the utility of HTTP cookies, e.g.
>
> Note that:
> - If backward compatibility is maintained, as required in the proposal, a
> name-capable API doesn't imply that it be address-unable.

I have a question here. How does a host know if its peer support the
name oriented sockets or not?

> - Connect-by-name is already mentioned for Shim6 in RFC 5533 - sec. 13, (a
> way to save time when multiple addresses have to be tried for a given domain
> name)
>
> Applications that may depend on successive connections to go to the same
> host, they can use:
>        ConnectByName(name) which returns the chosen adr
>        Connect(adr)
>        Connect(adr)
>        Connect(adr)
>
> The useful novelty ahead is IMHO the following:
> - If a connection initiator includes its domain name in its connection
> request (e.g. in a TCP option) the API of the reached application, if it is
> name-capable, provides both the address AND the name of the connection
> initiator.
> - A consistency check between address and name is done by the transport laye
> before connection acceptance. This check needs only a DNS query. It is
> therefore compatible with DNS dynamic updates and DNSSEC (no need for a DNS
> supported reverse mapping).
>
>
> _______________________________________________
> multipathtcp mailing list
> multipathtcp@ietf.org
> https://www.ietf.org/mailman/listinfo/multipathtcp
>