Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB1B118971 for ; Thu, 26 Nov 2015 09:23:11 +0000 (UTC) Received: (qmail 88782 invoked by uid 500); 26 Nov 2015 09:23:11 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 88662 invoked by uid 500); 26 Nov 2015 09:23:11 -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 88525 invoked by uid 500); 26 Nov 2015 09:23:11 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 88522 invoked by uid 99); 26 Nov 2015 09:23:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2015 09:23:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2FB492C1F69 for ; Thu, 26 Nov 2015 09:23:11 +0000 (UTC) Date: Thu, 26 Nov 2015 09:23:11 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9086) ACS allows to create isolated networks with invalid gateway IP address 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-9086?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D15028413#comment-15028413 ]=20 ASF GitHub Bot commented on CLOUDSTACK-9086: -------------------------------------------- GitHub user kansal opened a pull request: https://github.com/apache/cloudstack/pull/1125 CLOUDSTACK-9086: ACS allows to create isolated networks with invalid = =E2=80=A6 =E2=80=A6gateway IP address - Fixed =20 Problem: There was no check for the network and broadcast IP addresses = in the case where we provide the gateway and netmask while creating the iso= lated network. As a result the provided IP gets assigned to the eth0 interf= ace of the VR. =20 Fix: Added the necessary checks. You can merge this pull request into a Git repository by running: $ git pull https://github.com/kansal/cloudstack CLOUDSTACK-9086 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1125.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1125 =20 ---- commit 27b40e761a398565b1e2a1947c6ba8634c497e40 Author: Kshitij Kansal Date: 2015-11-26T06:56:29Z CLOUDSTACK-9086: ACS allows to create isolated networks with invalid ga= teway IP address - Fixed ---- > ACS allows to create isolated networks with invalid gateway IP address > ---------------------------------------------------------------------- > > Key: CLOUDSTACK-9086 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-908= 6 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Reporter: Kshitij Kansal > Assignee: Kshitij Kansal > > When entering invalid combination no check is performed anymore and VR is= created with invalid interface. Of course, nothing works in the isolated n= etwork. For example, you are allowed to create network with 172.16.21.0 IP = address for GW and 255.255.255.0 for SM - this address is not valid, howeve= r it is accepted and even used in VR. One more example - 192.168.255.255 fo= r GW address and 255.255.255.0 for SM. -- This message was sent by Atlassian JIRA (v6.3.4#6332)