-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Required dependencies
Are you ready to start using Sniffnet?
First of all we have to make sure your environment is correctly set up — no worries, this will take at most 5 minutes.
Depending on your operating system, you may need to install some dependencies to run the application:
Windows dependencies 
- Install Npcap, making sure to check the box
Install Npcap in WinPcap API-compatible Modeduring the installation.
If you are a user of the app, that's all you need to do!
If you are a developer and you want to build the project, you also need to:
-
Download the Npcap SDK.
-
Add the SDK's
/Lib/x64(or/Lib) folder to yourLIBenvironment variable.
Linux dependencies 
- On Debian-based distributions:
libpcap-devlibasound2-devlibfontconfig1-devlibgtk-3-dev
- On RPM-based distributions:
libpcap-develalsa-lib-develfontconfig-develgtk3-devel
Note
If you just need to run the app, the
-dev/-develpart of the dependencies is not needed (it's required only for development).
Note that if you are not running as root, you need to set capabilities to inspect a network adapter:
sudo setcap cap_net_raw,cap_net_admin=eip <your/Sniffnet/executable/path>Alternatively, you can run the app with sudo privileges:
sudo -E sniffnetMacOS dependencies 
MacOS natively has all the dependencies you need to build and run Sniffnet!
However, remember to run the app with administrator privileges: this is needed to analyze the activity of your network device.