Skip to content
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

Packet::RawSocketSend fails when binding to a device #10

Closed
GoogleCodeExporter opened this issue Nov 12, 2015 · 3 comments
Closed

Packet::RawSocketSend fails when binding to a device #10

GoogleCodeExporter opened this issue Nov 12, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

When Packet::RawSocketSend is called with a virtual network interface (such as 
"venet0"), it fails on "setsockopt(sd, SOL_SOCKET, SO_BINDTODEVICE, device, 
iface.size())". Please note that in order to write to a raw socket it is not 
necessary to bind to it.

Also, the error message reads "Setting IPPROTO_IP (IP_HDRINCL) option to raw 
socket" (it should read "Setting SOL_SOCKET (SO_BINDTODEVICE) option to raw 
socket").

Original issue reported on code.google.com by brunon...@brunonery.com on 27 Apr 2012 at 4:55

@GoogleCodeExporter
Copy link
Author

Original comment by pellegre...@gmail.com on 27 Apr 2012 at 6:08

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

I update the current tree about this issue

Original comment by pellegre...@gmail.com on 28 Apr 2012 at 6:11

@GoogleCodeExporter
Copy link
Author

Original comment by pellegre...@gmail.com on 5 Jun 2012 at 5:20

  • Changed state: Fixed

GoogleCodeExporter pushed a commit that referenced this issue Nov 12, 2015
IPv6: Separate NextHeader resolution in Craft/ParseInfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant