With the recent change to socketfilterfw
in macOS 15 we can no longer check if the application firewall is enabled or not via a plist. This is significant in our app because we rely on the NSFilePresenter
interface to monitor the plist to alert our app whenever a user changes their firewall settings. Removing the plist is a breaking change for us.
Can you please advise either some new location on disk for us to monitor, or if there is another way to observe this setting? We would ideally rather not have to poll 'socketfilterfw' on an interval. Thanks!
First up, I want to be sure you’ve seen the discussion in macOS Sequoia 15 Beta 3 Release Notes.
Can you please advise either some new location on disk for us to monitor … ?
No. The location and format of these preferences is not considered API, and so posting details like that just encourages more folks to dig themselves into the same hole that you’ve dug for yourself )-:
or if there is another way to observe this setting?
AFAIK there is not.
I’d like to clarify why you need this. What firewall settings are you monitoring? And to what end?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"