gcla / termshark
- среда, 24 апреля 2019 г. в 00:17:37
Go
A terminal UI for tshark, inspired by Wireshark
A terminal user-interface for tshark, inspired by Wireshark.
If you're debugging on a remote machine with a large pcap and no desire to scp it back to your desktop, termshark can help!
tshark has many more features that termshark doesn't expose yet! See What's Next.
Termshark uses Go modules, so it's best to compile with Go 1.11 or higher. Set GO111MODULE=on then run:
go get github.com/gcla/termshark/cmd/termsharkThen add ~/go/bin/ to your PATH.
For all packet analysis, termshark depends on tshark from the Wireshark project. Make sure tshark is in your PATH.
Inspect a local pcap:
termshark -r test.pcapCapture ping packets on interface eth0:
termshark -i eth0 icmpRun termshark -h for options.
Pre-compiled executables are available via Github releases
See the termshark user guide (and my best guess at some FAQs)
Termshark depends on these open-source packages:
Note that tshark is a run-time dependency, and must be in your PATH for termshark to function. Version 1.10.2 or higher is required (approx 2013).