Post

Replies

Boosts

Views

Activity

Reply to Where are 'socketfilterfw' changes being stored in macOS 15?
Thanks for the reply. Yep, I did see those release notes! For what it's worth, we aren't relying on the format of the plist, just the fact that it was modified so we can observe it. Can you clarify what you mean by "not an API"? I'm seeing contradictory information - the linked release notes encourages people to use socketfilterfw. But in another response (see https://developer.apple.com/forums/thread/757907?answerId=792590022#792590022) you say that socketfilterfw is also not an API. Would relying on this tool also be considered digging ourselves into a hole? If so, what is the proper way to check for firewall status if socketfilterfw is not an api? Even if what I'm asking for overall isn't possible, we'd like to use the proper method to check for firewall status that wouldn't be considered unsupported. To answer your question, we have a feature in our app that monitors when a user turns on or off their application firewall as a whole, and we perform an action accordingly. We'd have to switch to polling for the state on a timer without this, and we don't love that idea either.
Jul ’24