[
https://issues.apache.org/jira/browse/CLOUDSTACK-7888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14559655#comment-14559655
]
ASF GitHub Bot commented on CLOUDSTACK-7888:
--------------------------------------------
GitHub user primechuck opened a pull request:
https://github.com/apache/cloudstack/pull/307
CLOUDSTACK-7888: unable to create remote vpn because of special character
in password
Always enter chap-secrets as a quoted field. In the event of special
characters it creates and deletes the entry properly, in the event there are
not special characters there is no change behavior.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/primechuck/cloudstack CLOUDSTACK-7888-vpn_fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/307.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 #307
----
commit 03b5e855aecafd5a3aeef77f38a54be26caf691a
Author: David Bierce <[email protected]>
Date: 2015-05-26T19:07:44Z
Always enter chap-secrets as a quoted field. In the event of special
characters it creates and deletes the entry properly, in the event there are
not special characters there is no change behavior.
----
> unable to create remote vpn because of special character in password
> --------------------------------------------------------------------
>
> Key: CLOUDSTACK-7888
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7888
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Virtual Router
> Affects Versions: 4.2.1, 4.4.1
> Environment: ACS 4.2.1 , ACS 4.4.1
> Reporter: Tomasz Zieba
>
> enter the password with a special character (#) statement causes the
> inability to remote vpn tunnel.
> Please correct the code to enter password in quotes. For example:
> Current situation:
> root@r-2284-VM:/etc/ppp# cat chap-secrets
> sin33 * CloudS980@#+=.-_ *
> ==> /var/log/daemon.log <==
> Nov 12 16:28:19 r-2284-VM xl2tpd[9460]: control_finish: Connection closed to
> x.x.x.x, serial 0 ()
> Nov 12 16:28:19 r-2284-VM xl2tpd[9460]: Terminating pppd: sending TERM signal
> to pid 9855
> Expected situation:
> root@r-2284-VM:/etc/ppp# cat chap-secrets
> sin33 * "CloudS980@#+=.-_" *
> Nov 12 16:28:59 r-2284-VM xl2tpd[9460]: Call established with x.x.x.x, Local:
> 50127, Remote: 1, Serial: 0
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)