lazytcp is a TUI for interactively filtering packets from a .pcap file. It aims to provide a clean, fast and intuitive UX.
Hat tip to the awesome lazygit TUI for the name inspiration. 🙌
demo.mp4
- Rust
tcpdumpavailable onPATH
git clone git@github.com:indradhanush/lazytcp.git
cd lazytcp
cargo install --path . q/Ctrl-C: quittab/shift+tab: cycle focus between panes0: focus Filter pane1: focus Packets panej/kor arrow keys: move selection?: open keybindings popupC: clear all active filters
j/kor arrow keys: move selectionenter: open value popup for the selected filterc: clear selected filter dimension
space: toggle selected valueenter: apply/: start sub string search and type to narrow down candidates,enterto finish typingc: clear current categoryesc: cancel
taborj/k: switch start/end field- type start/end timestamps directly
c: clear both fieldsC: clear all categoriesenter: applyesc: cancel
- Current CLI usage is:
lazytcp <pcap-file>. - Packet parsing is based on
tcpdump -nn -tttt -r <pcap-file>.
See DEVELOPMENT.md
See ROADMAP.md.