From: Mat Martineau <mathew.j.martineau@linux.intel.com>
To: Paolo Abeni <pabeni@redhat.com>
Cc: mptcp@lists.linux.dev
Subject: Re: [PATCH v5 mptcp-next 0/4] mptcp: more self-tests improvements
Date: Fri, 18 Feb 2022 12:33:54 -0800 (PST) [thread overview]
Message-ID: <e1a0afb0-ea3c-e6ed-827b-481960f49cd5@linux.intel.com> (raw)
In-Reply-To: <5098f08134c9cb059b32bcce363f466bd1f2df2f.camel@redhat.com>
On Fri, 18 Feb 2022, Paolo Abeni wrote:
> On Thu, 2022-02-17 at 17:35 -0800, Mat Martineau wrote:
>> On Thu, 17 Feb 2022, Paolo Abeni wrote:
>>
>>> This iteration tries to address the feedback from Mat on v4.
>>>
>>> patch 1/4 is new and tries to address the problem behind issues/225 with
>>> stricted RFC compliance
>>> patch 2 and 3 clean-up endpoint management as per past discussion
>>> patch 4 introduce new self-tests, as deserved the previous patch
>>>
>>
>> Hi Paolo -
>>
>> These changes and tests are working well on my system and fits with what
>> we discussed on the previous revisions - thanks!
>>
>> I was taking another look at the RFC and saw this paragraph:
>>
>> The MP_JOIN option includes an "Address ID". This is an identifier
>> generated by the sender of the option, used to identify the source
>> address of this packet, even if the IP header has been changed in
>> transit by a middlebox. The numeric value of this field is generated
>> by the sender and must map uniquely to a source IP address for the
>> sending host. The Address ID allows address removal (Section 3.4.2)
>> without needing to know what the source address at the receiver is,
>> thus allowing address removal through NATs. The Address ID also
>> allows correlation between new subflow setup attempts and address
>> signaling (Section 3.4.1), to prevent setting up duplicate subflows
>> on the same path, if an MP_JOIN and ADD_ADDR are sent at the same
>> time.
>>
>> That made me wonder if we are supposed to treat this address ID as a type
>> of advertisement which would require us to not reuse id 0? I think the
>> answer is "no" because nothing in the REMOVE_ADDR section (3.4.2) seems to
>> apply to joins, and it's also pretty permissive about not sending
>> REMOVE_ADDR. We also won't be sending REMOVE_ADDR for id 0, so the new
>> code seems safe in that regard.
>
> Double checking if I parsed the above correctly. The main
> point/question is: which ID should use additional MPJ subflows with the
> same source address of the initial MPC subflow? My answer/what the
> current code is doing prior and after this patch is 'id 0'. I read the
> above as this is also your answer.
>
> Please correct me if I misinterpret something!
>
That's part of it. I also wasn't sure if the MPJ syn could also be sent
with addr id 0 if the kernel picked some other interface for sending that
syn that had not been configured in the path manager - a corner case that
I thought had been mentioned earlier in discussion of this patch series.
If the outgoing MPJ only has addr id 0 if the MPC source addr is used then
that's definitely not any kind of problem.
--
Mat Martineau
Intel
next prev parent reply other threads:[~2022-02-18 20:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-17 21:44 [PATCH v5 mptcp-next 0/4] mptcp: more self-tests improvements Paolo Abeni
2022-02-17 21:44 ` [PATCH v5 mptcp-next 1/4] mptcp: more careful RM_ADDR generation Paolo Abeni
2022-02-17 21:44 ` [PATCH v5 mptcp-next 2/4] mptcp: introduce implicit endpoints Paolo Abeni
2022-02-17 21:44 ` [PATCH v5 mptcp-next 3/4] mptcp: strict local address ID selection Paolo Abeni
2022-02-17 21:44 ` [PATCH v5 mptcp-next 4/4] selftests: mptcp: add implicit endpoint test case Paolo Abeni
2022-02-18 1:35 ` [PATCH v5 mptcp-next 0/4] mptcp: more self-tests improvements Mat Martineau
2022-02-18 9:02 ` Paolo Abeni
2022-02-18 20:33 ` Mat Martineau [this message]
2022-02-21 9:16 ` Paolo Abeni
2022-02-19 17:15 ` Matthieu Baerts
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=e1a0afb0-ea3c-e6ed-827b-481960f49cd5@linux.intel.com \
--to=mathew.j.martineau@linux.intel.com \
--cc=mptcp@lists.linux.dev \
--cc=pabeni@redhat.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.