Skip to content

PureSnitch v0.2.0 - the release that actually runs

Choose a tag to compare

@momenbasel momenbasel released this 10 Aug 16:59
· 14 commits to main since this release
323b8bf

If you tried v0.1.0 and the app appeared to do nothing — this is the release that fixes it. Everything in #5 is addressed.

Universal binary (Apple Silicon + Intel), macOS 13 Ventura or later. v0.1.0 was arm64-only and would not launch on an Intel Mac at all.

What was broken

  • The privileged helper had never worked. In the helper's main.swift, HelperService was created inside a do {} block, so it deallocated at the end of it. NSXPCListener holds its delegate weakly, so the listener rejected every connection and the app read zero traffic and zero rules even with the daemon approved and running. Fixed and verified over real XPC.
  • The app never said it was waiting for you. macOS registers the background helper but leaves it disabled until you approve it in Login Items. Until then PureSnitch just showed zeros. There is now a banner in every window that names the actual state and gives you the one button that fixes it, and the app notices your approval within a few seconds instead of needing a relaunch.
  • The world map was missing. The Network Monitor window opened at 522×590 instead of 1100×700, so the fixed side panes squeezed the map out of the window entirely.
  • No app icon. The v0.1.0 bundle shipped without Contents/Resources — no compiled asset catalog at all.
  • Settings did nothing. It went through the SwiftUI Settings scene, which does not work for a menu-bar-only app.
  • The menu bar icon was two colours. It was a hand-drawn bitmap with pink and blue text. It is now a normal monochrome template glyph that follows your menu bar's appearance; the speed readout is an opt-in setting.
  • Traffic rates were nonsense. nettop output was parsed per pipe-read rather than per frame, and the first frame was diffed against zero, so the whole cumulative history was reported as one second of traffic — up to gigabytes per second in the menu bar.

Changed on purpose

  • This build is monitor-only. The per-process content filter needs restricted entitlements that require Apple-issued provisioning profiles; shipping them unauthorised risks macOS refusing to start the app at all. The firewall flavour now lives behind project-netext.yml — see docs/NETWORK-EXTENSION.md.
  • Enforcement is opt-in. PureSnitch no longer loads a pf anchor or takes port 53 on first launch. Turn it on in Settings if you want it.
  • The map only plots real coordinates. It used to scatter invented pins when geolocation was missing.

Install

Download the DMG, drag PureSnitch into Applications, and open it from there — macOS refuses to install background helpers for an app run from the disk image. On first launch approve it in System Settings › General › Login Items & Extensions → Allow in the Background.

Known limitation

Per-connection byte counts and geolocation are not populated yet, so per-process and per-domain totals read 0 B and the map says "No located connections yet". The app says so rather than inventing numbers.


SHA-256 of PureSnitch-0.2.0.dmg: 5cb79a016b9a0477e07caa499b527d495ea50aec0f779983f0c45456729b8cea