Guides
Capture an app that ignores the proxy
Capture apps with their own network stack or pinned SDKs by answering their DNS lookups, using the Not using the proxy list and the capture sheet.
Some apps never show up in the traffic list even with the macOS proxy on. Apps with their own network stack (gRPC, Network.framework), Flutter apps, and apps with payment and security SDKs ignore the system proxy setting and connect straight to the internet. This guide finds those apps, captures them by answering the DNS lookups for their domains, and cleans up the resolver files afterwards.
What you need
Section titled “What you need”| The macOS proxy on (macOS traffic on in the bottom bar) | Cloak Proxy detects direct connections only while the system proxy points at it |
| Your Mac password | Capturing adds a file per domain in /etc/resolver, which needs admin rights |
| An app you own or are authorized to test | You’re redirecting its domains to your Mac |
Find the app
Section titled “Find the app”When the macOS proxy is on, Cloak Proxy watches for apps making direct connections and lists them under Not using the proxy in the sidebar.
The Not using the proxy group lists apps connecting straight to the internet.
- Not using the proxy
- App with direct connections: click to capture it
-
Use the app so it opens its connections. Once Cloak Proxy has seen it connect directly in two of its checks (every 8 seconds, within 5 minutes of each other), it appears under Not using the proxy with a count of direct connections. Apps that call their servers only now and then can take a little longer.
-
Click the app to open the capture sheet.
Capture it
Section titled “Capture it”The capture sheet suggests the app’s own domains and lets you add more.
The capture sheet: tick the domains to answer, then Capture.
- Suggested domains — tick the ones to capture
- Add a domain by hand
- Cautions: /etc/resolver, password, pinned certs
- Capture (asks for your password)
-
Wait while the sheet shows Finding the servers app connects to…. Cloak Proxy reads the app’s code for server names and matches them against the servers the app is connected to.
-
Review the Domains to capture:
- Domains labelled connected directly now come first and are ticked. The app is talking to them right now, around the proxy. Since 0.2.1
- Domains that share a word with the app’s name or bundle identifier come next, also ticked.
- Other domains found in the app’s code are listed unticked. These are often analytics or payment services.
-
Tick the domains the app actually uses. Add any it’s missing in the Add a domain field (for example
api.example.com). -
Click Capture. macOS asks for your password to add a resolver file per domain, so lookups for those names (and their subdomains) go to Cloak Proxy.
-
Quit and reopen the app so it looks up its servers again. Its requests then appear in the traffic list.
Catch the connections you missed
Section titled “Catch the connections you missed”An app can use more servers than you captured, for example a separate payments or uploads domain. When a captured app still connects directly to other servers, its sidebar row changes to Captured, but N direct connections still skip Cloak Proxy.
-
Click the row. The capture sheet opens and finds the servers the app is still connected to directly.
-
The domains for those connections are at the top, ticked and labelled connected directly now. Untick any you don’t want.
-
Click Update, enter your password, then quit and reopen the app.
When the app pins its certificate
Section titled “When the app pins its certificate”Some apps (and most payment SDKs) pin certificates and reject Cloak Proxy’s. When that happens, Cloak Proxy passes the connection through untouched so the app keeps working, and still lists the connection. The capture sheet shows pinned hosts in orange, and a failed, pinned connection is noted in the traffic list.
While Cloak Proxy is closed
Section titled “While Cloak Proxy is closed”Captured domains keep resolving even when the app isn’t running: a small background helper (started at login) answers those lookups normally, so the captured app keeps working. It steps aside the moment Cloak Proxy is open again.
Stop capturing and clean up
Section titled “Stop capturing and clean up”The resolver files stay on disk until you remove them, so clean up when you’re done.
-
Click the app under Not using the proxy (now shown as Captured) to reopen the sheet.
-
Click Stop Capturing. macOS asks for your password to remove the resolver files for those domains.
-
Repeat for any other captured app. When no captures remain, the background helper is removed too.