Re: [multipathtcp] 6824bis -11 review

Rahul Arvind Jadhav <rahul.jadhav@huawei.com> Sun, 29 July 2018 03:17 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 971E5130934 for <multipathtcp@ietfa.amsl.com>; Sat, 28 Jul 2018 20:17:43 -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 fYKFL9U8YRig for <multipathtcp@ietfa.amsl.com>; Sat, 28 Jul 2018 20:17:41 -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 201671294D7 for <multipathtcp@ietf.org>; Sat, 28 Jul 2018 20:17:41 -0700 (PDT)
Received: from lhreml704-cah.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 026AF3A3ABA22 for <multipathtcp@ietf.org>; Sun, 29 Jul 2018 04:17:37 +0100 (IST)
Received: from BLREML407-HUB.china.huawei.com (10.20.4.45) by lhreml704-cah.china.huawei.com (10.201.108.45) with Microsoft SMTP Server (TLS) id 14.3.399.0; Sun, 29 Jul 2018 04:17:37 +0100
Received: from BLREML503-MBS.china.huawei.com ([169.254.12.219]) by BLREML407-HUB.china.huawei.com ([10.20.4.45]) with mapi id 14.03.0399.000; Sun, 29 Jul 2018 08:47:24 +0530
From: Rahul Arvind Jadhav <rahul.jadhav@huawei.com>
To: Alan Ford <alan.ford@gmail.com>
CC: multipathtcp <multipathtcp@ietf.org>
Thread-Topic: [multipathtcp] 6824bis -11 review
Thread-Index: AdQmJDYhfu15UAaeTxKUY+EC058bGgARMycAAAG8pgAAHRK/4A==
Date: Sun, 29 Jul 2018 03:17:24 +0000
Message-ID: <982B626E107E334DBE601D979F31785C5DC5D84B@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>
In-Reply-To: <20754FD9-627F-4AAC-A1B5-6EF2BD09B2AD@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_982B626E107E334DBE601D979F31785C5DC5D84BBLREML503MBSchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/multipathtcp/kIkbFsPjmEBSdMv2xvn_Pu8JsL0>
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: Sun, 29 Jul 2018 03:17:44 -0000

Thanks Alan for clarifying.
But I’m still not clear about this. Please find my comments [RJ] inline.

On 28 Jul 2018, at 18:19, Alan Ford <alan.ford@gmail.com<mailto:alan.ford@gmail.com>> wrote:


3. Section 3.4.1. Address Advertisement
 "A host can send an ADD_ADDR message with an already assigned Address
 ID, but the Address MUST be the same as previously assigned to this
 Address ID, and the Port MUST be different from one already in use
 for this Address ID."
[RJ]: Didn't understand the rationale for allowing reuse of Address ID only for port change and not for IP change.

I cannot recall the rationale here either.

Furthermore - as written - this would seem to prevent retransmission. Which is crazy.

If nobody can recall the reason for this I would suggest we remove it.

Having looked at the text again here, I think I can recall the rationale. But we need to consider whether this is actually the intended behaviour.

Address ID was originally designed to provide a mechanism whereby a client behind a NAT could refer to its address without using the IP address, which would be altered by the NAT. This would allow a client, whose wifi interface had disappeared, to tell the far end over its cellular interface that it had gone, by referring to the Address ID it had used in the MP_JOIN, in the REMOVE_ADDR.

There is a secondary use here which I realise we haven’t explicitly stated. If a client declared its private address in ADD_ADDR, but also sent a MP_JOIN with the same address ID, but naturally a different address, the far end would say “ah, these addresses don’t match, so I should not bother attempting to connect to the Address in the ADD_ADDR”. This is an optimisation but one that should probably be mentioned.

[RJ] The far end here matches the Address ID, identifies the ADD_ADDR context, and uses the received source address .. May be the far end should keep this newly learnt IP address within the ADD_ADDR context for future MP_JOIN once this sub-flow closes? As I understand, Address ID alone is the primary-key for matching anyways.

So the point is that Address ID refers purely to the address, and not to the address + port pair. Therefore a new port can be advertised in a new ADD_ADDR using the same Address ID.

[RJ] I’m not sure about this interpretation. My thinking was that Address ID refers purely to the sub-flow possibility on an interface without any dependence on address + port. Address and port are parameters for the Address ID which might possibly change in the future.

So we should clarify this:

a) retransmitting an ADD_ADDR with same ID, address, and port is fine
b) this could permit the far end to trigger another connection attempt
[RJ] a & b is clear from existing text

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.

d) to reassign an address ID you must first REMOVE_ADDR
[RJ] This also I don’t get. Why should it be necessary to do a REMOVE_ADDR to change an IP address for an existing ID? If a ADD_ADDR refers to an existing ID with a new Address then can’t this simply override the IP address for that ID?

Another way to put this question, In which case a receiver after matching the Address ID (for MP_JOIN or ADD_ADDR) will depend on matching against the address field and what is achieved by matching the address field?

By allowing to override an IP address in the existing ID, a REMOVE_ADDR + ADD_ADDR cycle which requires at-least one RTT would be saved. Secondly, the implementation becomes lot more simpler (for me this is the major motivation).

Thanks,
Rahul