You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run this on WSL on an x86 machine and got this error:
$ sudo ./dnspeep
Error: Failed to start. You need to run this as root.
Caused by:
libpcap error: socket: Address family not supported by protocol
Location:
src/main.rs:91:10
I am not sure why it says You need to run this as root. when I am running it as sudo. And there is also the libpcap error, which I am hoping is because of the sudo error.
The text was updated successfully, but these errors were encountered:
This isn't because of sudo, that's a red herring -- I updated the error message to say "you might need to run as root" instead of "you need to run as root". I think this might be a WSL issue.
Are you using WSL1 or WSL2? I found this issue which looks like it's saying that libpcap doesn't work at all on WSL1: microsoft/WSL#1349
I tried to run this on WSL on an x86 machine and got this error:
I am not sure why it says
You need to run this as root.
when I am running it assudo
. And there is also the libpcap error, which I am hoping is because of the sudo error.The text was updated successfully, but these errors were encountered: