-
Notifications
You must be signed in to change notification settings - Fork 18k
x/net/ipv4: NewRawConn now gives operation not supported when it worked in previous versions #22150
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
Comments
https://github.com/kkirsche/golang_issue_22150/tree/master This demonstrates the issue on 1.9.1 in the bin directory and not on 1.8.4 in the bin directory. Binaries for multiple distros included. Build makefile included |
CC @mikioh |
Go 1.9 or above requires at least the commit cabdc3af38bdc364f9b1ae4e0d8e4d51ec53f7e1 on ipv4 package. Unfortunately, the previous revision on x/net doesn't work with Go 1.9 or above. Can you please tell us which revision of x/net you are using, and what happens when you update your local snapshot of x/net? |
I would guess this is the issue then. I'm in the process of updating my x/* dependencies and will update once I recompile. |
This fixed it. It was due to an outdated x/net package. Sorry about this and thank you for the quick assistance. |
Dup of #19209. |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.9.1 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
If possible, provide a recipe for reproducing the error.
1.) OS CentOS Linux release 7.3.1611 (Core)
2.) With or without SELinux enforcing
Working on a small app which encapsulates this
What did you expect to see?
No error and a new IPv4 raw connection as was supported in previous Golang builds. This only broke when recompiling an application that was last compiled 2017-07-13T11:34:03Z on the latest go version at that date.
What did you see instead?
ERRO[0030] Send() Error: Raw connection creation error="operation not supported"
on CentOS Linux release 7.3.1611 (Core) as the root user
The text was updated successfully, but these errors were encountered: