hn.today

Show HN: Snitch – my Mac talked to 347 servers in one idle hour, so I built this

github.com12 points3 comments

Snitch is a privacy-first, cross-platform tool that visualizes every network connection a machine makes in real time. It places the host at the center of interactive Force Graph and World Map views, shows a 15/30/60-minute sliding timeline, and attributes traffic to processes (top five apps per connection). Key detection features include anomaly alerts for port scans, beaconing and potential exfiltration, passive LAN device discovery, tracker-domain lists, a per-app view with bandwidth sparklines, and a live privacy score. It’s positioned as an informational complement to host firewalls and packet analyzers: readable high-level visualization rather than blocking rules or raw packets.

Architecturally, packet capture is handled via libpcap/Npcap with a custom parser and a FastAPI backend that exposes WebSockets and a token-protected REST API; the frontend is React + D3 packaged in Electron. All data - geolocation DB (bundled DB-IP Lite by default), sqlite history, alerts and settings - stays local by default, loopback-only and retained on a configurable sliding window (24 h default). Releases include macOS (brew cask), Windows (Npcap required) and a Docker-based Linux deployment (host network mode). The project is AGPL-3.0 licensed and emphasizes offline geolocation and no outbound telemetry except an explicit opt-in geodb download.

Read on github.com3 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Security

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.