<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/pcapanalyzer-self-hosted-pcap-analyzer-with-27-problem-detectors-wwdjxbcu8" -->

---
title: PcapAnalyzer – self-hosted pcap analyzer with 27 problem...
description: PcapAnalyzer is a free, open source, self-hosted tool that analyzes network captures and reports what is failing and why. It runs 27 detectors across TCP, DNS,...
canonical: https://daily.dev/posts/pcapanalyzer-self-hosted-pcap-analyzer-with-27-problem-detectors-wwdjxbcu8
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: PcapAnalyzer – self-hosted pcap analyzer with 27 problem detectors | daily.dev
og:description: PcapAnalyzer is a free, open source, self-hosted tool that analyzes network captures and reports what is failing and why. It runs 27 detectors across TCP, DNS,...
og:url: https://daily.dev/posts/pcapanalyzer-self-hosted-pcap-analyzer-with-27-problem-detectors-wwdjxbcu8
og:image: https://api.daily.dev/og/posts/WwDJXbcu8.png
og:image:alt: PcapAnalyzer – self-hosted pcap analyzer with 27 problem detectors
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# PcapAnalyzer – self-hosted pcap analyzer with 27 problem detectors

**[Hacker News](https://daily.dev/sources/hn)** · 4 min read · 0 upvotes · 0 comments

## Summary

PcapAnalyzer is a free, open source, self-hosted tool that analyzes network captures and reports what is failing and why. It runs 27 detectors across TCP, DNS, DHCP, TLS, HTTP, VPN tunnels and security issues like port scans and cleartext logins. It includes Wireshark-style packet views with real display filters, a flow diagram, PDF reports, and an optional AI investigation mode that cites the packets behind each claim, using your own Anthropic API key or a free demo mode. It runs via Docker Compose and listens on localhost only, keeping captures on your machine. Licensed under Apache 2.0 and currently in beta.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/sebaandrada-cell/PcapAnalyzer>

## Questions this post answers

### What detectors does PcapAnalyzer run on a pcap capture?

PcapAnalyzer runs 27 detectors covering TCP issues (retransmissions, duplicate ACKs, firewall blocks, slow handshakes), path problems (PMTUD black holes, IP fragmentation, routing loops), DNS/DHCP/ARP issues, application errors (HTTP 4xx/5xx, TLS alerts, deprecated TLS versions), VPN tunnel failures (IPsec, WireGuard, OpenVPN, GRE, L2TP, Teredo), and security issues like port scans, cleartext logins, and ARP spoofing.

_Anyone diagnosing flaky connections or VPN drops can track tools like this via daily.dev._

### Can I use an AI assistant to investigate a pcap file without sending the file to a cloud service?

Yes. PcapAnalyzer's optional AI investigation runs locally and only gives the AI tool access to packet metadata and filtered results, never the raw pcap file, using your own Anthropic API key. Without a key, a free demo mode generates text from the analysis instead. The capture itself stays on your machine and is never uploaded.

_Developers weighing AI-assisted debugging against data privacy can follow projects like this on daily.dev._

## Community take

How the wider developer community reacted, aggregated from 1 discussion and 20 comments across hackernews (as of 2026-11-22).

**TL;DR:** Reaction is mixed-to-skeptical: some question what unique problem the tool solves versus just running tcpdump/Wireshark or an LLM directly, while others explain its value for less experienced users and debate the technical accuracy of one of its example detections (firewall RST behavior).

**Sentiment:** 20% positive · 35% mixed · 45% skeptical

**The case for**

- It can save time for people who lack deep protocol knowledge or for experienced engineers automating repetitive analysis.
- Keeping capture analysis local avoids sending potentially sensitive packet data to third-party LLMs for training.
- Running saved 'doctor scripts' or reusable analysis libraries against captures is a pattern several people say works well for them.

**The pushback**

- Several people are unclear on what distinct problem the tool solves beyond existing tools like tcpdump/Wireshark.
- Some suggested an MCP/Skill integration into an existing LLM workflow would be more natural than a separate standalone app.
- The claim that firewalls commonly send a TCP reset when blocking traffic was disputed, with some saying silent drops are the norm for security/DoS reasons.
- Concerns were raised about what data is divulged when using the optional AI investigation feature and whether sensitive fields are redacted.
- One commenter raised a security worry about running AI-assisted analysis near a gateway where malware could be present.

**By community**

- hackernews (heated): Discussion splits between people defending the tool's usefulness for non-experts and time-saving automation, and others pressing hard on what unique problem it actually solves, with a notable sub-argument about firewall reset behavior.

**Hottest debate:** Whether firewalls typically respond to blocked connections with a TCP reset (useful for this tool's detection) or silently drop them instead.

**Open questions**

- What exactly is sent to the LLM in AI investigation mode, and is sensitive data redacted bidirectionally?
- Could this functionality be better delivered as an MCP/Skill plugin for existing LLM tools rather than a standalone app?
- Can the tool be installed/run via a uv environment instead of Docker?

**Highlights**

> I guess it is if you haven’t worked with this sort of thing before pcap is a file format for packer captures. You can use tools to capture copies of all packets traversing a network interface, both on clients and servers running operating systems like Linux and Windows, and on network switches and routers that support this (at a minimum, with enterprise gear you can at least send a copy of all traffic from specific source and destination interfaces in both receive and transmit directions to other interfaces you connect a “sniffer” to that you then run a pcap capture on, or you can often even encapsulate the copied traffic in GRE tunnel payloads and send them directly to a remote sniffer). This is a local web app that uses Python libraries to analyze these capture files and look for common tell tale signs of specific issues, such as a TCP connection being opened and being immediately reset, which is an excellent way to find firewalls in the path that are denying connections. You can also, providing an API key, send the capture and analysis result to an LLM to discuss things further. A sufficiently talented network engineer can do this by hand, but can save time with this tool. End users that aren’t capable of interpreting the capture due to lack of knowledge of underlying network protocols can also get results this way without escalation.
> — [ba1afd89f34cb23 on hackernews · 2 comments](https://news.ycombinator.com/item?id=50595296)

> >pcap is a file format for packer I've worked with pcap through tcpdump and wireshark before. >This is a local web app that uses Python libraries to analyze these capture files and look for common tell tale signs of specific issues The problem is that your 'problem' is that it's an app to find problems. So you are just kicking the can down the road of defining your problem. You present a specific example though: >such as a TCP connection being opened and being immediately reset, which is an excellent way to find firewalls in the path that are denying connections So the customer has a specific problem they are trying to debug and that's when they use your tool? It's not like a proactive scan of issues? I guess I see it, but I don't get why someone's AI Agent wouldn't just run 'apt install tcpdump' or 'winget install wireshark-cli' and run the commands themselves and interpret it. Consider evaluating an MCP or a Skill file, the UX is like a plugin in the user's existing trusted LLM software, instead of downloading a separate tool to find the problem. I'm just having trouble imagining how someone ends up downloading this otherwise.
> — [TZubiri on hackernews · 1 comments](https://news.ycombinator.com/item?id=50595576)

> Disagree. This is configuration dependent, and generally enterprise firewalls send a reset to quickly close the connection and letting the client know about that instead of retrying assumed lost SYNs. Palo Alto and Cisco firewalls reset by default (you can, of course, change that). Linux will if you REJECT instead of DROP. You may be configuring to silently drop, but many people don’t. Either way, the point wasn’t that you can find all firewalls that way, but that this tool purports to be able to tell you quickly when this behavior does occur.
> — [ba1afd89f34cb23 on hackernews · 2 comments](https://news.ycombinator.com/item?id=50598189)

> Firewalls generally dont sent a rst when blocking syn, they just silently drop it.
> — [Hikikomori on hackernews · 1 comments](https://news.ycombinator.com/item?id=50597490)

> I'm confused what is divulged if you use the AI feature.  Does it perform bidirectional redaction of sensitive portions of captures (IP's, MAC's, data, etc)?
> — [rkagerer on hackernews](https://news.ycombinator.com/item?id=50595763)

**Source threads**

- [hackernews](https://news.ycombinator.com/item?id=50594132) · 130 points · 20 comments

## Similar posts on daily.dev

- [I stopped using Wireshark for first-line troubleshooting after discovering Windows' built-in packet capture tool](https://daily.dev/posts/i-stopped-using-wireshark-for-first-line-troubleshooting-after-discovering-windows-built-in-packet--x4ki42qwx) · XDA Developers · 0 upvotes · 0 comments
- [Wireshark Alternative Android](https://daily.dev/posts/wireshark-alternative-android-tcgxokisb) · Medium · 1 upvotes · 1 comments
- [Introducing Isopcap: Kubernetes-Native Packet Capture for Cloud Native Operations](https://daily.dev/posts/introducing-isopcap-kubernetes-native-packet-capture-for-cloud-native-operations-oghiyyut2) · Isovalent · 1 upvotes · 0 comments
- [Hunting Down Hackers: Incident Response with Wireshark](https://daily.dev/posts/hunting-down-hackers-incident-response-with-wireshark-btxstfa39) · InfoSec Write-ups · 0 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#fastapi](https://daily.dev/tags/fastapi)

[View this post on daily.dev](https://daily.dev/posts/pcapanalyzer-self-hosted-pcap-analyzer-with-27-problem-detectors-wwdjxbcu8)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"PcapAnalyzer – self-hosted pcap analyzer with 27 problem detectors","url":"https://daily.dev/posts/pcapanalyzer-self-hosted-pcap-analyzer-with-27-problem-detectors-wwdjxbcu8","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/pcapanalyzer-self-hosted-pcap-analyzer-with-27-problem-detectors-wwdjxbcu8"},"datePublished":"2026-11-22T08:49:37.533Z","dateModified":"2026-11-22T14:05:41.234Z","description":"PcapAnalyzer is a free, open source, self-hosted tool that analyzes network captures and reports what is failing and why. It runs 27 detectors across TCP, DNS,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c91758b12d73f79765b404834f231695?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c91758b12d73f79765b404834f231695?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/pcapanalyzer-self-hosted-pcap-analyzer-with-27-problem-detectors-wwdjxbcu8","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,fastapi","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"PcapAnalyzer – self-hosted pcap analyzer with 27 problem detectors"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/pcapanalyzer-self-hosted-pcap-analyzer-with-27-problem-detectors-wwdjxbcu8#faq","mainEntity":[{"@type":"Question","name":"What detectors does PcapAnalyzer run on a pcap capture?","acceptedAnswer":{"@type":"Answer","text":"PcapAnalyzer runs 27 detectors covering TCP issues (retransmissions, duplicate ACKs, firewall blocks, slow handshakes), path problems (PMTUD black holes, IP fragmentation, routing loops), DNS/DHCP/ARP issues, application errors (HTTP 4xx/5xx, TLS alerts, deprecated TLS versions), VPN tunnel failures (IPsec, WireGuard, OpenVPN, GRE, L2TP, Teredo), and security issues like port scans, cleartext logins, and ARP spoofing. Anyone diagnosing flaky connections or VPN drops can track tools like this via daily.dev."}},{"@type":"Question","name":"Can I use an AI assistant to investigate a pcap file without sending the file to a cloud service?","acceptedAnswer":{"@type":"Answer","text":"Yes. PcapAnalyzer's optional AI investigation runs locally and only gives the AI tool access to packet metadata and filtered results, never the raw pcap file, using your own Anthropic API key. Without a key, a free demo mode generates text from the analysis instead. The capture itself stays on your machine and is never uploaded. Developers weighing AI-assisted debugging against data privacy can follow projects like this on daily.dev."}}]}
```

