PcapAnalyzer – self-hosted pcap analyzer with 27 problem detectors github.com · ...

@best30

PcapAnalyzer – self-hosted pcap analyzer with 27 problem detectors github.com · 159 points · 20 comments · HN thread

TL;DR PcapAnalyzer is a beta, free and Apache 2.0 licensed, self-hosted web app that analyzes .pcap/.pcapng captures with 27 automatic problem detectors (TCP resets, retransmissions, DNS/DHCP failures, tunnel problems, cleartext logins, etc.), each with a severity and suggested next step. It runs locally via Docker, with an optional AI investigation that uses the user's own Anthropic API key. The Hacker News thread is mostly skeptical about whether a dedicated tool is needed, with some discussion of firewall RST behavior and data privacy when using the AI feature.

  • Runs on the user's own machine via Docker Compose (./start.sh), listening on 127.0.0.1 only, with a random access token generated at setup.
  • Provides 27 detectors across TCP, path (PMTUD, fragmentation, ICMP), name/address services (DNS, DHCP, ARP), applications (HTTP, TLS), tunnels (IPsec, WireGuard, OpenVPN and others) and security (port scans, cleartext logins).
  • Warns when the capture itself limits results, such as mirror-port duplicates, one-directional traffic, truncated packets, or connections already open at capture start.
  • Offers Wireshark-style views: display filters over the whole capture, flow diagrams, expert info, HTTP/DNS/DHCP/TLS tables and PDF reports.
  • The optional AI investigation uses tools to query packet metadata and cites packets; a demo mode runs without an API key. Captures are kept encrypted for up to 60 minutes of inactivity and then deleted.
  • Built on tshark (Wireshark, GPL), which runs as a separate program; the project calls itself a beta tested with synthetic fixtures and public samples.

Discussion The thread is short and mostly lukewarm. Several commenters share related approaches: LLM-written diagnostic scripts, a SQL-over-pcap tool called pcapsql, and other analyzers, while some question what problem the tool solves at all and why an AI agent would not just run tcpdump or Wireshark directly. A longer sub-thread debates whether firewalls send TCP resets when blocking SYNs, with examples on both sides. Another asks whether the AI feature redacts sensitive data, and one commenter notes that a CableLabs team built something similar that never gained traction. The mood is curious but skeptical, with little enthusiasm for the product itself.

  • Dedicated tool is unclear or unnecessary versus raw tcpdump/Wireshark or AI agents (some): Several commenters ask what problem it solves and suggest an MCP or skill-style plugin, or simply running tcpdump and reading output, would be enough for engineers.
  • Useful for less expert users and quick triage (some): A commenter argues that skilled engineers can do this by hand, but the tool saves time and helps people without deep protocol knowledge get results without escalation.
  • Local processing matters for privacy when using an LLM (a few): One commenter says that keeping captures local matters because headers can reveal sensitive information, though another argues headers are essentially public and the concern is overstated.
  • Firewalls often reset rather than silently drop SYNs (a few): Some say enterprise firewalls like Palo Alto and Cisco reset by default and Linux REJECT does too, while others say silent drop is common and resets are a DoS-cost trade-off.
  • LLM-driven doctor scripts and SQL libraries are a better approach (a few): Commenters describe turning recurring debugging lessons into automated checks or shareable SQL queries over pcap data, so tools accumulate solved problems.
  • Unclear whether AI feature redacts data (a few): A question was raised about whether the AI path sends IPs, MACs or payloads and whether any bidirectional redaction exists.

Links from the comments

#networking #pcap #wireshark #selfHosted #networkTroubleshooting