mptcpd icon indicating copy to clipboard operation
mptcpd copied to clipboard

IPv6: ignore some LL addresses by default?

Open matttbe opened this issue 3 years ago • 0 comments

Describe the bug By default, with addr_adv PM (I didn't check the other ones), all IPv6 addresses are added as endpoints.

In most cases, there is no reason to announce local addresses, e.g. fe80::/10. Maybe it would be better to ignore them by default?

There are probably more than just the IPv6 LL addresses: in v4, there are also some link locals: 169.254.0.0/16 In v6, there are the ULA: fc00::/7

https://en.wikipedia.org/wiki/Reserved_IP_addresses

Not sure about the default behaviour with private IPs

To Reproduce On a system with IPv6 configured with mptcpd and addr_adv PM, just check the MPTCP endpoints.

Expected behavior By default, no LL addresses.

Screenshots /

Desktop (please complete the following information):

  • Linux Kernel: 5.19
  • Debian/Ubuntu packages

Additional context /

matttbe avatar Sep 16 '22 16:09 matttbe