CLOUDSTACK-8650: Fix securitygroups ingress FW for protocol any and 0.0.0.0/0#601
CLOUDSTACK-8650: Fix securitygroups ingress FW for protocol any and 0.0.0.0/0#601franklouwers wants to merge 2 commits into
Conversation
|
cloudstack-pull-rats #78 SUCCESS |
|
cloudstack-pull-requests #776 SUCCESS |
61c6d3e to
e9c6233
Compare
|
cloudstack-pull-analysis #11 SUCCESS |
|
@remibergsma @NuxRo &others can you review this? |
|
cloudstack-pull-rats #83 SUCCESS |
|
cloudstack-pull-rats #84 SUCCESS |
|
cloudstack-pull-requests #781 SUCCESS |
|
cloudstack-pull-requests #782 SUCCESS |
|
cloudstack-pull-analysis #16 ABORTED |
|
cloudstack-pull-analysis #17 UNSTABLE |
….0.0.0/0 Change way 0.0.0.0/0 + all is handles, as per feedback in Slack channel
e9c6233 to
2fa35c2
Compare
|
LGTM, though I've not tested this with a real host |
|
@bhaisaab I was going to ask @franklouwers how did he test his changes, since I would like to test them before giving a LGTM. Actually, I think you were the only one to LGTM it. :) Cheers, |
|
All, I'll check the typo (I know how it happend) later this afternoon. Will also provide logs both before (bad behaviour: rule not installed) and after (good thing: rule installed) later today. |
|
@wilderrodrigues yeah, as I said I've not tested it. Just had a glance at the code, but good that @resmo pointed out the typo. |
|
cloudstack-pull-rats #104 SUCCESS |
|
See updated commit to fix the missing : . See also https://gist.github.com/franklouwers/d5061b4ef50e2b4253fe with logs of what works, what doesn't work, and how this PR makes it work.... |
|
cloudstack-pull-requests #802 UNSTABLE |
|
cloudstack-pull-analysis #37 UNSTABLE |
|
Awesome @franklouwers ! Thanks for the details. LGTM 👍 Merging... |
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com> This closes apache#601
When using security groups, adding an ingress rule for protocol "any" with source address 0.0.0.0/0, resulted in no action (as the 0.0.0.0/0 entry was stripped from the array of source ips, but unlike icmp/tcp/udp, no special action was set for the handling of the allow_any flag.
This oneliner only removes 0.0.0.0/0 from the list if the protocol isn't any...