-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
net linux preferIPv4 is not quite right #679
Labels
Comments
Regarding the question of "is net.ipv6.bindv6only=1 broken?", Java people have a similar issue: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6342561 |
Rather than arguing if net.ipv6.bindv6only=1 is broken or not, a better solution may be to use the socket option IPV6_V6ONLY (RFC 3493, section 5.3). This option allows a per-socket tuning of the "V6only binding". Go could set it to 0 systematically or, better, export it for applications to use. Apparently, with today's tip, this option is imported (src/pkg/syscall/zerrors_linux_386.go) but I'm not sure it can be used by applications. (syscall.SetsockoptInt ? Not very clean) |
Issue #685 has been merged into this issue. |
Issue #890 has been merged into this issue. |
Comment 6 by joerg.sonnenberger: Attached is a patch that works on NetBSD. Attachments:
|
This issue was closed by revision d472665. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: