Re: [multipathtcp] 6824bis -11 review

Rahul Arvind Jadhav <rahul.jadhav@huawei.com> Wed, 08 August 2018 15:20 UTC

Return-Path: <rahul.jadhav@huawei.com>
X-Original-To: multipathtcp@ietfa.amsl.com
Delivered-To: multipathtcp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D8B3312F1A6 for <multipathtcp@ietfa.amsl.com>; Wed, 8 Aug 2018 08:20:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d5bf9dfZ2Iz7 for <multipathtcp@ietfa.amsl.com>; Wed, 8 Aug 2018 08:20:39 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9AF9F130E12 for <multipathtcp@ietf.org>; Wed, 8 Aug 2018 08:20:38 -0700 (PDT)
Received: from lhreml705-cah.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 6CBFA2A6619AA for <multipathtcp@ietf.org>; Wed, 8 Aug 2018 16:20:34 +0100 (IST)
Received: from BLREML408-HUB.china.huawei.com (10.20.4.47) by lhreml705-cah.china.huawei.com (10.201.108.46) with Microsoft SMTP Server (TLS) id 14.3.399.0; Wed, 8 Aug 2018 16:20:35 +0100
Received: from BLREML503-MBS.china.huawei.com ([169.254.12.219]) by BLREML408-HUB.china.huawei.com ([10.20.4.47]) with mapi id 14.03.0399.000; Wed, 8 Aug 2018 20:50:22 +0530
From: Rahul Arvind Jadhav <rahul.jadhav@huawei.com>
To: Yoshifumi Nishida <nishida@sfc.wide.ad.jp>, Alan Ford <alan.ford@gmail.com>
CC: Christoph Paasch <cpaasch@apple.com>, multipathtcp <multipathtcp@ietf.org>
Thread-Topic: [multipathtcp] 6824bis -11 review
Thread-Index: AdQmJDYhfu15UAaeTxKUY+EC058bGgARMycAAAG8pgAAHRK/4ABC3E6AAByWRxAADbbYAAFDWGaAAF8gGhA=
Date: Wed, 08 Aug 2018 15:20:21 +0000
Message-ID: <982B626E107E334DBE601D979F31785C5DC70CFF@BLREML503-MBS.china.huawei.com>
References: <982B626E107E334DBE601D979F31785C5DC5A15C@BLREML503-MBX.china.huawei.com> <92A53501-4728-4E02-816A-92CEE703AA49@gmail.com> <20754FD9-627F-4AAC-A1B5-6EF2BD09B2AD@gmail.com> <982B626E107E334DBE601D979F31785C5DC5D84B@BLREML503-MBS.china.huawei.com> <AEC8384E-87BB-48F4-9C42-58D2A6FCF251@gmail.com> <982B626E107E334DBE601D979F31785C5DC6884D@BLREML503-MBS.china.huawei.com> <2FB78E5E-961F-4077-815F-158142B8E7E2@gmail.com> <CAO249yeY3o5RuuH08GjhiLJod9MjeV_xxmScVT5g5rk3p40qGA@mail.gmail.com>
In-Reply-To: <CAO249yeY3o5RuuH08GjhiLJod9MjeV_xxmScVT5g5rk3p40qGA@mail.gmail.com>
Accept-Language: en-IN, zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.18.157.44]
Content-Type: multipart/alternative; boundary="_000_982B626E107E334DBE601D979F31785C5DC70CFFBLREML503MBSchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/multipathtcp/fx38MqosFMDX840ApAwoyp_ttEU>
Subject: Re: [multipathtcp] 6824bis -11 review
X-BeenThere: multipathtcp@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Multi-path extensions for TCP <multipathtcp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/multipathtcp>, <mailto:multipathtcp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/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, 08 Aug 2018 15:20:41 -0000

Please find my response [RJ3] inline.

Best,
Rahul


On 31 Jul 2018, at 01:21, Rahul Arvind Jadhav <rahul.jadhav@huawei.com<mailto:rahul.jadhav@huawei.com>> wrote:

c) sending a new ADD_ADDR with same ID + address and different port is fine
[RJ] again this is what the text already says, but I’m not still clear about this. Why ID + address has to match? Only ID should be enough.

Consider:

a) ADD_ADDR comes in saying ID=2, addr=10.0.0.1 (private)
b) MP_JOIN comes in saying ID=2, addr=8.9.10.11 (public)
c) ADD_ADDR comes in saying ID=2, addr=192.168.0.1

What does this mean? Is (c) an implicit REMOVE+ADD? And thus does this mean the subflow created in (b) is now no longer valid?

By keeping the address / ID mapping, if an address is lost, then so is the subflow.

[RJ2] Rather than viewing ( c) as an implicit REMOVE+ADD, can we see it as an UPDATE? Because ID remains same. Subflow created in (b) remains valid (not sure if I’m missing anything here, I see no reason to lose this subflow).
In step ( c), the receiver can override Address field in context to ID=2 to the new addr (192.168.0.1) ……   8.9.10.11 is kept separately as the learnt actual rcvd IP (from MP_JOIN) in the same context ID=2. We have to agree that an implementation needs to maintain this IP separately in context to ID=2 anyways.
So if we do an explicit REMOVE+ADD, the end result is the same as this UPDATE (but with much less overhead & impl ease).

I would be interested in hearing from other implementers here… Is there an issue with “updating” using ADD_ADDR?

Given we say that REMOVE_ADDR should not remove a subflow if it’s still alive, we have precedent for implying a subflow can exist to an address which does not have an Address ID - to - IP address mapping.

So given that, does updating, as Rahul suggests, cause a problem?


Hmm.. I am wondering why we want to re-use the same address ID while we have 0-255 values for it?
Do we have some advantage for it? I thought picking up a new ID would be safer and simpler..

[RJ3]: Thanks for covering this angle. Now if we do not re-use the same address ID then the scenarios are different. What happens when REMOVE_ADDR sent for previous ID is ignored because the flow is active on the receiver? The new ADD_ADDR with new ID will result in new ID getting added on the receiver. This requires more state across multiple IDs, and requires more messaging since REMOVE_ADDR has to done. And there is still an uncertainty regarding what happens if the REMOVE_ADDR is ignored because the old flow is active. Thus this is not simpler.
ADD_ADDR doing an update on existing ID is easier to implement and requires less messaging.
There are advantages with an update on existing ID unless other implementers have some other angle to cover.

As Alan mentioned, when we try to "update" the address ID, we will have to keep both addresses until we confirm that old one is not used anymore.
Also, in the case described above, what will happen if (b) was delayed and arrived after (c)?

[RJ3] I’m not sure what is meant by, “confirm that old one is not used anymore”. A receiver anyways is ready to receive an MP_JOIN from source address not advertised in the ADD_ADDR.
Considering update is used,.. in the scenario above, if MP_JOIN (b) arrives after ADD_ADDR update (c) is issued, it would not result in any mishap imo.