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

Error parsing Internet and Intranet Predefined set of computers #8

Open
filippobottega opened this issue Oct 24, 2019 · 4 comments
Open

Comments

@filippobottega
Copy link

Hello,
in file WindowsFirewallRuleParser.cs the method private static AddressSet ParseAddressSet(string text) raises an exception in case of Internet and Intranet Predefined set of computers.
Please see Windows Firewall. Internet and Intranet Predefined set of computers..
I suppose to be a bug.

Regards,
Filippo.

@ahelwer
Copy link
Contributor

ahelwer commented Oct 24, 2019

This is similar to port macros, which are currently not supported; you can fix this by replacing the macros in your firewall input file with a comma-delimited set of addresses corresponding to the Internet macro. The code should probably handle this more gracefully, though (I didn't know there were macros for addresses as well as ports).

@filippobottega
Copy link
Author

Yes, I agree with you, there are macros for addresses and I think that FirewallChecker has to take care about macro conversion to the current values. The problem is that there are a lot of rules that use macros and without macro conversion FirewallChecker may be not so useful.

@ahelwer
Copy link
Contributor

ahelwer commented Oct 25, 2019

What are you using firewall checker for?

@filippobottega
Copy link
Author

I need a tool to understand which rules are allowing inbound traffic. For example I have had the problem to understand why my PC was able to response to ping requests.

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

No branches or pull requests

2 participants