3 ms·
> Programs that were built to use TCP will still use the TCP connections when running on an MPTCP-enabled kernel unless the programmer/user/admin opts-in to usi
by londons_explore 4y ago
> Programs that were built to use TCP will still use the TCP connections when running on an MPTCP-enabled kernel unless the programmer/user/admin opts-in to using Multipath TCP.
So, if MPTCP is a drop-in replacement for TCP, why do programs need to opt into it?
Without being enabled by default, this project will go nowhere.
- bheadmaster 4y agoI didn't see the phrase "drop-in replacement" anywhere in the linked text, so I assume it's not supposed to be a drop-in replacement.
- tracnar 4y agoMPTCP is an extension of TCP and is "drop-in". But AFAIK making it opt-in was a concession to get it upstreamed in Linux, understandably as this is a risky change. There are different ways to enable it on unmodified applications, e.g. via a wrapper or using eBPF.
- kevincox 4y agoHopefully there will eventually be a sysctl to do it by default and maybe with enough testing enable tbat be default.
- simoncion 4y ago> Without being enabled by default, this project will go nowhere. The maintainers of Linux distributions will enable it, if they see doesn't cause trouble with regular network traffic. After all, there are instructions for the "old" implementation: <https://multipath-tcp.org/pmwiki.php/Users/ConfigureMPTCP https://multipath-tcp.org/pmwiki.php/Users/ConfigureMPTCP>, <https://multipath-tcp.org/pmwiki.php/Users/ConfigureRouting https://multipath-tcp.org/pmwiki.php/Users/ConfigureRouting> and the "new" implementation: <https://github.com/multipath-tcp/mptcp_net-next/wiki/#how-to-use-mptcp https://github.com/multipath-tcp/mptcp_net-next/wiki/#how-to...>.
- datastoat 4y agoMPTCP is a drop-in replacement -- but its original designers were paranoid about e.g. packet-sniffing middleboxes, so they made it opt-in. Suppose for example there's a packet-sniffing security appliance along the path, and it only sees packets on one path of the MPTCP flow, and it says "This stream of packets doesn't look like a legitimate TCP flow, so it's probably an attack, so I'll block it."
- pid-1 4y agoTangencial, but that's also the reason QUIC (used by HTTP/3) was built upon UDP.
- londons_explore 4y agoI think the real answer is to test a lot of middleboxes, come up with some fallback behaviour that will at least work with 99% of them, and then just break the last 1%. The same happened with Max Segment Size detection - and that mostly works now.