2 releases

0.1.1 Mar 4, 2021
0.1.0 Mar 4, 2021

#15 in #facilities

ISC license

14KB
176 lines

Nethoscope

Employ your built-in wetware pattern recognition and signal processing facilities to understand your network traffic.

Check video on how it works at https://www.youtube.com/watch?v=j1fqy6CmmeM

Installation with cargo

cargo install nethoscope

There are various dependencies on each platform described below:

macOS

Pcap should be included with the macOS so no extra steps required.

Linux

On debian based systems libpcap-dev package should be enough. More information here.

Windows

Windows requires pcap compatible library for which the npcap is the best option.

For using the binary you only need the npcap installer and for compiling from source, Lib/x64/wpcap.lib file needs to be copied to the project root from the npcap SDK before compiling in addition.

Credits

This experiment was easily implemented building on these two excellent crates:

  • pcap to capture network traffic
  • cpal to output audio

Dependencies

~1–6MB
~110K SLoC