wido commented on a change in pull request #2505: CLOUDSTACK-10333: Secure Live
VM Migration for KVM
URL: https://github.com/apache/cloudstack/pull/2505#discussion_r176988145
##########
File path: packaging/centos63/cloud.spec
##########
@@ -493,6 +493,12 @@ if [ -f
"%{_sysconfdir}/cloud.rpmsave/agent/agent.properties" ]; then
mv %{_sysconfdir}/cloud.rpmsave/agent/agent.properties
%{_sysconfdir}/cloud.rpmsave/agent/agent.properties.rpmsave
fi
+# Enable TLS enabled VM migration for libvirtd
+if ! iptables-save | grep -- "-A INPUT -p tcp -m tcp --dport 16514 -j ACCEPT"
> /dev/null; then
+ iptables -t filter -A INPUT -p tcp -m tcp --dport 16514 -j ACCEPT
+ iptables-save > /etc/iptables/rules.v4
+fi
+
Review comment:
Same here as in the DEB package, I'm not in favor of this
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services