Saturday, November 16, 2024

sonoma – Disable Firewall Notifications

I’m growing some software program as a part of a analysis challenge, and am working into an annoying situation with the Mac firewall. Our system structure entails working a number of concurrent processes which open community ports, so once I begin an execution, I get a ton of firewall notifications:

enter image description here

Whether or not I click on Permit or Deny, the notification comes again each time. I’ve additionally tried including this system to the firewall settings, however the notifications nonetheless seem. Enabling stealth mode, and even disabling the firewall, likewise does nothing.

enter image description here

This related query asks about fixing this situation for a single program, and there is some dialogue about code signing. However this may not work for me: I am simply compiling new variations of my code; I would like to stop these dialogs from showing throughout testing, not manufacturing. So marking a single executable as “protected” (if even doable) would solely work till the following compilation.

A number of extra information factors:

  • This occurs irrespective of the place I run this system from — terminal or VS code terminal
  • This used to occur sometimes, however now occurs practically on a regular basis, after I moved my challenge from my Paperwork folder (which I spotted was being backed as much as iCloud) to a separate native folder. Probably one thing with file-provenance belief? This could be unusual, nonetheless. My new listing is simply ~/Native Paperwork
  • Whereas some variants of our program do use incoming community entry, I am at present simply testing on a single machine (with a number of processes performing as a number of hosts, utilizing the mpi framework).

Ideally, I might wish to mark executables in a sure folder as being exempt from firewall guidelines, however at this level, I am blissful to even simply flip off the warnings system-wide.

This reply appears to recommend I could also be out of luck.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles