Repository navigation
Update firewall check to include additional states - #176
Closed
Mr-mixmate wants to merge 1 commit into
Closed
Mr-mixmate wants to merge 1 commit into
Mr-mixmate wants to merge 1 commit into
Conversation
Fix: recognize firewall strict mode (State = 2) as enabled "socketfilterfw returns 'Firewall is blocking all non-essential incoming connections. (State = 2)' when the firewall is in strict mode. This didn't match either the enabled or disabled condition, so the Protection tab showed 'Unknown' even though the firewall is active in its most restrictive state." Choisis "Create a new branch and start a pull request"
Author
|
"Tested on macOS Sequoia (aka Golden State) — confirmed State = 2 output on real hardware" |
momenbasel
added a commit
that referenced
this pull request
Oct 8, 2026
socketfilterfw reports block-all as "Firewall is blocking all non-essential incoming connections. (State = 2)", which matched neither the enabled nor the disabled branch, so the Protection tab showed Unknown for the strictest setting. The format strings in the binary confirm the wording. Supersedes #176 by @Mr-mixmate, which carried the same condition with broken indentation and was never built.
Owner
|
The read is correct and I verified it against the binary: socketfilterfw's format strings include The change here was made in the web editor without a build and drops one space of indentation on the changed line, so I re-cut it as #183 with the same condition plus a one-line note on why State = 2 needs its own match, and named you there. Closing in favour of #183. |
momenbasel
added a commit
that referenced
this pull request
Oct 8, 2026
…#183) socketfilterfw reports block-all as "Firewall is blocking all non-essential incoming connections. (State = 2)", which matched neither the enabled nor the disabled branch, so the Protection tab showed Unknown for the strictest setting. The format strings in the binary confirm the wording. Supersedes #176 by @Mr-mixmate, which carried the same condition with broken indentation and was never built.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix: recognize firewall strict mode (State = 2) as enabled "socketfilterfw returns 'Firewall is blocking all non-essential incoming connections. (State = 2)' when the firewall is in strict mode. This didn't match either the enabled or disabled condition, so the Protection tab showed 'Unknown' even though the firewall is active in its most restrictive state." Choisis "Create a new branch and start a pull request"
What does this PR do?
Type of change
Testing
Screenshots