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

Got "Socket type not supported!" Error, when start snort in WSL kali #3216

Closed
Mithrilwoodrat opened this issue May 19, 2018 · 39 comments
Closed

Comments

@Mithrilwoodrat
Copy link

  • Windows build number : 10.0.16299.431

  • WSL version: Kali Linux Linux DESKTOP-SDPSKB6 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 GNU/Linux

  • Trying to start snort in command line, Got Socket type not supported! error.

  • Command Output

root:snort-2.9.11.1# snort -ilo
Running in packet dump mode

        --== Initializing Snort ==--
Initializing Output Plugins!
pcap DAQ configured to passive.
Acquiring network traffic from "lo".
ERROR: Can't start DAQ (-1) - socket for SIOCETHTOOL(ETHTOOL_GET_TS_INFO): Socket type not supported!
Fatal Error, Quitting..

according to socket(AF_UNIX, SOCK_RAW, 0) = -1 ESOCKTNOSUPPORT (Socket type not supported) ,
it seemss this problem related to AF_UNIX support in WSL.

I found an Issue about this #134. And there is also a blog saying it's supported in Insider Build 17063.
Can I fixed this if I update my windows system to newer vesion?

@therealkenc
Copy link
Collaborator

SOCK_RAW is #717 #1383 and friends. #134 is AF_UNIX with SOCK_DGRAM and SOCK_STREAM.

@MA24th
Copy link

MA24th commented Feb 7, 2019

MS PEOPLE PLZ SOLVE THE FUCKING AF_UNIX PROPLAM ON WSL.

@moralrebuild
Copy link

hitting this issue with latest Windows 10 updates (2019 Feb), please fixed it instead of muting the complaining voice

@ghost
Copy link

ghost commented Feb 20, 2019

Still a problem on win 10 build 17763.316.. back to a VM.. nice try M$

@Qrbaker
Copy link

Qrbaker commented Dec 15, 2019

Yep, issue is still present and makes tcpdump et. al useless as of build 18363.535.

@moises-gonzalez
Copy link

Humm, I'm, seeing this Issue and I think would be better use Kali as Virtual environment in VMBOX.

@Djoraan
Copy link

Djoraan commented Apr 30, 2020

Same issue with ubuntu
Win 10 v.1909 (Build 18363.778) WSL - Ubuntu 18.04.2 LTS:
netdiscover -r 192.168.0.0/24
Couldn't find default device: socket: Socket type not supported

@k1941996
Copy link

k1941996 commented May 1, 2020

the same error arrives on Linux distros running on android: can you please look into the matter, or give me hint so i could solve it myself

@sundxu
Copy link

sundxu commented May 5, 2020

same issue

@koifans
Copy link

koifans commented May 31, 2020

same issue here.
Windows version: 10.0.18363.836
WSL: Ubuntu 18.04.4 LTS

@microsoft microsoft deleted a comment from robertegj Jun 16, 2020
@Eriobis
Copy link

Eriobis commented Jun 16, 2020

Same issue here

@Ahnaf702
Copy link

#Help
Same issue with Kali-linux
image
Please solve this issue as soon as possible

@yudengc
Copy link

yudengc commented Jul 1, 2020

Same issus here.
Windows10 version: 19041.329
WSL Ubuntu 20.04 LTS

@suchb
Copy link

suchb commented Jul 1, 2020

got same issue,why closed?

@logi14
Copy link

logi14 commented Jul 19, 2020

Why this issue is closed still have same problem.

@vonmoraes
Copy link

Same here....

@therealkenc
Copy link
Collaborator

Why this issue is closed still have same problem.

Because it is duplicative #717, #1930, others. But you know that because of the tag at the top of the page.

image

image

@siyengar04
Copy link

siyengar04 commented Jul 26, 2020

same issue occurs for me, while trying to use EtherApe, a packet sniffer:

siyengar@DESKTOP-SDU1C6C:~/Downloads/etherape-0.9.18$` etherape

(etherape:12795): GVFS-RemoteVolumeMonitor-WARNING **: 01:14:23.023: remote volume monitor with dbus name org.gtk.vfs.UDisks2VolumeMonitor is not supported
EtherApe-INFO: 01:14:23.461: sctp protocol not supported
EtherApe-INFO: 01:14:23.462: ddp protocol not supported
EtherApe-INFO: 01:14:23.462: ddp protocol not supported
EtherApe-INFO: 01:14:23.462: ddp protocol not supported
EtherApe-INFO: 01:14:23.462: ddp protocol not supported
EtherApe-INFO: 01:14:23.474: get_interface result: 'socket: Socket type not supported'
EtherApe-INFO: 01:14:23.474: No suitables interfaces for capture have been found
(etherape:12795): Gtk-DEBUG: 01:14:23.528: Failed to create D-Bus proxy: Could not connect: No such file or directory
(etherape:12795): dconf-DEBUG: 01:14:23.550: watch_fast: "/org/appmenu/gtk-module/" (establishing: 0, active: 0)
(etherape:12795): dconf-DEBUG: 01:14:23.550: unwatch_fast: "/org/appmenu/gtk-module/" (active: 0, establishing: 1)
(etherape:12795): dconf-DEBUG: 01:14:23.551: watch_established: "/org/appmenu/gtk-module/" (establishing: 0)

@GoodspeedAmar
Copy link

Hello..
i know its old issue, but was anyone finally able to find a solution for this.
if anyone has solution for this please please let me know.

i have installed Bettercap on Kali on WINDOWS 10 os..
Bettercap version 2.28 is still giving issue...

socket for SIOCETHTOOL(ETHTOOL_GET_TS_INFO): Socket type not supported

@diegofelipe01
Copy link

Hi,

Just got this issue on the latest version of Windows 10 with Kali Linux.

Will we have a fix for the issue? For what I can see it has been around for a long time and it is closed for some reason.

@GoodspeedAmar
Copy link

Any one please .. help / hint / Guide... hunting this issue since 1 week now.. still no Clue..

@GoodspeedAmar
Copy link

GoodspeedAmar commented Nov 9, 2020 via email

@ikbs
Copy link

ikbs commented Dec 8, 2020

this problem happened on kali and ubuntu which based on windows

@FaresCharfi
Copy link

Same issue!
WSL2
OS Build 18363.1316
Ubuntu 18.04 LTS

$ tcpdump -i eth0
tcpdump: socket for SIOCETHTOOL(ETHTOOL_GET_TS_INFO): Socket type not supported

@YowFung
Copy link

YowFung commented Feb 5, 2021

same issue!

WSL Ubuntu 20.04 LTS (Linux xxxx 4.4.0-17763-Microsoft #1432-Microsoft Mon Aug 18 18:18:00 PST 2020 x86_64 x86_64 x86_64 GNU/Linux)
Windows 10 1809 (17763.1697)

$ tcpdump -i eth1
tcpdump: socket for SIOCETHTOOL(ETHTOOL_GET_TS_INFO): Socket type not supported

@therealkenc
Copy link
Collaborator

For ETHTOOL_GET_TS_INFO you need WSL2.

@ttellerx
Copy link

ttellerx commented May 2, 2021

STILL THERE:

Does Microsoft want WSL to be really like Linux or not ?
This breaks stuff I'm doing so its back to VMWare and a working UBUNTU VM.

root@Rubidium:/home/ttellerx# tcpdump
tcpdump: socket: Socket type not supported
root@Rubidium:/home/ttellerx#

@nobody48sheldor
Copy link

same issue even with wsl2

ettercap 0.8.3 copyright 2001-2019 Ettercap Development Team

ERROR : 94, Socket type not supported
[/build/ettercap-TFupjX/ettercap-0.8.3/src/ec_capture.c:capture_getifs:114]

 socket: Socket type not supported

@m1mohamad
Copy link

"workaround ?> remove WSL > install Linux VM :D :D :D 👍 MS 👯 on Linux wanting to making Lindows .. tell me I'm crazy but I think they are planning something with all these issues .. some hybrid MS dominated Linux flavor of sorts ...."

@janellealag
Copy link

I have the same issue

@jeremybusk
Copy link

Still there on WSL 2 and 20.04

@andychen-1
Copy link

Same problem with WSL2 + Ubuntu 20.04.2

@goshante
Copy link

goshante commented Sep 9, 2022

Same problem WSL1/WSL2 + Ubuntu 18 on Windows10 Pro 21H2
It seems like M$ don't give a sh*t, this bug is 4 years old, Microsoft what the hell?

@skylartr
Copy link

Still an issue for me as well, why hasn't this problem been fixed? I cant find a solution anywhere.

@HarukaYang
Copy link

Still an issue today with WSL2 Ubuntu 18.

@szhydkov
Copy link

Same here: Windows 10, WSL2 Ubuntu 20.04

@pb420
Copy link

pb420 commented Apr 13, 2023

tcpdump still no go, Win10 WSL2 Ubuntu

@foxhacker0000
Copy link

same

@mohamedelhoudaigui
Copy link

same thing jesus man

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