All pages

Hotspot mode

One switch, on the Network page of the main window: Stop apps updating on hotspots. Turn it on and NetworkMonitor switches off automatic updates whenever you're on a mobile hotspot, then switches them back on when you leave. Apps keep working normally: Chrome still browses, Slack still messages, VS Code still edits. They just don't download new versions of themselves while you're paying by the gigabyte. There's nothing to configure and no list to maintain. It's off until you turn it on.

When you turn it on

Installing NetworkMonitor doesn't look at your other apps or change anything. Hotspot mode is off, and only the traffic counting runs. When you switch it on:

  1. macOS asks you to allow a small helper, once: switch on NetworkMonitor in System Settings › General › Login Items & Extensions, under Allow in the Background (#131). macOS may ask for your password or Touch ID to allow it; NetworkMonitor itself never does. It's optional; see what it pauses for what it adds.
  2. NetworkMonitor looks inside the apps in /Applications and ~/Applications to see how each one updates. It reads their files on your Mac; there's no list downloaded from anywhere.
  3. The Network page shows two lists:
    • Paused on a hotspot: every app it can pause, one line each with a switch to leave it alone. How it's paused is behind an ⓘ beside the name.
    • Can't be paused: every app it can't, with the reason behind the same ⓘ.
  4. Nothing changes until you join a hotspot. Then everything on the first list is paused, and it's all put back when you leave.

The lists are made again each time you open the Network page, so an app you install later shows up.

What counts as a hotspot

The first of these that applies decides. Every check is unprivileged, and Right now, on the Network page, always says which one fired.

  1. You said so. This is a hotspot, on the Network page and in the popover's Network view, is there on every network, because some phones look like ordinary Wi-Fi or like Ethernet over USB. Switch it on for a network NetworkMonitor missed, or off for one it took for a hotspot. Your say is remembered for that network and beats everything below.
  2. macOS says so. It marks a connection as expensive, as it does for an iPhone hotspot it recognises.
  3. An Android phone says so. Android's hotspot and USB tethering mark every address they hand out as metered, in the DHCP reply: vendor option 43, ANDROID_METERED. macOS ignores it; NetworkMonitor reads it from configd's copy of the lease (#109).
  4. The router looks like an iPhone's Personal Hotspot: its address is in 172.20.10.0/28.
  5. The router looks like an older Android phone sharing its connection: 192.168.42.0/24 or 192.168.43.0/24. Newer ones pick a random subnet, which is why 3 comes first.
  6. You're tethered through a phone over USB: the interface's name contains iPhone, iPad, Android, RNDIS or USB tether.
  7. The connection is in Low Data Mode, which you can set for any network in System Settings, such as a capped home line or hotel Wi-Fi.

Everything after 3 is convention, so it fails safe: a miss means updates aren't paused, never that your home network is treated as a hotspot, and This is a hotspot settles any miss. The popover's Network button says Hotspot, in orange, whenever a connection counts.

These checks only decide about the connection in use. macOS sends everything over the connection it ranks highest, so joining a hotspot while Ethernet is plugged in leaves it idle. The popover and Right now then say the hotspot is connected but isn't being used, and data use, History and pauses stay with Ethernet.

What it pauses

Without a password:

App What changes
Any app that updates with Sparkle (VLC, AppCleaner, ChatGPT, Affinity, VoiceInk and others), found by looking inside each app its SUEnableAutomaticChecks setting
Google Chrome, where Google's older updater (Keystone) still runs Keystone's checkInterval
Microsoft AutoUpdate, which updates Microsoft's Mac apps HowToCheck, set to Manual
Figma DisableUpdater
Visual Studio Code "update.mode": "none" in its settings.json
Claude disableAutoUpdates in its app configuration
Any Electron app that updates with Squirrel or electron-updater (Slack, Claude, Figma, VS Code, Granola, Synergy and others), found by looking inside each app, even while it's open the folder its updates download to is made read-only

Settings only take effect when an app starts, so an app that was already open when you joined the hotspot would still update. Electron apps can't: Squirrel makes a folder for the download in ~/Library/Caches/<app>.ShipIt before it fetches anything, and electron-updater writes to ~/Library/Caches/<its cache> first, so with those folders read-only the download never starts. A folder that isn't there yet is made read-only, and removed again when you leave. An update that has already downloaded is left to install: its folder isn't locked. Each folder goes back to exactly how it was, and one whose permissions someone else changed meanwhile is left alone.

With your OK, once. Switching Hotspot mode on offers a small helper, which macOS lists under NetworkMonitor in Login Items for you to switch on. With it, the switch also covers:

Leave it off and everything else still works. The Network page shows an Allow… button for when you change your mind, and the step in System Settings while it waits. The helper is part of the app, so a new version brings its helper with it and asks nothing.

Each app has its own switch under Paused on a hotspot, on the same line as its name, if you want to leave one alone. Point at the row and an ⓘ appears beside the name: it says how the app is paused, such as Turns off its automatic update check or Blocks its update server, as a tooltip or, clicked, in a popover (#185). What the helper pauses shares one switch, Through NetworkMonitor's helper, because the helper does it all at once; it names only what's on your Mac, and its ⓘ says how each is paused. The Electron apps share one too, Through their update folders. On a hotspot, an app that's open when its setting needs changing is marked paused once you quit it, and the change is made the moment it quits, because apps write their settings back when they quit. Off a hotspot nothing is waiting, so nothing is marked.

Low Data Mode, for the apps no setting reaches

The lists above only cover apps whose update setting NetworkMonitor knows, and your Mac has apps it doesn't. So with the helper installed, the same switch also puts the hotspot in Low Data Mode, the flag macOS sets itself on an iPhone hotspot it recognises. Everything that listens for it holds back: iCloud and Photos sync, background downloads macOS schedules, and any app that respects Low Data Mode, whether NetworkMonitor has heard of it or not.

What isn't covered, and what got through anyway

Can't be paused, on the Network page, lists the apps on your Mac that update themselves in a way NetworkMonitor can't switch off, each with the reason:

The reason it gives What's behind it
Updates from inside the app, with no setting NetworkMonitor can turn off an Electron app whose download folder NetworkMonitor can't tell, such as an electron-updater app that doesn't name its cache
Has its own updater, with no setting NetworkMonitor can turn off a separate updater program in the app, such as Opera's or Raycast's
macOS keeps its update setting where NetworkMonitor can't change it a sandboxed Sparkle app, whose settings live in its container
Paused once you allow the helper below an app the helper covers, such as Slack, before the helper is installed

They're found by how they update, not by a list of names, so the list matches what you actually have installed. Low Data Mode slows the ones that respect it; quitting them while you're on a hotspot is the only sure way.

While you're on a metered connection, NetworkMonitor also notices updates that get through anyway, by three signs:

The popover shows one line under its buttons when that happens, and the Network page lists each one with the data it used and the version it updated to, still there after you've left the hotspot. An app that was on the paused list says it updated anyway, in orange, both there and beside its switch, until the next metered connection: that's how a pause that didn't hold is found. Each one also stays in Usage History, with the visit it happened on (#96).

The data an update used is its app's traffic while it downloaded: from when the updater created its download, or when you joined the hotspot if that was later, to its last change, counted by the minute. It's not the size of what's left behind, which is the unpacked update: Slack's read 271.6 MB when Slack used about 120 MB (#95). When the app's traffic wasn't seen, because NetworkMonitor was started mid-download, the size on disk is shown as up to, since a download is smaller than what it unpacks to. An updater program of its own is counted by its own traffic.

Three things worth knowing

How it's built

sequenceDiagram
    participant Mac as macOS network
    participant W as NetworkIdentityWatcher
    participant VM as MonitorViewModel
    participant M as MeteringController
    participant S as Suppressors
    participant J as Journal (suppression.json)
    participant H as Root helper
    participant F as Content filter

    Mac->>W: path changes (debounced 2 s)
    W->>VM: fingerprint + signals
    VM->>M: the network changed
    M->>M: MeteredHeuristic verdict (This is a hotspot first, own Low Data Mode flags masked)
    M-->>VM: verdict
    VM->>F: rules, and whether on a hotspot with Hotspot mode on (over XPC)
    alt switch on and metered
        M->>S: apply
        S->>J: record each prior value first
        S->>S: preferences, config files, update folders
        S->>H: suppress, constrain (over XPC)
        Note left of F: with website names on, blocks every app's updater
    else no longer metered, or switch off
        M->>S: revert
        S->>S: put back each value still as NetworkMonitor wrote it
        S->>H: restore, unconstrain (over XPC)
        S->>J: clear records
    end

Policy and enforcement are separate. MeteringController decides; five conformers of the UpdateSuppressor protocol (discover, apply, revert) carry it out:

Suppressor Covers Needs the helper
PreferenceSuppressor Sparkle apps, Chrome, Microsoft AutoUpdate, Figma no
ConfigFileSuppressor VS Code, Claude no
UpdateFolderSuppressor Electron apps' update folders (Squirrel, electron-updater) no
PrivilegedSuppressor macOS and App Store updates, managed policies, Claude Code's managed settings, /etc/hosts entries yes
LowDataModeSuppressor interface flags yes

Stopping every app's updater at the network (#98) isn't one of them. The content filter does it, from the rules and the hotspot state the app sends it, so it needs website names on; see Connections › Blocking.

It only acts on events: launch, a network change, the switch, a per-app switch, an app quitting with a queued change, the Network page opening, and the helper being installed. There's no timer. Offline is ignored: a dropped connection neither lifts nor applies anything.

Detection lives in MeteredHeuristic.swift. The verdict is an enum, not a Bool, so the UI can say why. The flags NetworkMonitor raised itself for Low Data Mode are masked out first; otherwise leaving a hotspot for home Wi-Fi on the same interface would judge home metered by our own flags and hold them forever. This is a hotspot, on the Network page and in the popover, stores a per-network override (meteredOverrides in usage.json), which beats every signal (#109).

Writing other apps' settings:

The journal (~/Library/Application Support/NetworkMonitor/suppression.json) records each prior value before the change is made, with a backup copy. A value is only put back if it still holds what NetworkMonitor wrote; if you changed it since, yours stays. At launch the journal is replayed (restore everything), then the connection re-evaluated, then re-applied if still metered. The failure this protects against is a Mac that silently stopped updating months ago.

Suppression is not lifted on quit: quitting isn't "resume updating", since you might quit to save battery mid-hotspot, and the journal makes leaving it safe. Low Data Mode is the exception, because it's machine-wide and nothing would lift it otherwise.

The helper

A small root binary with a fixed, argument-free vocabulary. Every preference key, domain and host name is compiled in, so the app (the side an attacker could reach) can't ask for anything else; adding a capability means shipping a new helper.

Verb Does Who can run it
status reports what it holds, as JSON, with its version NetworkMonitor, over XPC
suppress / restore the system update settings, managed policies, Claude Code's managed settings and /etc/hosts entries NetworkMonitor, over XPC
constrain / unconstrain raises or lowers Low Data Mode on the interface carrying traffic, which it picks itself NetworkMonitor, over XPC
self-heal if /Applications/NetworkMonitor.app is gone, undoes everything and removes itself launchd, as root
uninstall undoes everything and removes itself NetworkMonitor's Uninstall, over XPC

A launch daemon inside the app (#131). The app registers it with SMAppService (Contents/Library/LaunchDaemons/com.kevinabouhanna.NetworkMonitor.daemon.plist), macOS lists it under NetworkMonitor in Login Items, and once you switch it on launchd starts it on the app's first request. It answers over XPC, only to NetworkMonitor signed by its team (GRQKG7M8CL), and the app only talks to the helper signed by that team. Each request runs the same binary with the one verb, so a verb behaves exactly as it did under sudo; it quits when idle, so an updated app's helper is the one that answers. On first start it:

If it's on but won't start (#238). macOS can go on reporting the daemon switched on while launchd can't start it (spawn failed … Invalid or missing Program), after the app has been replaced by a copy without a Developer ID and then by one with it. So on the first launch of each build, if macOS says it's on but it doesn't answer, the app registers it again: first as it is, which keeps your approval, and only if that doesn't work, unregistered and registered, which may ask for it once more. A daemon that answers is left alone. make install refuses to put a build without the Developer ID over one with it, which is how this happened.

Builds without a Developer ID, built from source, have no team to check callers by, so they keep the older way: installed through macOS's administrator dialog, running the helper-setup.sh inside the bundle. It installs:

The app calls it with sudo -n, which fails immediately instead of prompting if anything is wrong. The helper's own records live in /Library/Application Support/NetworkMonitor/, are trusted only if root-owned and not writable by others, and a damaged one is an error, never "nothing to restore". Every verb takes a lock and fails fast if another is running.

Why those builds use sudo. Authorising an XPC client needs a team identifier, which an ad-hoc signature doesn't have. Without one, an XPC daemon is a service any local process can talk to. A sudoers rule makes the grant explicit and auditable instead.

Versioning. HelperProtocol.version (now 5, for serve) lives in the LowDataMode target that the app and the helper share. For the daemon it hardly matters: the helper is inside the app, so they're always the same version. For sudo helpers, bump it when a verb is added or changed, or the sudoers rule changes, and installed helpers are offered an update once per build; a sudo helper on a Developer ID build is offered the daemon instead.

Low Data Mode internals

The helper raises the interface's constrained and expensive flags with ifconfig. constrained is what NWPath.isConstrained reports and what apps opting out of constrained networks are held to. Writing System Settings' own Low Data Mode setting was the original plan and was rejected: it reached wired connections only, because Wi-Fi keeps Low Data Mode per network in a file only wifid writes. Flags work the same for Wi-Fi, USB iPhone and Android tethering, and vanish at restart.

The helper picks the interface carrying traffic from scutil --nwi, skipping VPN tunnels, and records which flags it raised (low-data-mode.json) before raising them. On the way down it lowers only those, and leaves constrained up on a wired connection you put in Low Data Mode yourself.

Uninstalling, in order

The in-app Uninstall… removes the helper first, and if that fails nothing else is touched. With the daemon it asks nothing: the daemon puts everything back, removes its copy, the self-heal job and any sudoers rule, and then the app unregisters it. A sudo helper asks for your password, and cancelling leaves everything as it was. Then it replays the journal, withdraws the login item, deletes ~/Library/Application Support/NetworkMonitor and the app's preferences, and moves the app to the Trash, where you can still drag it back.

Dragging the app to the Trash instead leaves the password-free changes in place, because their only record is the app's journal. The helper's hourly check covers its own changes. make metering-report shows what's held on a Mac at any moment, read-only.

Known gaps

This page is docs on GitHub, as of 365f4d4. To suggest a change, open an issue.