Application to comfortably monitor your network traffic
Multithreaded, cross-platform, reliable
Application translated in: 🇬🇧 - 🇮🇹
More languages will be supported in the upcoming releases
You can install Sniffnet in one of the following ways:
Follow this method only if you have Rust installed on your machine.
In this case, the application binary can be installed with:
sh
cargo install sniffnet
You can install Sniffnet through the installers available in the latest release.
Choose between a Windows installer, a DEB package, or a macOS disk image (depending on your operating system).
Depending on your operating system, you may need to install some dependencies to run Sniffnet:
In order to correctly run Sniffnet on Windows systems you need to:
Install Npcap.
Download the Npcap SDK.
Add the SDK's /Lib
or /Lib/x64
folder to your LIB
environment variable.
In order to correctly run Sniffnet on Linux systems, install the libraries and header files for the libpcap library:
sh
sudo apt-get install libpcap-dev
Note that if you are not running as root, you need to set capabilities to inspect a network adapter:
sh
sudo setcap cap_net_raw,cap_net_admin=eip <your/Sniffnet/executable/path>
Most Linux system also need this dependency (required to build the library used to play sounds):
sh
sudo apt-get install libasound2-dev
Depending on your Linux environment you may also need libfontconfig
:
sh
sudo apt-get install libfontconfig libfontconfig1-dev
MacOS natively has all the dependencies you need to build and run Sniffnet!
Geolocation refers to the remote IP address of the connection, and it's performed against a MMDB file:
The MMDB (MaxMind database) format has been developed especially for IP lookup. It is optimized to perform lookups on data indexed by IP network ranges quickly and efficiently. If you want the best performance on your IP lookups for use in a production environment, you should use the MMDB format files.
This format potentially allows Sniffnet to execute different hundreds of IP lookups in a matter of a few milliseconds.
Sometimes it is not possible to determine the location of an IP address; this is most likely due to the address being a private IP address.
Please, note that application layer protocols are just inferred from the transport port numbers.
Most of the errors that can occur are likely due to your system missing required pcap
dependencies,
necessary to correctly analyze a network adapter.
Check the required dependencies section for instructions on how to proceed.
For a Windows reference, you can check issue #1.
Note that most Linux system also need this dependency (required to build the library used to play sounds):
sh
sudo apt-get install libasound2-dev
Some Linux systems also need libfontconfig
, see issue #18 for a reference.
If you have problems after having installed Sniffnet through the provided installers,
it could be due to your OS not being compatible with the pre-built binaries I generated for you.
Reach me out, and I'll try to generate an installer for your specific operating system.
Do you want to improve Sniffnet? Check here
Sniffnet is also open to design contributions: