Sto compilando un software da zero e eseguendo i suoi test. Lo faccio spesso. I test aprono le porte e si aspettano connessioni.
Ogni volta che eseguo i test, ottengo il
Do you want the application “run-tests” to accept incoming network connections? Clicking Deny may limit the application’s behavior. This setting can be changed in the Firewall pane of Security & Privacy preferences.
 finestra di dialogo. Faccio clic su Consenti ogni volta. Per evitare ciò, sto provando a sbloccare l'applicazione con   socketfilterfw   . Quindi, sto provando i seguenti comandi in un file di script 
SFW="/usr/libexec/ApplicationFirewall/socketfilterfw"
TESTS_DEBUG="/Users/thefourtheye/git/libuv/out/Debug/run-tests"
${SFW} --remove "$TESTS_DEBUG"
${SFW} --add "$TESTS_DEBUG"
${SFW} --unblock "$TESTS_DEBUG"
Ogni volta che eseguo il file di script, dà sempre il seguente
The application is not part of the firewall 
Application at path ( /Users/thefourtheye/git/libuv/out/Debug/run-tests ) added to firewall 
The application is not part of the firewall 
Se eseguo i miei test dopo questo, mostra ancora la finestra di dialogo.
 Il file   TESTS_DEBUG    non è un collegamento, è un file binario eseguibile. 
➜  libuv git:(v1.x) ✗ file /Users/thefourtheye/git/libuv/out/Debug/run-tests
/Users/thefourtheye/git/libuv/out/Debug/run-tests: Mach-O 64-bit executable x86_64
➜  libuv git:(v1.x) ✗ ls -ltrh /Users/thefourtheye/git/libuv/out/Debug/run-tests
-rwxr-xr-x  1 thefoutheye  110095815   1.1M Nov 29 17:32 /Users/thefourtheye/git/libuv/out/Debug/run-tests
I dettagli del mio sistema operativo
➜  libuv git:(v1.x) ✗ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.12.6
BuildVersion:   16G1618
Le mie domande sono
-  Perché   ${SFW} --adddice che l'applicazione è stata aggiunta e${SFW} --unblockdice che l'applicazione non fa parte del firewall?
- Come posso risolvere questo problema?