I have a server process that I am developing that opens listening TCP sockets. Each time that happens, the firewall opens a dialog with the text "Do you want the application “server” to accept incoming network connections?", prompting me to "Allow" or "Deny" this program rights to bypass the firewall. I never need to allow, since I only ever connect to this server while developing from the local machine.
This dialog is incredibly inconvenient and poorly behaved from a UX perspective, and in some cases, I have literally dozens of instances of this thing coming into being and terminating as automated tests are run. The barrage of dialogs is frustrating, to say the least.
I'd really like to permanently suppress this dialog in some fashion. Things that I am not interested in doing:
- Turning off the firewall
- Adding a port exclusion (the test suite runs the server on different ports each time to avoid conflicts due to parallel test execution).
- Any sort of "signing" step, since the binary is frequently regenerated, and therefore I would need to integrate the signing step into my build process.
- Needing to run as root or start the server with additional privs, for obvious reasons, and because much of the test suite is automated.
Any thoughts how to make this incredibly irritating dialog go away?