nward is a lightweight, cross-platform network traffic analyzer written in Rust. It captures and inspects packets in real-time, providing detailed statistics about network activity, protocols, and traffic patterns.
- Packet Capture: Captures raw packets from any network interface.
- Protocol Analysis: Identifies TCP, UDP, HTTP, HTTPS, DNS, ICMP, and ICMPv6 traffic.
- Real-Time Statistics: Tracks packets, bytes, ports, IPs, and protocol distributions.
- Filtering: Supports protocol-based filtering (e.g.,
--filter HTTP). - Cross-Platform: Works on Windows and Unix-like systems.
- JSON Output: Optionally outputs data in JSON format for scripting and logging.
- Rate Monitoring: Calculates packet and byte rates over time.
- CLI Interface: User-friendly command-line interface powered by
clap.
- Rust (1.70 or later) and Cargo installed.
Install via rustup.
git clone https://github.com/your-repo/nward.git
cd nward
cargo build --release