Hacker News new | ask | show | jobs
by ba1afd89f34cb23 14 days ago
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.

2 comments

Firewalls generally dont sent a rst when blocking syn, they just silently drop it.
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.

Anecdotal, but I had the same experience debugging some incorrect firewall configs at work.
You can, but why would you. It's a DoS vector as it takes more resources to respond.
In cases I’ve seen, normally Internet-origin traffic is silently dropped, but blocked traffic from the local network will get a tcp reset or ICMP unreachable.

A local client trying to DoS the local firewall has a lot better options than trying to overload it sending rejects.

>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.

It’s not my tool. I have nothing to do with its development and have never used it. You posted a statement of not understanding what this is for, with no indication of your knowledge level around the problem, so I tried to help.

This is a local tool so you don’t ship full payloads to an LLM that, depending on the license level of your key, will be used for training. These payloads will contain what at least some companies will consider sensitive information just in packet headers, let alone potential clear text.

tinhoil hat off, tcpdump will capture headers, content will be encrypted, assume headers are public because they are. it’s not a secret, Kerchoff it

second, both tools use LLMs apparently, one uses LLMs better or in a safer manner? see above, it’s already safe

Internal traffic is not public and oftentimes considered very private (by the same companies that later on decide to dematerialize their whole lan infrastructure into the cloud)
oh ok I think I see it. some old internal networks might have unencrypted protocols running inside a vpn or a local network.

and this thing runs a local model so that it can comply with strict security policies that would forbid sending data to openai or anthropic