I am having issue with adding applications into the exception rules in Maverick 10.9.3's and above (10.9.4)'s Application Firewall.
Maverick 10.9.2 has no issue with adding applications into the exception rule.
The issue is,
The application will be listed in the Security & Privacy panel and has the "Allow Incoming Traffic" rules. In the GUI , it look everything in order, but When you launch a specific application, The prompt will appear "Do you want the application "myapp.app" to accept incoming network connections. Click "Deny" or Allow see reference on the prompt window [http://i.stack.imgur.com/5x54f.png]
It shouldn't has appeared as i run a script to add the application into the exception list. This issue only occur after the release of 10.9.3.
I am wondering if anyone out there has encounter this issue ? or does anyone has a solution to add application that need to have incoming
network connection to be allowed in ?
Script used during casping imaging at Reboot
#Turn off Firewall
/usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off
#Delete Firewall rules
# Add Applications exception to the application firewall
/usr/libexec/ApplicationFirewall/socketfilterfw --add /Applications/MyApp.app/Contents/MacOS/myapp
To start the firewall:
/usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on