Environment
- Platform: Windows Subsystem for Linux (WSL)
- WSL Distribution: Ubuntu
- sngrep version: sngrep - 1.8.3
Description
I have installed sngrep inside my Ubuntu environment on Windows Subsystem for Linux (WSL).
When I try to run sngrep, I get the following error message:
Couldn't activate capture: socket: Address family not supported by protocol
Steps to Reproduce
- Install sngrep inside Ubuntu on WSL
- Run sngrep from the terminal
Expected Behavior
sngrep should start and capture SIP packets (or at least show the interface selection).
Actual Behavior
It fails to start and shows the error mentioned above.
Additional Notes
I have tried installing libpcap using:
sudo apt update
sudo apt install libpcap-dev
Any suggestions or workarounds would be appreciated.