talira

Termshark

A terminal UI for tshark, inspired by Wireshark

open sourceMITself-hostablefree

Termshark looks abandoned: nothing has changed since November 2022, and its makers haven't said it has ended.

No release since 2.4.0 (July 2022) and no commits since November 2022; issues and pull requests opened since have gone unanswered.

Termshark is a terminal user interface for tshark, Wireshark's command-line engine: it shows a Wireshark-like packet list, packet details and hex view in a terminal, for studying a large pcap on a remote machine without copying it back to a desktop. It reads pcap files or sniffs live interfaces, applies Wireshark display filters, reassembles TCP and UDP streams, shows conversations by protocol, searches packets and copies ranges of packets to the clipboard, with profiles for colours and columns. It's a single Go executable for Linux, macOS, the BSDs, Android (Termux) and Windows, and needs tshark installed to work. MIT-licensed, by Graham Clark; the last release, 2.4.0, came out in July 2022 and nothing has been merged since November 2022.

Problems it solves

  • browse a packet capture like in Wireshark, but over SSH on a remote server
  • apply Wireshark display filters to a pcap from a terminal
  • follow a TCP stream in a capture file without a GUI
  • see which hosts talk the most in a pcap from the command line
  • watch live traffic on a headless server with a packet list and decoded fields
  • analyze a big packet capture where it is instead of copying it to my laptop
  • inspect network packets on an Android phone in Termux

Features

  • reads pcap files or sniffs live interfaces
  • Wireshark display filters
  • TCP and UDP stream reassembly
  • conversations by protocol
  • packet search
  • copy ranges of packets to the clipboard
  • profiles for colours and columns
  • single executable for Linux, macOS, BSDs, Android (Termux) and Windows

Limitations

  • Doesn't work without tshark: Wireshark's command-line analyzer must be installed and on the PATH1

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Termshark does.

  1. Wireshark The world's leading network protocol analyzer
  2. tcpdump A powerful command-line packet analyzer
  3. ngrep grep applied to the network layer
  4. Kubeshark Network Observability for SREs & AI Agents

Compare Termshark with the top 3