REA pcap analysis overview (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

REA can summarize existing packet captures with a caller-supplied Wireshark TShark 4.x on Linux. This is offline inspection of files you already recorded with authorization — not a sniffer.

Minimal shape

export REA_TSHARK_COMMAND=/absolute/path/to/tshark   # optional if tshark is on PATH per docs
rea inspect-packet-capture /artifacts/device.pcapng \
  --fields ip.addr --fields udp.port --fields data.data \
  --display_filter 'udp' --format json

MCP equivalent uses tool name inspect_packet_capture with path, fields, and optional display_filter.

Companion discovery tool

rea inspect-packet-fields --query usb
rea inspect-packet-fields --kind fields --protocol udp --query port

inspect_packet_fields reads TShark's glossary (tshark -G fields) under the same private empty profile and process limits. A listed field is an installation capability, not proof it appears in your capture.

Limits (high level)

Upstream documents include (non-exhaustive):

  • Input capture size admission around 32 MiB before reading for the packet tool path.
  • 30-second command budget and 4 MiB combined stdout/stderr for capture inspection.
  • prlimit ceilings such as 1 GiB address space and 30 CPU seconds.
  • Paging via match_limit (default 50) / match_offset; use --all_matches carefully.
  • At most 1,024 fields and 1,024 decode_as rules per call.

Always re-read docs/packet-captures.md for the revision you run — numbers can move.

Capture only traffic you are allowed to record. Analyzing third-party captures without rights can still be unlawful. RepoRead covers tooling orientation, not interception advice.

Related: CLI cheat sheet, doctor.

FAQ

Does REA capture live traffic?

No. inspect_packet_capture reads an existing recording. It does not open interfaces or control devices.

Which OS is supported for field inspection?

Upstream requires Linux with TShark 4.x and util-linux prlimit. macOS and Windows are refused for this integration.

How do I point REA at TShark?

Export REA_TSHARK_COMMAND to an absolute tshark path, or ensure tshark resolves from an absolute PATH entry as documented.

Are HAR/SAZ workflows the same tool?

No. HAR/Fiddler SAZ/mitmproxy web-capture flows are separate from the TShark packet-capture tools.

Can I analyze someone else's VPN traffic?

Only with lawful authorization. RepoRead will not help with unauthorized interception.

Sources