Re: [multipathtcp] RFC6824bis edits based on implementation feedback

<philip.eardley@bt.com> Mon, 03 February 2020 14:24 UTC

Return-Path: <philip.eardley@bt.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 3C0BC120096 for <multipathtcp@ietfa.amsl.com>; Mon, 3 Feb 2020 06:24:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=bt.com
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 z8fy-g-2lv-b for <multipathtcp@ietfa.amsl.com>; Mon, 3 Feb 2020 06:24:13 -0800 (PST)
Received: from smtpe1.intersmtp.com (smtpe1.intersmtp.com [62.239.224.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8B380120026 for <multipathtcp@ietf.org>; Mon, 3 Feb 2020 06:24:12 -0800 (PST)
Received: from tpw09926dag18f.domain1.systemhost.net (10.9.212.26) by RDW083A012ED68.bt.com (10.187.98.38) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 3 Feb 2020 14:21:41 +0000
Received: from tpw09926dag13e.domain1.systemhost.net (10.9.212.13) by tpw09926dag18f.domain1.systemhost.net (10.9.212.26) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 3 Feb 2020 14:24:07 +0000
Received: from bwp09926081.bt.com (10.36.82.112) by tpw09926dag13e.domain1.systemhost.net (10.9.212.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Mon, 3 Feb 2020 14:24:07 +0000
Received: from GBR01-CWL-obe.outbound.protection.outlook.com (104.47.20.56) by smtpe1.intersmtp.com (10.36.82.112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1713.5; Mon, 3 Feb 2020 14:23:52 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ezM3wUvbfmW0doYBU14WqoiUjnKbZAKSQgTJ2EGcH8aB9I3SV8ivOdVxfdEKREsrS3mfpI7G6EgDRuuy36yPZd5FCSEEZ0AJhZTkqDvP4doLsYsekpvJA67274wQlLRfIDLFq6+hjwb1qIbSzUEuips0NjRPfGY1Rshii3WC6876u2gQlAK5LZmvBGfe6not9IIuIHKohyMd1oW/o8GJ4luo6oezUcnQkOOExBseqYZ4fSxxYXvKnvtc33g6Ncewg222rIr/pPF8eZ4S5WJxTfJgMUdpTKtl2SM/SZOX7XNlon3NMEiQ/eWSI4BCon8gO5liuSjg3EuFSggliZ3teA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GlSNYOmAieGdCB6kEid9P6FC5q6HLreKf40JCF1RV78=; b=MYCVhSbJiB/u+RNNdI5UPn/oFYZj0K8lCyVLZ6u++bPAPGePJ/eVELrjrkqTqyvUnVgXjwTM9xdvHa493qUF9ubk30UQnT5Yec/EjIdGivqpF/lZB4/JdOpwNMSEHgTZntt/T1W9OeZ60CBQtrG4ntRyLed12LsYwv9f61h2eF+TSBTZmyBoxl0akawNMi6lNIqwdABFQdnj+MKU7qxLDq5rPPA6qbcmLfe1K8ssRFi7uijd+VXd59Rp6nk+7jLq9wQzOJxCQHYdISKlFDOFTjtk1+H0/3TzgyudGdQ5vYduzwF2zwLCZ/oUPnF2ErS8eI2QzDz0ZyQ1C6YrRVzODQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=bt.com; dmarc=pass action=none header.from=bt.com; dkim=pass header.d=bt.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bt.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GlSNYOmAieGdCB6kEid9P6FC5q6HLreKf40JCF1RV78=; b=w78X9w1OSviUMqxq05eLl3gOnPQ6ZaKMTpO1qBBZBvSI4qGS51DkAMCUwUXkab5jV0YhRTV9L4y0weUcSPEkzDlGpkN076CYsIyZRGIRYBClYxIIkg0a0jfIWttXJ4PG+8FTPE7y0o+NhhW1wt29uZMOV6oOG+u741cth14IvLk=
Received: from LNXP123MB2587.GBRP123.PROD.OUTLOOK.COM (20.179.128.78) by LNXP123MB1866.GBRP123.PROD.OUTLOOK.COM (20.176.159.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2686.29; Mon, 3 Feb 2020 14:24:04 +0000
Received: from LNXP123MB2587.GBRP123.PROD.OUTLOOK.COM ([fe80::75a8:9aa3:70e2:3a1c]) by LNXP123MB2587.GBRP123.PROD.OUTLOOK.COM ([fe80::75a8:9aa3:70e2:3a1c%7]) with mapi id 15.20.2686.031; Mon, 3 Feb 2020 14:24:03 +0000
From: <philip.eardley@bt.com>
To: <touch@strayalpha.com>, <anil@csir4pi.in>, <nsd.ietf@gmail.com>
CC: <multipathtcp@ietf.org>
Thread-Topic: [multipathtcp] RFC6824bis edits based on implementation feedback
Thread-Index: AQHV2efjE0t2RY94ZkaZvM9k72KnJ6gIK4SAgAESv0A=
Date: Mon, 3 Feb 2020 14:24:03 +0000
Message-ID: <LNXP123MB2587FEF165A7C4B988799EE8EB000@LNXP123MB2587.GBRP123.PROD.OUTLOOK.COM>
References: <C36D742F-6D76-48FA-B6D8-44DE484A9E2C@gmail.com> <882106347.533187.1578939921488@csir4pi.in> <CAAK044RLsJCFWfeP4XAzMmMhUqH1hCnDs94-3Zkrj3QkJeVx7g@mail.gmail.com> <146023054.25180934.1580661581660@csir4pi.in> <121d517b-dfe2-1c25-f0f4-08ec1334f48c@strayalpha.com>
In-Reply-To: <121d517b-dfe2-1c25-f0f4-08ec1334f48c@strayalpha.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=philip.eardley@bt.com;
x-originating-ip: [217.33.61.67]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 242ad0c4-0e68-4e22-4b09-08d7a8b4b854
x-ms-traffictypediagnostic: LNXP123MB1866:
x-microsoft-antispam-prvs: <LNXP123MB186612D90600FE3AA54FD172EB000@LNXP123MB1866.GBRP123.PROD.OUTLOOK.COM>
x-antispam-2: 1
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0302D4F392
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(366004)(39860400002)(376002)(346002)(136003)(199004)(189003)(8936002)(4326008)(81166006)(316002)(33656002)(86362001)(81156014)(5660300002)(186003)(8676002)(9686003)(110136005)(966005)(6506007)(478600001)(53546011)(71200400001)(26005)(66476007)(66556008)(64756008)(66946007)(66446008)(52536014)(7696005)(76116006)(30864003)(2906002)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:LNXP123MB1866; H:LNXP123MB2587.GBRP123.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: bt.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: JuQZhryYhtj9HnuoxelRJHBiE+9Qe17i10k2nCof1twQO1Pb0rS4Az2ErDLPS7Ujm4T5+A9gyoqCr9FwnVBAtwvJH7hsuT3MgrqCN1cBvYwkjLq+bHHOFhPONpqw0HjZ9iCxVdHn3ItkNDZU/MKMK9Iugehp9sn+OBQmf7SUodvpemPHjWeCLd8AoWUqB8h0B8UNqkvr9nP8/+tCe5e4kAhUYJI8HZeBDTmi4NHiDl5ydMRQ+YF5wB/+GIih4i0jq5g/V/eScXgAx+ygrUJqZ3tIGgkiwR5uT7bupWzgduaTn0LJX28rT98fPyr+Rgsjw42VHd83vsKeyGJmkze4vIKOISC7YAd2qKXAAnXEyiUSqxfOwD4hjezvzZL1/BSBnCgH6ksAxck0mKvwlknXc4YENQjlU8zMy8dxK/zjhTE7ccWmSFm7LX7ZzLSGLfS8K1mGkHAkrqgDlZZewNRfMIeF0nEmRBwLh1/bo8HpY5LJfhrSM22rjcdzednGIIrB4jPpv3o/2SRq+5jTsfZaqg==
x-ms-exchange-antispam-messagedata: jKJbqrAAJ3Qhak1j08mUSApZmMqUY+CDKcWJrUO0BgYS0b0plwYElfuUjAQBrRd3qs3T3RRlKunTCVzZjlbqfvtheFXvDc+K65THY8aF0B2C9bqkPU+dGQZDv/zi0EMtS+RWVji6iBnfz6v/MkEStw==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_LNXP123MB2587FEF165A7C4B988799EE8EB000LNXP123MB2587GBRP_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 242ad0c4-0e68-4e22-4b09-08d7a8b4b854
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2020 14:24:03.5226 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: a7f35688-9c00-4d5e-ba41-29f146377ab0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: jJg1TNdikIwTvHbfW0RlttcS69vrcAH93oyv64lx/x9zbXvjpQhPTHWt/9+vaHSVkBA5sAcI5CYLsKrkfaFsbQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: LNXP123MB1866
X-OriginatorOrg: bt.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/multipathtcp/0Qa3Lvq8skQMI7LAdNKKHh8ngIU>
Subject: Re: [multipathtcp] RFC6824bis edits based on implementation feedback
X-BeenThere: multipathtcp@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 03 Feb 2020 14:24:17 -0000

<< if we assume that the map is included while retransmitting the data (even though the first transmission did not contain the map for some reasons),  >>
About “for some reason”. Is this something you’ve seen (or expect to see) regularly, or is this something that would be rare?

As you say, the current wording has a SHOULD, rather than a MUST – which would leave a bit of room to do something different if there were specific (but unlikely) circumstances that merited doing something different.


RST forces the immediate closure of an MPTCP subflow. MP_FASTCLOSE forces the immediate closure of the MPTCP connection (which can also be achieved by sending a RST on all subflows).

Best wishes
phil

From: multipathtcp <multipathtcp-bounces@ietf.org> On Behalf Of Joe Touch
Sent: 02 February 2020 17:39
To: V Anil Kumar <anil@csir4pi.in>in>; Yoshifumi Nishida <nsd.ietf@gmail.com>
Cc: multipathtcp <multipathtcp@ietf.org>
Subject: Re: [multipathtcp] RFC6824bis edits based on implementation feedback


RST doesn't "close" a connection; it aborts it. If a RST is sent, it should be sent *consistent with how TCP treats sending a RST* and not defined anew for this extension.

Joe
On 2/2/2020 8:39 AM, V Anil Kumar wrote:
Hi Yoshi,

Thanks for this point. In fact, I had initially not thought of a scenario, where the map is being delivered through a retransmitted data packet while its first transmission did not include the map. Now I am just seeing the document (RFC 6824-bis) in this context.

My understanding is that in scenarios like what I described in my previous mail, RST is likely to happen whether we explicitly state so or not. Please see the paragraph containing the below text in RFC 6824-bis.

"If a mapping for that subflow-level sequence space does not arrive within a receive window of data, that subflow SHOULD be treated as broken, closed with a RST, and any unmapped data silently discarded."

if we assume that the map is included while retransmitting the data (even though the first transmission did not contain the map for some reasons),  we could argue that RST could be avoided provided that the retransmission is triggered within a receive window of data. But the question here would be how and when will the retransmission take place. In this case, the subflow may not initiate the retransmission of data by its own (i.e., no retransmission due to three duplicate ACKs or RTO expiry at subflow level) as there is no segment loss at subflow level sequence space. So there could be a high possibility of RST happening even before the map delivery through retransmission.

With regards,

Anil

________________________________
From: "Yoshifumi Nishida" <nsd.ietf@gmail.com><mailto:nsd.ietf@gmail.com>
To: "V Anil Kumar" <anil@csir4pi.in><mailto:anil@csir4pi.in>
Cc: "alan ford" <alan.ford@gmail.com><mailto:alan.ford@gmail.com>, "multipathtcp" <multipathtcp@ietf.org><mailto:multipathtcp@ietf.org>
Sent: Saturday, February 1, 2020 3:39:51 AM
Subject: Re: [multipathtcp] RFC6824bis edits based on implementation feedback

Hi Anil,

I have a question about your proposed text.
I am actually wondering if we really want to terminate connection here.

The packets without proper mappings will be treated as invalid and will be discarded.
If an implementation failed to attach proper mapping for some reasons (e.g. option space), it might be able to attach the proper one when it retransmits the packets. This also looks ok to me.

I don't have strong preference for this. But, do we have a reason to terminate connection?

Thanks,
--
Yoshi

On Mon, Jan 13, 2020 at 10:28 AM V Anil Kumar <anil@csir4pi.in<mailto:anil@csir4pi.in>> wrote:
Hi,

I have some points related to the  modifications (Change 2) being proposed on data sequence map. Please see them inline. Though I am putting forward the below points, if the consensus is in favour of the proposed change for reducing implementation complexity, I am also OK with that as well.

________________________________
From: "alan ford" <alan.ford@gmail.com<mailto:alan.ford@gmail.com>>
To: multipathtcp@ietf.org<mailto:multipathtcp@ietf.org>
Sent: Thursday, January 2, 2020 4:21:32 AM
Subject: [multipathtcp] RFC6824bis edits based on implementation feedback

Hi all,
We’d love to get this to a state of completion as soon as possible, and to this end I am starting a new thread on this topic. In discussion with the chairs, it is possible to make the desired changes in AUTH48 as long as there is WG consensus. The discussion so far has been fairly limited in terms of participation.

I would ask the chairs please if it was possible to specify a time bound for this discussion and a default conclusion.

Regarding the changes, in summary, there are two areas where changes have been requested by the implementation community. As we are the IETF we obviously have strong focus on “running code” and so ease of implementing standards-compliant code is strongly desirable. However, we do not wish to reduce functionality agreed by the IETF community if it is considered a required feature by the community.

Change 1

Change the sentence reading:

   If B has data to send first, then the reliable delivery of the ACK + MP_CAPABLE can be inferred by the receipt of this data with an MPTCP Data Sequence Signal (DSS) option (Section 3.3).

To:

   If B has data to send first, then the reliable delivery of the ACK + MP_CAPABLE is ensured by the receipt of this data with an MPTCP Data Sequence Signal (DSS) option (Section 3.3) containing a DATA_ACK for the MP_CAPABLE (which is the first octet of the data sequence space).
What this means:

The current text is concerned only with ensuring a path is MPTCP capable, and so only cares that DSS option occurs on a data packet. However, the MP_CAPABLE option is defined to occupy the first octet of data sequence space and thus, if analogous to TCP, must be acknowledged. >From an implementation point of view it would make sense not to have this hanging around forever and instead define it is acknowledged at the connection level as soon as received. This change ensures the first data packet also DATA_ACKs this MP_CAPABLE octet.

Change 2

Change the sentence reading:

   A Data Sequence Mapping does not need to be included in every MPTCP packet, as long as the subflow sequence space in that packet is covered by a mapping known at the receiver.

To:

   The mapping provided by a Data Sequence Mapping MUST apply to some or all of the subflow sequence space in the TCP segment which carries the option. It does not need to be included in every MPTCP packet, as long as the subflow sequence space in that packet is covered by a mapping known at the receiver.

What this means:

The current text does not place any restrictions on where a mapping could appear. In theory a sender could define a thousand different mappings up front, send them all, and expect a receiver to store this and reassemble data according to these mappings as it arrives. Indeed, this was never explicitly disallowed since it “might have been useful”. The implementation community, however, has expressed concerns over the difficulty of implementing this open-endedly. How many mappings is it reasonable to store? Is there a DoS risk here? Instead, it has been requested that thee specification restricts the placement of the DSS option to being within the subflow sequence space to which it applies.

Below are my comments on this. I had shared some of these points in a previous thread that you had initiated in the same context.

Transmitting large number of non-contiguous data sequence maps could be a misbehaviour (map-flooding), though it is not clear whether this can go to the extent of causing a potential DoS to the data receiver. So some sort of restriction on this could be useful.  One approach could be to insist that the data sender should ensure that the map being transmitted is for in-window data, as per the receiver advertised window. A receiver should anyhow be willing to store the maps for in-window data to deal with packet loss.. For example, when a window of data segments (say 1 to 64) is transmitted, each carrying its corresponding map, and segment-1 is lost, the maps for the remaining 63 need to be stored till the lost segment is retransmitted. Of course, in this case the maps will be stored at the receiver side along with their corresponding data. But the need to store multiple maps for in-window data would still be there.

The problem with the proposed change (restriction) is that a data sender may find it difficult, in case a need arise to slightly delay the map delivery by few segments, i.e., sending some data first without map, and then send the corresponding map in a later segment, as shown below:

subflow-1:      segment-1                   segment-3                    segment-4                       segment-7
                      bytes:1-100                 bytes:201-300              bytes:301-400                 bytes:601-700
                      no map                        map for 1-100              map for 201-400             map for 601-700



subflow-2:       segment-2                  segment-5                     segment-6                       segment-8
                       bytes: 101-200           bytes:401-500               bytes: 501-600                bytes:701-800
                       map for 101-200       map for 401-600            no map                            map for 701-800


In the above case, segment-1 goes without map and its map is included later in segment-3, the next data segment in the same subflow. Further,  in the above scheduling pattern, the map in segment-3 cannot cover the  data in segment-1 and segment-3, as some  data in between (segment-2) is transmitted through another subflow..  With the proposed change, the map in segment-3 will become invalid and this will eventually break subflow-1, though this could be a corner case.

The question at this stage is why would segment-1 be transmitted without its map. In the case of bidirectional data transfer, there could be a need to pack both timestamp and SACK  options in a data segment, i.e., piggybacking of  SACK with data. If we consider that timestamp takes 12 bytes and SACK, even with single block,  takes another 10 bytes, the remaining 18 bytes option space is not adequate to carry data sequence signal with map, especially when DSN is 64 bit long. So the delivery of either of the two (SACK or map) would be delayed.

As far as I understand, RFC 2018 (TCP Selective Acknowledgement Options) implies that SACK should not be delayed. It states "If sent at all, SACK options SHOULD be included in all ACKs which do not ACK the highest sequence number in the data receiver's queue". It also says "If data receiver generates SACK options under any circumstance, it SHOULD generate them under all permitted circumstances".   So, as part of meeting the RFC 2018 requirements, if the combination of SACK and timestamp is given preference over DSS, data segments could be transmitted without their map.

Another case of delaying map could arise if the data sender prefers to send ADD_ADDR option, instead of map, in a data segment. It is nice that ADD_ADDR option can be delivered reliably in a pure ACK, but I think this is not the case with DSS at present.

If we adopt the proposed change, I think it might also be helpful to spell out how the receiver is supposed to behave, if it gets maps not meeting the MUST condition in the proposed change.  For example termination of the subflow with MP_TCPRST option (section 3.6 in RFC 6824-bis) with appropriate reason code and T flag value to intimate the data sender the cause for subflow termination.

With regards,

Anil
Please can members of the WG express whether they are happy with these changes, or concerned.

Best regards,
Alan


_______________________________________________
multipathtcp mailing list
multipathtcp@ietf.org<mailto:multipathtcp@ietf.org>
https://www.ietf.org/mailman/listinfo/multipathtcp



_______________________________________________
multipathtcp mailing list
multipathtcp@ietf.org<mailto:multipathtcp@ietf.org>
https://www.ietf.org/mailman/listinfo/multipathtcp






_______________________________________________

multipathtcp mailing list

multipathtcp@ietf.org<mailto:multipathtcp@ietf.org>

https://www.ietf.org/mailman/listinfo/multipathtcp