From issues-return-92036-archive-asf-public=cust-asf.ponee.io@cloudstack.apache.org Thu Apr 19 20:28:10 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 63EAD180638 for ; Thu, 19 Apr 2018 20:28:10 +0200 (CEST) Received: (qmail 23430 invoked by uid 500); 19 Apr 2018 18:28:09 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 23416 invoked by uid 500); 19 Apr 2018 18:28:09 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 23413 invoked by uid 99); 19 Apr 2018 18:28:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2018 18:28:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id E14C3C0188 for ; Thu, 19 Apr 2018 18:28:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id CNbKLIipz-am for ; Thu, 19 Apr 2018 18:28:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id CE3005FAEB for ; Thu, 19 Apr 2018 18:28:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id EAB50E0B4F for ; Thu, 19 Apr 2018 18:28:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 55F0C241CB for ; Thu, 19 Apr 2018 18:28:00 +0000 (UTC) Date: Thu, 19 Apr 2018 18:28:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-10333) Secure VM Live migration for KVM MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-10333?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D16444565#comment-16444565 ]=20 ASF GitHub Bot commented on CLOUDSTACK-10333: --------------------------------------------- rhtyd commented on a change in pull request #2505: WIP CLOUDSTACK-10333: Se= cure Live VM Migration for KVM URL: https://github.com/apache/cloudstack/pull/2505#discussion_r182842350 =20 =20 ########## File path: packaging/centos63/cloud.spec ########## @@ -493,6 +493,12 @@ if [ -f "%{_sysconfdir}/cloud.rpmsave/agent/agent.pro= perties" ]; then mv %{_sysconfdir}/cloud.rpmsave/agent/agent.properties %{_sysconfdir}/= cloud.rpmsave/agent/agent.properties.rpmsave fi =20 +# Enable TLS enabled VM migration for libvirtd +if ! iptables-save | grep -- "-A INPUT -p tcp -m tcp --dport 16514 -j ACCE= PT" > /dev/null; then + iptables -t filter -A INPUT -p tcp -m tcp --dport 16514 -j ACCEPT + iptables-save > /etc/iptables/rules.v4 +fi + =20 Review comment: We'll document in release notes and admin/install docs. Fixed. ---------------------------------------------------------------- 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. =20 For queries about this service, please contact Infrastructure at: users@infra.apache.org > Secure VM Live migration for KVM > -------------------------------- > > Key: CLOUDSTACK-10333 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-103= 33 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Reporter: Rohit Yadav > Assignee: Rohit Yadav > Priority: Major > Fix For: 4.12.0.0, 4.11.1.0 > > > With use of CA framework to secure hosts, the current mechanisms don't se= cure libvirtd to use those certificates (used by agent to connect to mgmt s= erver). This causes insecure vm migration over tcp instead of tls. The aim = is to use the same framework and certificates to secure live VM migration. = This=C2=A0could be coupled with securing of a host and renewal/provisioning= of certificates to host. > =C2=A0 > FS:=C2=A0https://cwiki.apache.org/confluence/display/CLOUDSTACK/Secure+Li= ve+VM+Migration+for+KVM -- This message was sent by Atlassian JIRA (v7.6.3#76005)