-
Notifications
You must be signed in to change notification settings - Fork 989
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
🐛 BUG: IPv6 confusion (Listener is IPv4, but writing to IPv6 remote) #1283
Comments
Hi @erikschul - thanks for the report. Can you share the configs from the affected hosts? Thanks. |
I've "solved" the problem by disabling ipv6 ( There are essentially no configs, everything is default values, except the lighthouse. To reproduce, I suspect you will have 3 hosts:
|
@erikschul Thanks for confirming. Sometimes the example config.yml's "defaults" do not match the code defaults, which is why I was hoping to see the config - however, I went and checked, and the defaults appear to match in both cases. The behavior you're describing makes sense to me based on the way Nebula is currently coded. One way you could avoid this issue, without setting I'm going to close this as a dupe of #1227 and add some of the details you shared here. Thanks for filing this! |
I'm pretty sure that I did try to set both local_allow_list and remote_allow_list, and also restarted the lighthouse, and it still kept trying to connect to the ipv6 of the node. But if the default I'm not sure that Either way, these are just suggestions, I'm happy to just use ipv4 for now. Thanks for everything! |
@erikschul Today, Nebula doesn't try to make any decisions based on the
Indeed, that seems like a reasonable improvement, and it's captured in ticket #1227.
Without seeing the configs you used, it's hard to say why that didn't work. But it's worth noting that while the Lighthouse has one cache, which would've been cleared by restarting, so does each node. So you'd really want to restart all three nodes to ensure the change to Hope that helps! |
What version of
nebula
are you using? (nebula -version
)1.9.4
What operating system are you using?
Linux
Describe the Bug
I have a node (A) that only supports ipv4, but the remote node (B) supports ipv6.
The nebula logs (A) says:
I'm wondering if there may be multiple issues:
1)
I'm confused as to why (B) even has an ipv6 address, since the default value is 0.0.0.0 according to the docs.
Nebula shouldn't advertise addresses that it isn't listening on.
2)
Similarly, if
listen
on (A) doesn't support ipv6, it shouldn't try to connect to ipv6 addresses.3)
I've tried specifying
preferred_ranges: ['0.0.0.0/0']
on (A), but it still attempts to use ipv6.Possibly related:
Logs from affected hosts
Config files from affected hosts
The text was updated successfully, but these errors were encountered: