netrain

beta

Network packet monitor with threat detection

A Matrix-style network packet monitor for the terminal: live capture or pcap replay, protocol and hostname insight, flow tracking, scan/flood detection, and a JSON mode for scripts.

v0.2.x — API may change before 1.0. Last GitHub release 2025-07; crate track is current.

Language
Rust
License
MIT
Version
v0.2.9
Released
2026-08-24

Install

cargo install netrain

How it works

Single Rust binary; `netrain --demo` runs with no root or live interface needed. Live capture or pcap replay with rule-based scan/flood detection and JSON output. Published on crates.io (3,500+ downloads).

Links