Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Windows firewall message check #1254

Merged
merged 2 commits into from
Oct 27, 2023
Merged

Conversation

mlsmaycon
Copy link
Collaborator

@mlsmaycon mlsmaycon commented Oct 26, 2023

Describe your changes

The no rules matched message is operating system language specific, and can cause errors

Now we check if firewall is reachable by the app and then if the rule is returned or not in two different calls:

isWindowsFirewallReachable

isFirewallRuleActive

Issue ticket number and link

Fixes # 1249

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

The no rules matched message is operating system language specific, and can cause errors

Now we check if firewall is reachable by the app and then if the rule is returned or not in two different calls:

isWindowsFirewallReachable

isFirewallRuleActive
@Fantu
Copy link
Contributor

Fantu commented Oct 26, 2023

did a fast test on windows 10 pro italian and now the rule in windows firewall works

@mlsmaycon
Copy link
Collaborator Author

awesome, thanks @Fantu

@mlsmaycon mlsmaycon merged commit 76318f3 into main Oct 27, 2023
13 checks passed
@mlsmaycon mlsmaycon deleted the fix/windows-firewall-message-check branch October 27, 2023 08:54
pulsastrix pushed a commit to pulsastrix/netbird that referenced this pull request Dec 24, 2023
The no rules matched message is operating system language specific, and can cause errors

Now we check if firewall is reachable by the app and then if the rule is returned or not in two different calls:

isWindowsFirewallReachable

isFirewallRuleActive
Foosec pushed a commit to Foosec/netbird that referenced this pull request May 8, 2024
The no rules matched message is operating system language specific, and can cause errors

Now we check if firewall is reachable by the app and then if the rule is returned or not in two different calls:

isWindowsFirewallReachable

isFirewallRuleActive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants