packrat-tui-0.2.1 is not a library.
🐀 packrat
A Wireshark-style network packet analyzer TUI built with Rust + Ratatui.
Crates.io package:
packrat-tui
Installed binary:packrat
__ __
___________ ____ | | ______________ _/ |_
\____ \__ \ _/ ___\| |/ /\_ __ \__ \\ __\
| |_> > __ \\ \___| < | | \// __ \| |
| __(____ /\___ >__|_ \ |__| (____ /__|
|__| \/ \/ \/ \/
Install
# Demo/simulated traffic mode (no libpcap/Npcap required)
# Real interface capture support
Features
| Tab | Contents |
|---|---|
| 1 Packets | Live packet list with protocol tree + hex dump |
| 2 Analysis | Protocol stats, top talkers, conversations, port summary |
| 3 Strings | Extracted strings with sensitive data flagging |
| 4 Dynamic | Live syscall / signal / network trace log |
| 5 Visualize | Protocol bars, traffic sparkline, top IPs, geo endpoints |
| 6 Topology | Host relationship map with packet flow summaries |
Build From Source
# Install Rust (one-time) — https://rustup.rs
|
Keyboard Shortcuts
| Key | Action |
|---|---|
Space |
Start / Stop capture |
j/k ↑↓ |
Navigate |
g / G |
Top / Bottom |
1–6 |
Switch tabs |
/ |
Filter |
i |
Pick interface |
w |
Toggle PCAP recording |
h |
Help |
C |
Clear |
q |
Quit |
Filter Syntax
tcp ip.src==192.168.1.1
dns ip.dst==8.8.8.8
http tcp.port==443
Platform Support
| Platform | Terminal | Status |
|---|---|---|
| Linux | Any | ✅ |
| macOS | iTerm2 / kitty | ✅ |
| Windows | Windows Terminal | ✅ |
| WSL2 | Any | ✅ |
License
MIT — see LICENSE