Re: [multipathtcp] Multipath Address Family

"Laganier, Julien" <julienl@qualcomm.com> Tue, 24 November 2009 23:34 UTC

Return-Path: <julienl@qualcomm.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 32F6C3A6993 for <multipathtcp@core3.amsl.com>; Tue, 24 Nov 2009 15:34:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.612
X-Spam-Level:
X-Spam-Status: No, score=-105.612 tagged_above=-999 required=5 tests=[AWL=0.987, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 gH0YyhJPLU3w for <multipathtcp@core3.amsl.com>; Tue, 24 Nov 2009 15:34:57 -0800 (PST)
Received: from wolverine01.qualcomm.com (wolverine01.qualcomm.com [199.106.114.254]) by core3.amsl.com (Postfix) with ESMTP id 34D953A67C1 for <multipathtcp@ietf.org>; Tue, 24 Nov 2009 15:34:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qualcomm.com; i=julienl@qualcomm.com; q=dns/txt; s=qcdkim; t=1259105693; x=1290641693; h=from:to:cc:date:subject:thread-topic:thread-index: message-id:references:in-reply-to:accept-language: content-language:x-ms-has-attach:x-ms-tnef-correlator: acceptlanguage:content-type:content-transfer-encoding: mime-version:x-ironport-av; z=From:=20"Laganier,=20Julien"=20<julienl@qualcomm.com> |To:=20Joe=20Touch=20<touch@ISI.EDU>|CC:=20=3D?iso-8859-1 ?Q?Michael_T=3DFCxen?=3D=20<Michael.Tuexen@lurchi.franken .de>,=0D=0A=20=20=20=20=20=20=20=20William=20Herrin=20<bi ll@herrin.us>,=0D=0A=20=20=20=20=20=20=20=20"multipathtcp @ietf.org"=0D=0A=09<multipathtcp@ietf.org>|Date:=20Tue, =2024=20Nov=202009=2015:34:45=20-0800|Subject:=20RE:=20[m ultipathtcp]=20Multipath=20Address=20Family|Thread-Topic: =20[multipathtcp]=20Multipath=20Address=20Family |Thread-Index:=20AcptXe5jV9C2R3qlSbu1WcTX1kajTgAABkVw |Message-ID:=20<BF345F63074F8040B58C00A186FCA57F1C65FB29C B@NALASEXMB04.na.qualcomm.com>|References:=20<E9EE0C1A-C9 D3-4EBC-97FD-E1B1628CD2E7@iki.fi>=0D=0A=09<3c3e3fca091109 0542h54e45784qbdbf1f338a4c3e90@mail.gmail.com>=0D=0A=09<E 03D46E1-51EA-4273-A8A7-4F37F88B2E92@iki.fi>=0D=0A=09<2009 1123.092214.140617438.nishida@sfc.wide.ad.jp>=0D=0A=09<48 DA092B-F3BC-432E-A199-B265DDED39DA@iki.fi>=0D=0A=09<3c3e3 fca0911240434p4d95ec7an34615ae218faa4f@mail.gmail.com>=0D =0A=09<C622F375-EE67-46AE-AC28-6617CFEF6D12@lurchi.franke n.de>=0D=0A=20<BF345F63074F8040B58C00A186FCA57F1C65FB29B9 @NALASEXMB04.na.qualcomm.com>=0D=0A=20<4B0C607A.6060503@i si.edu>=0D=0A=20<BF345F63074F8040B58C00A186FCA57F1C65FB29 C0@NALASEXMB04.na.qualcomm.com>=0D=0A=20<4B0C6590.9010000 @isi.edu>=0D=0A=20<BF345F63074F8040B58C00A186FCA57F1C65FB 29C6@NALASEXMB04.na.qualcomm.com>=0D=0A=20<4B0C6C13.20601 03@isi.edu>|In-Reply-To:=20<4B0C6C13.2060103@isi.edu> |Accept-Language:=20en-US|Content-Language:=20en-US |X-MS-Has-Attach:|X-MS-TNEF-Correlator:|acceptlanguage: =20en-US|Content-Type:=20text/plain=3B=20charset=3D"iso-8 859-1"|Content-Transfer-Encoding:=20quoted-printable |MIME-Version:=201.0|X-IronPort-AV:=20E=3DMcAfee=3Bi=3D"5 400,1158,5812"=3B=20a=3D"28363321"; bh=68jlNhXANL3k05Q5KbB4qNt0/5aoqXGuiJWkKv9DtYo=; b=iQCn/mwathK7NT/+XPu2nvSJyW7AZEH/zRdA4e3s8d8cxhxG/osy+rKg pG6GNLcMh9owdM9ZLo9MAlEvorOv9dl+FVgANGVEkLSLMDNKcblhi85Bs 12wqnKU3utOOylT7bjKPueEvyCGgQ7YNkk4LCb4OJk+zXTxlubdrD3ixd Q=;
X-IronPort-AV: E=McAfee;i="5400,1158,5812"; a="28363321"
Received: from pdmz-ns-mip.qualcomm.com (HELO ithilien.qualcomm.com) ([199.106.114.10]) by wolverine01.qualcomm.com with ESMTP; 24 Nov 2009 15:34:52 -0800
Received: from msgtransport03.qualcomm.com (msgtransport03.qualcomm.com [129.46.61.154]) by ithilien.qualcomm.com (8.14.2/8.14.2/1.0) with ESMTP id nAONYqFO006750 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 24 Nov 2009 15:34:52 -0800
Received: from nasanexhub06.na.qualcomm.com (nasanexhub06.na.qualcomm.com [129.46.134.254]) by msgtransport03.qualcomm.com (8.14.2/8.14.2/1.0) with ESMTP id nAONYlBR017328 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 24 Nov 2009 15:34:52 -0800
Received: from nasanex14h01.na.qualcomm.com (10.46.94.107) by nasanexhub06.na.qualcomm.com (129.46.134.254) with Microsoft SMTP Server (TLS) id 8.2.176.0; Tue, 24 Nov 2009 15:34:48 -0800
Received: from nalasexhub01.na.qualcomm.com (10.47.130.49) by nasanex14h01.na.qualcomm.com (10.46.94.107) with Microsoft SMTP Server (TLS) id 14.0.639.21; Tue, 24 Nov 2009 15:34:48 -0800
Received: from NALASEXMB04.na.qualcomm.com ([10.47.7.118]) by nalasexhub01.na.qualcomm.com ([10.47.130.49]) with mapi; Tue, 24 Nov 2009 15:34:47 -0800
From: "Laganier, Julien" <julienl@qualcomm.com>
To: Joe Touch <touch@ISI.EDU>
Date: Tue, 24 Nov 2009 15:34:45 -0800
Thread-Topic: [multipathtcp] Multipath Address Family
Thread-Index: AcptXe5jV9C2R3qlSbu1WcTX1kajTgAABkVw
Message-ID: <BF345F63074F8040B58C00A186FCA57F1C65FB29CB@NALASEXMB04.na.qualcomm.com>
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> <3c3e3fca0911240434p4d95ec7an34615ae218faa4f@mail.gmail.com> <C622F375-EE67-46AE-AC28-6617CFEF6D12@lurchi.franken.de> <BF345F63074F8040B58C00A186FCA57F1C65FB29B9@NALASEXMB04.na.qualcomm.com> <4B0C607A.6060503@isi.edu> <BF345F63074F8040B58C00A186FCA57F1C65FB29C0@NALASEXMB04.na.qualcomm.com> <4B0C6590.9010000@isi.edu> <BF345F63074F8040B58C00A186FCA57F1C65FB29C6@NALASEXMB04.na.qualcomm.com> <4B0C6C13.2060103@isi.edu>
In-Reply-To: <4B0C6C13.2060103@isi.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "multipathtcp@ietf.org" <multipathtcp@ietf.org>
Subject: Re: [multipathtcp] Multipath Address Family
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: Tue, 24 Nov 2009 23:34:58 -0000

Joe Touch wrote:
> Laganier, Julien wrote:
> > Joe Touch wrote:
> >> [...]
> >> Sure, but either way you need to return at least the primary IP
> >> address/port pair as results of the connect_to_name() call.
> >>
> >> It's not sufficient to return an undistinguished set of such pairs,
> >> nor is it sufficient to not return any such pairs.
> >
> > Unless the socket has been bind()'ed earlier, connect() doesn't
> > return to the caller any information about the address/port that
> > was picked as a result of the connect(). The application would need
> > to call getsockname() to know what address/port pair was used.
> 
> Sure. I was speaking in a general sense.
> 
> > If an application is modified to use the new API, it will have to use
> > getpeername() in addition to getsockname() to know what initial
> > address pair has been connected.
> 
> That basically kills legacy apps. You want getsockname to return the
> initial, and some other call to return the full list (or supplemental
> socket pairs).

Hmm... Not sure I understand your statement about legacy apps. 

We've been talking about an app using a new connect_to_name() API call, so it's no longer entirely legacy -- If it wants to use the new connect_to_name() API call, it has to use getpeername() to get its peer address, that's it. 

I do not see how that is related to legacy apps, nor while it would be killing them :)

--julien