All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Paasch <cpaasch at apple.com>
To: mptcp at lists.01.org
Subject: [MPTCP] Re: MPTCP implementation feedback for RFC6824bis
Date: Wed, 11 Dec 2019 11:28:53 -0800	[thread overview]
Message-ID: <2689B456-2B1C-4D84-B36E-74FA0FFD2E3B@apple.com> (raw)
In-Reply-To: 63E04612-7410-4E38-BE19-F2351C23C7F7@gmail.com

[-- Attachment #1: Type: text/plain, Size: 4332 bytes --]

Hello Alan,

there is one more thing that came up from the implementation experience (thanks to Matthieu & Paolo in CC).

It is unclear in the draft (or at least, I didn't find the text ;-) ), what to do when the flags & version in the third ACK + MP_CAPABLE are inconsistent with what was negotiated in the SYN-SYN/ACK exchange.

It would be good to spell this out and say that if there are any inconsistencies, a host should simply fallback to regular TCP.


Christoph

> On Dec 10, 2019, at 8:09 AM, Alan Ford <alan.ford(a)gmail.com> wrote:
> 
> Hi Yoshifumi,
> 
>> On 10 Dec 2019, at 05:30, Yoshifumi Nishida <nsd.ietf(a)gmail.com <mailto:nsd.ietf(a)gmail.com>> wrote:
>> 
>> Hi Alan,
>> 
>> The texts look fine to me, but I have a few questions on them.
>> 
>> On Fri, Dec 6, 2019 at 7:58 AM Alan Ford <alan.ford(a)gmail.com <mailto:alan.ford(a)gmail.com>> wrote:
>> Hi all,
>> 
>> Following on from the discussion of implementation feedback with Christoph, I propose the following edits to RFC6824bis - which is currently in AUTH48 - as clarifications.
>> 
>> ADs, please can you confirm you consider these edits sufficiently editorial to fit into AUTH48.
>> 
>> WG participants, please speak up if you have any concerns.
>> 
>> 
>> Edit 1, clarifying reliability of MP_CAPABLE
>> 
>> Change the sentence reading:
>> 
>>    The SYN with MP_CAPABLE occupies the first octet of data sequence space, although this does not need to be acknowledged at the connection level until the first data is sent (see Section 3.3).
>> 
>> To:
>> 
>>    The SYN with MP_CAPABLE occupies the first octet of data sequence space, and this MUST be acknowledged at the connection level at or before the time the first data is sent or received (see Section 3.3).
>> 
>> What implementations should do when they receive the first data before MP_CAPABLE is acked?
>> They should terminate the connection or discard the data?
> 
> By asking this question you have made me realise that this text is in fact incompatible with the case when A (the initiator) is also the first sender of data.
> 
> Given the problem is only with B sending data first, let us forget this change, and revert to Christoph’s original problem text, and use only the below change:
> 
>> 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).
> 
> This will resolve the ambiguity in the case of B sending first.
> 
>> In my personal opinion either one of these edits would be sufficient for making the point, however clearly this has caused some confusion amongst the implementor community so making both these changes should make it absolutely clear as to the expected behaviour here.
>> 
>> 
>> Edit 2, mapping constraint
>> 
>> 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:
>> 
>>    A Data Sequence Mapping MUST appear on a TCP segment which is covered by the mapping. 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 implementations should do when a Data Sequence Mapping doesn't cover the TCP segment that carries this option?
> 
> There are a number of cases where the MUST does not have a consequence; it should be obvious from the text for similar failures that it can close it with a RST.
> 
>> BTW, This is not a strong opinion, but I may prefer a text like: "A Data Sequence Mapping MUST provide the mapping for the segment that carries this option.” 
> 
> OK how about: "A Data Sequence Mapping MUST provide the mapping which includes the segment that carries this option.” 
> 
> Regards,
> Alan
> 
> 


[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 8025 bytes --]

             reply	other threads:[~2019-12-11 19:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-11 19:28 Christoph Paasch [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-12-13 13:10 [MPTCP] Re: MPTCP implementation feedback for RFC6824bis Matthieu Baerts
2019-12-13 12:38 Alan Ford
2019-12-13  0:10 Matthieu Baerts
2019-12-12 21:19 Alan Ford
2019-12-05 17:39 Christoph Paasch
2019-12-05  0:33 Christoph Paasch
2019-12-02 22:33 Mat Martineau
2019-12-02 22:31 Mat Martineau
2019-12-02 17:27 Christoph Paasch
2019-11-28 19:49 Christoph Paasch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2689B456-2B1C-4D84-B36E-74FA0FFD2E3B@apple.com \
    --to=unknown@example.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.