Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mptcp: check fallback if opt dropped after first data #157

Merged

Conversation

matttbe
Copy link
Member

@matttbe matttbe commented Oct 3, 2024

With the current kernel, the server incorrectly resets a connection if its first packet has data (< init window) and MPTCP options, but then the next ones no longer have MPTCP options. [1]

The server should not reset this connection in this case, but do a fallback. It should reset the connection only if it has received a DATA_ACK, or data for more than the initial window (implying DATA_ACK have been received by the other peer) [2].

This new packetdrill test checks the expected behaviour.

Link: multipath-tcp/mptcp_net-next#518 [1]
Link: https://datatracker.ietf.org/doc/html/rfc8684#name-fallback [2]

@matttbe matttbe requested a review from dcaratti October 3, 2024 17:06
With the current kernel, the server incorrectly resets a connection if
its first packet has data (< init window) and MPTCP options, but then
the next ones no longer have MPTCP options. [1]

The server should not reset this connection in this case, but do a
fallback. It should reset the connection only if it has received a
DATA_ACK, or data for more than the initial window (implying DATA_ACK
have been received by the other peer) [2].

This new packetdrill test checks the expected behaviour.

Link: multipath-tcp/mptcp_net-next#518 [1]
Link: https://datatracker.ietf.org/doc/html/rfc8684#name-fallback [2]
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
@matttbe matttbe force-pushed the dss_drop_after_data_fallback branch from 453bc38 to 36674f0 Compare October 3, 2024 18:17
@matttbe
Copy link
Member Author

matttbe commented Oct 8, 2024

The corresponding kernel patch has been applied. I suggest doing the same here to make sure there are no regressions. (I can always fix issues later)

@matttbe matttbe merged commit 7f43084 into multipath-tcp:mptcp-net-next Oct 8, 2024
@matttbe matttbe deleted the dss_drop_after_data_fallback branch October 8, 2024 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant