Re: [multipathtcp] Multipath Address Family

Olivier Bonaventure <Olivier.Bonaventure@uclouvain.be> Tue, 24 November 2009 10:20 UTC

Return-Path: <olivier.bonaventure@uclouvain.be>
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 CFEA03A699C for <multipathtcp@core3.amsl.com>; Tue, 24 Nov 2009 02:20:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 lmL3RACwoFrs for <multipathtcp@core3.amsl.com>; Tue, 24 Nov 2009 02:20:40 -0800 (PST)
Received: from smtp4.sgsi.ucl.ac.be (smtp.sgsi.ucl.ac.be [130.104.5.67]) by core3.amsl.com (Postfix) with ESMTP id B69853A68FE for <multipathtcp@ietf.org>; Tue, 24 Nov 2009 02:20:39 -0800 (PST)
Received: from mbpobo.dhcp.info.ucl.ac.be (mbpobo.dhcp.info.ucl.ac.be [130.104.228.70]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: obonaventure@smtp4.sgsi.ucl.ac.be) by smtp4.sgsi.ucl.ac.be (Postfix) with ESMTPSA id E3F54F24A8; Tue, 24 Nov 2009 11:20:14 +0100 (CET)
X-DKIM: Sendmail DKIM Filter v2.8.2 smtp4.sgsi.ucl.ac.be E3F54F24A8
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=uclouvain.be; s=selucl; t=1259058014; bh=iGB3EObMAgbQ3J2MDcw7nAUFklAsl9HeWiC8dgjSu8g=; h=Message-ID:Date:From:Reply-To:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=h1sqFwDIG0fc9HV8eDdqhHAsODW4jjEpyvA0QMG3t99scfl0KNlgr5Mf5UYrMk5+B Gn46BKxTp+xUN+rA1blpnVY8LC6sKDQ+kaESKitjCGjdx/Oiw881AZ0C487KElYKnR t3tbZARJ1gbJZbHce/xTT/5hx4Sy0Z5e17qyFgXI=
Message-ID: <4B0BB35E.207@uclouvain.be>
Date: Tue, 24 Nov 2009 11:20:14 +0100
From: Olivier Bonaventure <Olivier.Bonaventure@uclouvain.be>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
MIME-Version: 1.0
To: Pasi Sarolahti <pasi.sarolahti@iki.fi>
References: <E9EE0C1A-C9D3-4EBC-97FD-E1B1628CD2E7@iki.fi> <3c3e3fca0911090542h54e45784qbdbf1f338a4c3e90@mail.gmail.com> <E03D46E1-51EA-4273-A8A7-4F37F88B2E92@iki.fi> <20091123.092214.140617438.nishida@sfc.wide.ad.jp> <48DA092B-F3BC-432E-A199-B265DDED39DA@iki.fi>
In-Reply-To: <48DA092B-F3BC-432E-A199-B265DDED39DA@iki.fi>
X-Enigmail-Version: 0.96.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: clamav-milter 0.95.2 at smtp-4.sipr-dc.ucl.ac.be
X-Virus-Status: Clean
X-Sgsi-Spamcheck: SASL authenticated,
X-SGSI-MailScanner-ID: E3F54F24A8.00000
X-SGSI-MailScanner: Found to be clean
X-SGSI-From: olivier.bonaventure@uclouvain.be
X-SGSI-Spam-Status: No
Cc: multipathtcp@ietf.org
Subject: Re: [multipathtcp] Multipath Address Family
X-BeenThere: multipathtcp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Olivier.Bonaventure@uclouvain.be
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: Tue, 24 Nov 2009 10:20:40 -0000

Pasi,
> 
> (changed the topic line, it was earlier "API: which address to use". I'm
> responding to Yoshifumi below, but first wanted to post a general note.)
> 
> I wrote down some further thinking about the idea of multipath address
> family in the form of Internet-Draft, which I thought to be better than
> a long Email to the list. The draft is available at
> http://tools.ietf.org/html/draft-sarolahti-mptcp-af-multipath-00 and I'd
> be happy to hear further comments about it.
> 
> I think a new address family would be a minimal needed change to the
> current socket API, without extending the API with new operations, but
> yet provide an interface to handle multiple addresses in a socket. One
> potentially useful characteristic would be that this would allow name
> resolver to return multiple IPv4 and/or IPv6 addresses from the name
> server as a single sockaddr structure, that could be directly given as a
> parameter to a connect call, which would lead to trying which of the
> addresses are reachable for the MPTCP session. Traditionally this has
> been done in the applications, by cycling through the returned addresses
> from resolver one by one, until connect is successful. Especially
> dual-stack IPv6/IPv4 hosts should find such feature useful.

This could be interesting, but if we change de socket API, why don't we
define a new structure that can handle DNS names in addition to IPv4 and
IPv6 addresses. This would allow some applications to simply call
connect with a DNS name and let the transport protocol figure out
whether single path IPv4, single path IPv6, multipath whatever ...
should be used to reach this DNS name.


Olivier

-- 
http://inl.info.ucl.ac.be , UCLouvain, Belgium