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

[open_sockraw] socket(): Protocol not supported. #1383

Closed
fhackman opened this issue Nov 18, 2016 · 11 comments
Closed

[open_sockraw] socket(): Protocol not supported. #1383

fhackman opened this issue Nov 18, 2016 · 11 comments

Comments

@fhackman
Copy link

whenever i use hping3 i get the following error
[open_sockraw] socket(): Protocol not supported.
[main] can’t open raw socket
please Help me

@sunilmut
Copy link
Member

Raw sockets are currently only limited to the ICMP protocol. If you can share the strace (strace -o <cmd> -ff <trace_file>, we can identify what exactly is missing/going on. Thanks for trying out WSL!

@sunilmut
Copy link
Member

Also, do identify which Windows build you are on.

@madisonleavo
Copy link

I have the same error when running
$ tcptraceroute host 1883
libnet_init() failed: libnet_open_raw4(): SOCK_RAW allocation failed: Protocol not supported

$ sudo traceroute -T -p port host
socket: Protocol not supported

Version 1607 (OS Build 14393.953)

@sunilmut
Copy link
Member

@madisonleavo - Thanks for your feedback. Yes, tracepath/traceroute currently does not work on WSL. See #717. I am marking this duplicate. Here is the user voice page for the same, please upvote if you would like us to prioritize this.

Also, we have made significant updates to WSL since the 14393 build (Anniversary Update). You will definitely have a better experience with WSL if you can upgrade.

@ghost
Copy link

ghost commented Mar 11, 2018

[open_pcap] pcap_open_live: eth1: socket: Invalid argument
[main] open_pcap failed

On 1709 (16299.248)

@ksaltik
Copy link

ksaltik commented Apr 25, 2018

Creators update still same error

@ghost
Copy link

ghost commented Jul 26, 2018

this still doesnt work tried on Kali Linux

@rastuch
Copy link

rastuch commented Jan 31, 2019

this still doesnt work tried on Kali Linux

this same.

@Daquavias
Copy link

[open_pcap] pcap_open_live: socket for SIOCETHTOOL(ETHTOOL_GET_TS_INFO): Socket type not supported
[main] open_pcap failed
This is my problem need some help

@therealkenc
Copy link
Collaborator

This one was deemed /dupe #717 but not closed.

@ghost
Copy link

ghost commented Jun 12, 2020

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

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

7 participants