Does anyone know of a way to check programmatically if an app is being blocked by the firewall in 10.5 or 10.6? I know you could use ipfw or check the security plist in 10.4, but that doesn't work anymore. The only thing I could find is the com.apple.alf.plist, which can tell me if the firewall is on/off, and whether an application is allowed or blocked.

The problem is, command line apps without a bundleid (like the app I'm trying to check) do not show their name in the plist file. There is an "alias" NSData entry, but it doesn't seem to be a standard alias record. Does anyone know how to get the file path from this alias entry?

If there is a better way to check if the app is being blocked, please let me know.

Thanks!
Karl

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to