Description
RustNet is a terminal network monitor that shows live TCP, UDP and QUIC connections, with the process that owns each connection when that is available. It runs on Linux, macOS, Windows and FreeBSD. The terminal interface works over SSH and shows each connection's state, traffic, application protocol and process information. Packet inspection identifies protocols such as HTTP, TLS with SNI, DNS, SSH and QUIC. You can filter connections by process, address, port, protocol and more. A headless mode streams versioned JSON snapshots for scripts and monitoring. The app also shows host sockets, passive DNS analytics and connection health, and it can export captures as PCAP or PCAPNG files with best-effort annotations for Wireshark. After startup it drops privileges and uses platform sandboxing where supported. Packet capture needs platform-specific permissions, which the installation guide covers for Linux capabilities and macOS PKTAP and BPF access. It can be installed with Homebrew, apt, dnf, pacman, apk, Chocolatey, Scoop, Cargo or Nix. Windows also needs Npcap. The project is open source on GitHub.…
Highlights
- Live TCP, UDP and QUIC connections with process names
- Terminal UI that works over SSH
- Protocol identification from packet inspection
- Headless JSON snapshots for scripts
- PCAP and PCAPNG export for Wireshark
Ratings & Reviews
No ratings yet
Be the first to rate Rustnet.
People also visit

protocol-reverse-engineering
Master network protocol reverse engineering including packet analysis
Rustnet FAQ
What is RustNet?
A terminal network monitor that shows live connections and which process owns them, with packet inspection for common protocols.
How do I install it?
Use Homebrew on macOS or Linux, or a package from apt, dnf, pacman, apk, Chocolatey, Scoop, Cargo or Nix, as the README lists.
Why do I need extra permissions?
Packet capture needs platform-specific access. The installation guide covers Linux capabilities and macOS PKTAP and BPF access.
Does it work on Windows?
Yes, but Windows also needs Npcap installed.
Can I use it in scripts?
Yes. Headless mode streams versioned JSON snapshots for scripts and monitoring.
Is it free?
Yes. It is open source and the code is on GitHub.
What are the best Rustnet alternatives?
Popular alternatives to Rustnet include Sniffnet, Picosnitch and picosnitch. See all Rustnet alternatives

