Merge "Switch IPv4 rejects from host-prohibit to admin"
This commit is contained in:
commit
890d59cd5f
@ -34,5 +34,5 @@
|
||||
{% endif -%}
|
||||
{% endfor -%}
|
||||
{% endfor -%}
|
||||
-A openstack-INPUT -j REJECT --reject-with icmp-host-prohibited
|
||||
-A openstack-INPUT -j REJECT --reject-with icmp-admin-prohibited
|
||||
COMMIT
|
||||
|
@ -100,7 +100,7 @@ def verify_iptables(host):
|
||||
'-A openstack-INPUT -p icmp -m icmp --icmp-type any -j ACCEPT',
|
||||
'-A openstack-INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT',
|
||||
'-A openstack-INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT',
|
||||
'-A openstack-INPUT -j REJECT --reject-with icmp-host-prohibited'
|
||||
'-A openstack-INPUT -j REJECT --reject-with icmp-admin-prohibited'
|
||||
]
|
||||
for rule in needed_rules:
|
||||
assert rule in rules
|
||||
|
Loading…
x
Reference in New Issue
Block a user