Skip to content
المشاريع

حول

مراقبة حركة الشبكة لكل عملية من الطرفية، مع فحص عميق للحزم. يعمل على أنظمة متعددة ويوفّر بيئة معزولة.

الأنظمة والبنية التحتية

كيف تُقاس هذه الأرقام

5,508 نجمة260 التفرعات +176 خلال 24 ساعة

ما يمكنك فعله

  • Shows connection state, traffic, application protocol, and available process information in a terminal UI that works over SSH.
  • Identifies protocols such as HTTP, TLS/SNI, DNS, SSH, and QUIC through packet inspection.
  • Filters connections by process, address, port, protocol, and more.
  • Streams versioned JSON snapshots (including incremental deltas and passive findings) in headless mode for scripts and monitoring.

النمو المقاس للنجوم

خلال 24 ساعة
+١٧٦
خلال 7 أيام
+٢٣٨
خلال 15 يومًا
+٢٦٢
خلال شهر
+٢٩٩

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

RustNet

Built with Ratatui Build status Crates.io version Latest release Packaging status Apache 2.0 license

English | 简体中文 | 日本語

RustNet is a terminal network monitor that shows live TCP, UDP, and QUIC connections with process attribution when available. It runs on Linux, macOS, Windows, and FreeBSD.

Install

On macOS or Linux with Homebrew:

brew install rustnet

Packet capture needs platform-specific permissions. See the installation guide for Linux capabilities, macOS PKTAP and BPF access, other package managers, and troubleshooting.

Release status: The highlights, GIF, and screenshots show v1.8.0. The recordings use generated traffic in an isolated Linux environment with eBPF fentry/fexit process attribution. The guides linked from main may also describe unreleased changes. For the installed release, use the v1.8.0 documentation and check rustnet --version and rustnet --help.

Demo

RustNet demo

Highlights

  • Shows connection state, traffic, application protocol, and available process information in a terminal UI that works over SSH.
  • Identifies protocols such as HTTP, TLS/SNI, DNS, SSH, and QUIC through packet inspection.
  • Filters connections by process, address, port, protocol, and more.
  • Streams versioned JSON snapshots (including incremental deltas and passive findings) in headless mode for scripts and monitoring.
  • Shows host sockets, passive DNS analytics, TCP handshake health, and diagnostic findings.
  • Exports captures as PCAP or PCAPNG with best-effort annotations for analysis in Wireshark.
  • Reduces privileges after startup and uses platform sandboxing where supported.

See the usage guide, architecture guide, and security guide for feature details.

Since v1.7.0, RustNet requires trusted directories for Unix output files and creates diagnostic logs exclusively.

v1.7.0 fixes ARM DEB compatibility with older glibc and Debian 13's time64 libraries. See the installation guide for supported distributions; v1.6.0 assets do not include these fixes.

Screenshots

Health & Host
An expanded finding shows which destination refused a TCP connection
RustNet Health & Host with TCP handshake evidence
Overview
Live connections and traffic
RustNet Overview
Details
Process, protocol, and peer information
RustNet Details
Graph
Traffic and application charts
RustNet Graph
Activity
Traffic by process
RustNet Activity
Host sockets
Listening and bound endpoints
RustNet Host sockets
DNS
Passive DNS queries and responses
RustNet DNS

Other installation methods

Platform Command
Ubuntu 22.04+ / Linux Mint 21+ sudo add-apt-repository ppa:domcyrus/rustnet
sudo apt update && sudo apt install rustnet
Fedora 43+ sudo dnf copr enable domcyrus/rustnet
sudo dnf install rustnet
Arch Linux sudo pacman -S rustnet
Alpine Linux (edge/community) apk add rustnet
Windows (WinGet) winget install --id domcyrus.RustNet --exact --source winget
Windows (Chocolatey / Scoop) choco install rustnet or scoop install rustnet
Cargo Prebuilt binary or source install
Nix / NixOS nix-shell -p rustnet

Windows also requires Npcap. Default settings are supported since v1.7.0; v1.6.0 requires "WinPcap API compatible mode". For openSUSE, Pop!_OS, FreeBSD, Docker, and source builds, see the installation guide.

Run

On Linux, after configuring capabilities:

rustnet

On macOS, PKTAP requires sudo. With BPF access configured, RustNet can run without it but uses lsof for process detection.

Press / to filter connections, Enter to inspect one, and q to quit. See the usage guide for interface selection, options, controls, filters, and exports.

Documentation

The rustnet binary is the supported product. Workspace crate APIs are internal and may change without compatibility shims.

RustNet uses ratatui for its terminal UI and libpcap/Npcap for packet capture. See CONTRIBUTORS.md for project contributors.

Licensed under Apache License 2.0.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…