How to Monitor Your Network Traffic in Real-Time Using Sniffnet

If you’re curious about what passes through your network card throughout the day and want to monitor it in real-time, there are various tools available, including Sniffnet. Sniffnet is completely open source, developed in Rust, and works seamlessly on Linux, macOS, and Windows. Once you’ve selected the network adapter, you’ll see real-time graphs displaying the amount of packets and bytes passing through per second.

You can categorize this information by the quantity of packets, bytes, or the freshness of the connection :-).

Sniffnet‘s interface allows you to monitor your network traffic in real time (see screenshot). The packets can be filtered by protocol (HTTP, DNS, HTTPS, DHCP, etc.), and when launching the application, you can precisely choose the protocol you want to observe. Unlike Wireshark, Sniffnet doesn’t display the contents of these packets; instead, it generates statistics. You can even export a report in TXT format containing:

  • Source and destination IP addresses
  • Source and destination ports
  • Transported protocols
  • Number of packets and bytes exchanged
  • Initial and final timestamps of the information exchange

If, like me, you struggle to find the export button, it’s located at the bottom right. To see it, you’ll need to enlarge the window as much as possible.

Are you interested?

To get started, you need to install Rust on macOS and Linux (for Windows, click here):

curl --proto '=https' --tlsv1.2 -sSf | sh

Then open a new terminal to reload your shell and enter the following command to install Sniffnet:

cargo install sniffnet

The tool will install itself, allowing you to monitor all your network traffic at a glance (see screenshot).

I particularly enjoyed the ‘light display’/’dark display’ function, which is essentially a color inversion. Very clever (and not so ugly after all).

Find more information.

Did you like this article? Do not hesitate to share it on social networks and subscribe to Tech To Geek on Google News to not miss any articles!
5/5 - (2 votes)
"Because of the Google update, I, like many other blogs, lost a lot of traffic."

Join the Newsletter

Please, subscribe to get our latest content by email.

Mohamed SAKHRI

I am Mohamed SAKHRI, the creator and editor-in-chief of Tech To Geek, where I've demonstrated my passion for technology through extensive blogging. My expertise spans various operating systems, including Windows, Linux, macOS, and Android, with a focus on providing practical and valuable guides. Additionally, I delve into WordPress-related subjects. You can find more about me on my Linkedin!, Twitter!, Reddit Facebook

Leave a Comment