multipath-tcp / mptcpd

mptcpd is a daemon for Linux that performs Multipath TCP path management related operations in the user space 😈
https://mptcpd.mptcp.dev/
BSD 3-Clause "New" or "Revised" License
169 stars 36 forks source link

What's the use of pm_type=1 when mptcpd manipulates the ip mptcp endpoint table anyway? And whitelist interfaces request. #292

Open arinc9 opened 1 week ago

arinc9 commented 1 week ago

Regardless of net.mptcp.pm_type being 0 or 1, mptcpd will manipulate the endpoints accordingly with how mptcpd is configured. I've got this configuration:

log=journal
plugin-dir=/usr/lib/x86_64-linux-gnu/mptcpd
addr-flags=subflow,fullmesh
notify-flags=existing,skip_link_local,skip_loopback
load-plugins=addr_adv

I don't have an issue with the current behaviour, I'm just confused.

Another issue I'm having is interfaces that do not provide access to the internet will be added as subflows which breaks the connection. It'd be great to have an address notification flag where I can specify interfaces as a whitelist so that the plugins would only be notified with the addresses of the whitelisted interfaces.