Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

vpnc-script.js not executed on Windows #38

Closed
irichter opened this issue Apr 4, 2015 · 2 comments
Closed

vpnc-script.js not executed on Windows #38

irichter opened this issue Apr 4, 2015 · 2 comments

Comments

@irichter
Copy link

irichter commented Apr 4, 2015

Per the DEFAULT_VPNC_SCRIPT set by common.h:49 and used in VpnInfo::Connect() vpninfo.cpp:464, the script to be executed is named "vpnc-script-win.js".

However, the script actually installed is named "vpnc-script.js". As a result, the script cannot be found and is not run, making the tunnel useless.

Possible solutions:

  1. Modify DEFAULT_VPNC_SCRIPT to point to "vpnc-script.js".
  2. Modify the installer to create a file named "vpnc-script-win.js" instead of "vpnc-script.js".
  3. Add a required GUI option for the user to pick a script. (This should probably be used with caution, as if the user launches the GUI with UAC bypassed, they could then execute any code of their choosing with administrative privileges.)

As a work-around, renaming the installed script to "vpnc-script-win.js" works.

@nmav nmav closed this as completed in cf9b0a6 Apr 4, 2015
@nmav
Copy link
Contributor

nmav commented Apr 4, 2015

Thanks.

@thoughtchad
Copy link

Nice point release! I had dropped back to 0.9 due to strange issues where the tunnel stopped working, etc. 1.2 looks solid. No errors in the log, and solid DTLS on first connect. Really appreciate the effort here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants