-
Notifications
You must be signed in to change notification settings - Fork 990
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: "Listener is IPv4, but writing to IPv6 remote" error is usually unhelpful #1227
Comments
You meant "if the host has IPv6 disabled" ? |
I have a problem that might be related, I have setup in all my nodes:
however it happears they seem to be connecting using ipv6... theese specific nodes have both ipv4 and ipv6 in the eth interface. i believe either the message is wrong or nebula is ignoring the static map directive... |
@migs35323 It looks like you're experiencing the misleading error this ticket is written to explain.
You mentioned The message you are see likely occurs after you've handshaked to the Lighthouse, when the host attempts to handshake with another host. This is because hosts report all known addresses (e.g. from
I suggest giving the work around a try. You can learn more about |
What version of
nebula
are you using? (nebula -version
)1.9.4
What operating system are you using?
Linux
Describe the Bug
If a host has IPv6 disabled in the kernel, or
listen.host
set to 0.0.0.0, and the Lighthouse returns an IPv6 address during the handshake process, this error will occur. This confuses a lot of users into thinking it's the cause of ~(whatever issues they happen to be having). Usually, it just means the host will find a tunnel over IPv4 instead.Maybe we can make this message warning-level, debug-level, less frequent, more informative, or occur in fewer configurations?
@wadey suggested defaulting
local_allow_list
andremote_allow_list
to to exclude IPv6 when we seelisten.host
is set to 0.0.0.0 or IPv6 is disabled in the kernel. (This can be done manually as a workaround today.)Logs from affected hosts
n/a
Config files from affected hosts
n/a
The text was updated successfully, but these errors were encountered: