-
Notifications
You must be signed in to change notification settings - Fork 969
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
Fix UDP listener on IPv4-only Linux #787
Conversation
Thanks for the contribution! Before we can merge this, we need @perfecto25 to sign the Salesforce Inc. Contributor License Agreement. |
I tested this on an IPv4-only Arch Linux VM (disabled via kernel command line in GRUB) and it seems to be working.
I also built a development build of dnclient with it which I'm running on the VM without issue. The only thing to note is that you need to make sure |
Just as a note, I experimented with whether we can disable IPv6 using sysctl to invoke the error, as this would allow us to add a container to our smoke test to verify this. Unfortunately, it looks like setting sysctl's is not enough - IPv6 needs to be disabled via the kernel command line.
|
Make this a lot simpler, we don't need to copy/paste so much from the stdlib
Instead of keeping the unsafe.Pointers in a variable, do them all in one line.
fixes #467 - allows nebula to run on IPV4 only hosts
rebased to latest nebula master,
based on work from https://github.com/jilyaluk in #506