Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 217E4200BA1 for ; Mon, 17 Oct 2016 11:16:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1FC14160AE5; Mon, 17 Oct 2016 09:16:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A3E45160AEC for ; Mon, 17 Oct 2016 11:16:15 +0200 (CEST) Received: (qmail 7193 invoked by uid 500); 17 Oct 2016 09:16:14 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 6835 invoked by uid 99); 17 Oct 2016 09:16:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2016 09:16:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id EF2E91A05F6 for ; Mon, 17 Oct 2016 09:16:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.979 X-Spam-Level: * X-Spam-Status: No, score=1.979 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id BxaDbQMR4Nl7 for ; Mon, 17 Oct 2016 09:16:11 +0000 (UTC) Received: from transport.jotelulu.com (transport.jotelulu.com [185.31.22.53]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id C45085F1BE for ; Mon, 17 Oct 2016 09:16:10 +0000 (UTC) Received: from [172.16.4.30] ([81.47.162.125]) by transport.jotelulu.com (IceWarp 11.4.1.5 x64) with ASMTP (SSL) id 201610171115071715 for ; Mon, 17 Oct 2016 11:15:07 +0200 From: =?utf-8?q?David=20Amor=c3=adn?= To: "users@cloudstack.apache.org" Subject: Re[6]: Network ACL rules in VPCs are applied in an inverted order (CLOUDSTACK-9404) Date: Mon, 17 Oct 2016 09:16:03 +0000 Message-Id: In-Reply-To: References: <75e37b7e-53a7-73ad-8f07-ff8d29e76558@failiem.lv> <3e7f9f4f-934e-de28-1617-465ba6d443d8@failiem.lv> Reply-To: =?utf-8?q?David=20Amor=c3=adn?= User-Agent: eM_Client/7.0.26687.0 Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------=_MBF09DAE68-302E-4FE1-BEC3-76EBE0E540BF" archived-at: Mon, 17 Oct 2016 09:16:17 -0000 --------=_MBF09DAE68-302E-4FE1-BEC3-76EBE0E540BF Content-Type: text/plain; format=flowed; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi , I did a couple of tests more and i can confirm the issue=20 (CLOUDSTACK-9404) still happens with the version CS 4.9 using the VPC=20 router version 4.6 See an example: I have an egress rules like following: Rule number: 101CIDR: 8.8.8.8/32Action: Allow, Traffic Type:=20 EgressProtocol: ICMP, ICMPtype: -1, ICMPCode: -1 Then I add this rule: Rule number: 1002CIDR: 0.0.0.0/0Action: Deny, Traffic Type:=20 EgressProtocol: ALL Checking the VR, in file /etc/iptables/router_rules.v4, the rules are=20 applied in wrong order: -A ACL_OUTBOUND_eth2 -d 224.0.0.18/32 -j ACCEPT -A ACL_OUTBOUND_eth2 -d 225.0.0.50/32 -j ACCEPT -A ACL_OUTBOUND_eth2 -j DROP -A ACL_OUTBOUND_eth2 -d 8.8.8.8/32 -p icmp -m icmp --icmp-type any -j=20 ACCEPT But then if i restart the VPC and clean up, I check again iptables and=20 now is correct order: -A ACL_OUTBOUND_eth2 -d 224.0.0.18/32 -j ACCEPT -A ACL_OUTBOUND_eth2 -d 225.0.0.50/32 -j ACCEPT -A ACL_OUTBOUND_eth2 -d 8.8.8.8/32 -p icmp -m icmp --icmp-type any -j=20 ACCEPT -A ACL_OUTBOUND_eth2 -j DROP Is the VPC rotuer version 4.6 the latest one? I really apprecciate if somebody else can confirm this issue Best, David ------ Mensaje original ------ De: "Simon Weller" Para: "users@cloudstack.apache.org" ;=20 "David Amor=C3=ADn" Enviado: 05/10/2016 18:35:48 Asunto: Re: Re[4]: Network ACL rules in VPCs are applied in an inverted=20 order (CLOUDSTACK-9404) >Try doing a restart with network cleanup and see if that fixes your=20 >problem. The fixes are in the system iso and that will required a=20 >redeploy. > > > >- Si > > >--------------------------------------------------------------------------= ------ >From: David Amor=C3=ADn >Sent: Wednesday, October 5, 2016 11:18 AM >To: Simon Weller; users@cloudstack.apache.org >Subject: Re[4]: Network ACL rules in VPCs are applied in an inverted=20 >order (CLOUDSTACK-9404) > >Yes, we did the upgrade from 4.5.2 to 4.9.0 > > > > >------ Mensaje original ------ >De: "Simon Weller" >Para: "users@cloudstack.apache.org" ;=20 >"David Amor=C3=ADn" >Enviado: 05/10/2016 18:11:26 >Asunto: Re: Re[2]: Network ACL rules in VPCs are applied in an inverted= =20 >order (CLOUDSTACK-9404) > >>Was this an upgrade from an older release? >> >> >> >>-------------------------------------------------------------------------= ------- >>From: David Amor=C3=ADn >>Sent: Wednesday, October 5, 2016 10:11 AM >>To:users@cloudstack.apache.org >>Subject: Re[2]: Network ACL rules in VPCs are applied in an inverted=20 >>order (CLOUDSTACK-9404) >> >>We are running 4.9.0 and we are still facing the issues of the ACL=20 >>Rules >>(CLOUDSTACK-9404) >> >> >> >>------ Mensaje original ------ >>De: "Simon Weller" >>Para: "users@cloudstack.apache.org" ; >>"David Amor=C3=ADn" >>Enviado: 04/10/2016 18:02:22 >>Asunto: Re: Network ACL rules in VPCs are applied in an inverted order >>(CLOUDSTACK-9404) >> >> >David, >> > >> > >> >What version are you currently running? >> > >> > >> >I believe 2 patches got into 4.9.0 related to this. #1581 and #1616. >> > >> > >> >At least #1581 was also merged into 4.8.x for the next point release. >> > >> > >> >- Si >> > >> >________________________________ >> >From: David Amor=C3=ADn >> >Sent: Tuesday, October 4, 2016 10:47 AM >> >To: users@cloudstack.apache.org >> >Subject: Network ACL rules in VPCs are applied in an inverted order >> >(CLOUDSTACK-9404) >> > >> >Hi all, >> >I see this bug is already resolved >> > >> >https://issues.apache.org/jira/browse/CLOUDSTACK-9404 >> >[CLOUDSTACK-9404] Network ACL rules in VPCs are applied in >> >... >> >issues.apache.org >> >Linked Applications. Loading... Dashboards >> > >> > >> > >> > >> >Do you know if will be available on 4.9.1? >> > >> >Thanks >> > >> >David >> > >> > >> > >> > >> > >> --------=_MBF09DAE68-302E-4FE1-BEC3-76EBE0E540BF--