Question

I'm a software developer and as such I build and run programs hundreds of times per day. I've noticed that since I started using Catalina, after compiling and linking there is a delay (which can be seconds) when the internet is slow or having problems (I have bad internet often). If I disable wifi and rebuild, the delay goes away.

How can I disable this so my builds run faster?

Was it helpful?

Solution

Yes, as a security measure, macOS Catalina sends some small info (can be seen by packet size) about unsigned executables to the Apple servers.

A simple C program as illustrated in ..

.. can demonstrate the lag in startup on poor internet connection conditions.

The article has detailed observations, tests and commentary on the process.

You can block the syspolicyd process from connecting to the internet, and it won't hinder its normal functioning locally, using a firewall.

I use LuLu, since it's free. A lot of people use Little Snitch.

Many other apps also ping their servers on startup or quitting: Firefox, Adobe, Sublime Text etc.

Other threads:

OTHER TIPS

Use an Application Firewall to control what app on your mac connects to the internet.

Lulu is free and opensource (but it whitelists some Apple softwares and doesn't allow you to block them). Radiosilence and TripMode are two other very affordable alternative app firewalls that are simpler to use than Lulu. Little Snitch and HandsOff are more advanced with more features (and hence costlier).

WARNING: If you like controlling what apps connect to the internet on your mac, DO NOT UPGRADE to macOS Big Sur. Apple has crippled application firewalls on macOS Big Sur, to specifically allow all Apple authorised software to bypass application firewalls and some VPNs, and connect to the internet whenever it wants even if you have blocked them on your firewall.

Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange
scroll top