Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EA2CB18A81 for ; Wed, 9 Dec 2015 03:59:24 +0000 (UTC) Received: (qmail 54117 invoked by uid 500); 9 Dec 2015 03:59:24 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 54054 invoked by uid 500); 9 Dec 2015 03:59:24 -0000 Mailing-List: contact dev-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 dev@cloudstack.apache.org Received: (qmail 54043 invoked by uid 99); 9 Dec 2015 03:59:24 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2015 03:59:24 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E1808E08DD; Wed, 9 Dec 2015 03:59:23 +0000 (UTC) From: jayapalu To: dev@cloudstack.apache.org Reply-To: dev@cloudstack.apache.org References: In-Reply-To: Subject: [GitHub] cloudstack pull request: Strongswan vpn feature Content-Type: text/plain Message-Id: <20151209035923.E1808E08DD@git1-us-west.apache.org> Date: Wed, 9 Dec 2015 03:59:23 +0000 (UTC) Github user jayapalu commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/872#discussion_r47049123 --- Diff: systemvm/patches/debian/vpn/etc/ipsec.d/l2tp.conf --- @@ -30,4 +35,5 @@ conn L2TP-PSK # ---------------------------------------------------------- # Change 'ignore' to 'add' to enable this configuration. # + rightsubnetwithin=10.1.2.0/8 --- End diff -- Default is 10.1.2.0/8. In configure.py 'configure_l2tpIpsec' method will update its value. We have only ip range ex:10.1.2.2-10.1.2.8 we don't have the cidr in DB. In global setting we have option to configure only range not the cidr. We have to derive the cidr from the range and it may not be correct some times. If we hard code to /24 it may will be problem if the range crossing the /24. If we introduce the global setting to configure the cidr, it is mess for the backward compatibility. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---