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

Missing 'state' check of existing firewall rule. #23

Open
skasai opened this issue May 6, 2015 · 1 comment
Open

Missing 'state' check of existing firewall rule. #23

skasai opened this issue May 6, 2015 · 1 comment

Comments

@skasai
Copy link

skasai commented May 6, 2015

In looking at the code, I noticed there is also an addition issue that may have not been considered in the windows_firewall that may need to be noted.

There is checks for the rule's existence, but not check if rule not only exists, but if parameters are the same or updated.

This means that the module will not update the rule if there is a change in the parameters.

IE: Port change or IP change.

This may have to be noted that a module will be needed created to remove old settings and applied before pushing new changes.

@rychannel
Copy link

Yeah, this one bit me today. Accidentally had a rule set to the wrong port and couldn't update it without manually removing the rule.

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