-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Avoid announcing SLAAC addresses without privacy extention #6927
Comments
Wouldn't that break IPv6 for these nodes? This sounds like something that needs to be fixed elsewhere, unless I'm missing something. |
The idea was, to not-announce the global static IPv6 from SLAAC when there's a temporary IP assigned. This should be portable. Since go has no functionality build in to detect if an IPv6 is temporary, I think we should approach it this way:
The privacy extension IPv6-addresses have a
|
Ah, I see.
WRT SLAAC, we could look at the MAC address and match against that. If we have multiple addresses, we can exclude the stable one. |
With 'local' addresses I was referring to IPv6 privat network addresses, not link-local, called unique local addresses within They shouldn't be announced either. Sounds like a plan! :) |
This can be closed as #6932 covers it. :) |
SLAAC can provide two different types of IPv6-addresses.
Since the default profile is more geared towards end-users, and the server profile more geared towards server usage it's to be expected, that home users most likely run the default profile.
Currently, IPFS would announce all IPv6 addresses, (including private ones see #6926,) which also include the SLAAC-address without the privacy extension (defined in RFC4941).
Please add a filter that blocks the usage of all SLAAC-addresses which have no privacy extension activated to avoid leaking private information to the internet.
The text was updated successfully, but these errors were encountered: