Commit Graph

402 Commits (d8df98314a4aa4c7be5bfcf580e27563fc9fc8ff)

Author SHA1 Message Date
Ilya Shipitsin d8df98314a Several AppVeyor improvements:
* added very important "-g" switch to cygwin setup command, which means "update cygwin itself", without it package manipulation is not predictable
* moved everything to appveyor.yml
* renamed appveyor.yml to .appveyor.yml
2017-03-25 13:20:15 +05:00
Samuli Seppänen 59dd758b96 Bump version to 11.5.0.0
Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>
2017-03-22 17:35:10 +02:00
Samuli Seppänen fa2fd383ec Merge pull request #136 from Hexabitt/patch-1
Completed all missing translations to french
2017-03-22 10:55:07 +02:00
Hexabitt 68d80cc80d Update openvpn-gui-res-fr.rc 2017-03-19 01:13:09 +01:00
Selva Nair d7b0fcbe5b Merge pull request #137 from selvanair/echo
Parse ECHO directives from openvpn

Acked-by: Gert Doering <gert@greenie.muc.de>
2017-03-16 10:22:05 -04:00
Samuli Seppänen cdb223f426 Merge pull request #143 from chipitsine/master
AppVeyor: switch to preinstalled mingw64-%ARCH%-gcc-core
2017-03-14 10:52:55 +02:00
Ilya Shipitsin fe6a9e186b AppVeyor: switch to preinstalled mingw64-%ARCH%-gcc-core
appveyor images are shipped with mingw64-%ARCH%-gcc-core preinstalled, so,
when reinstalling those packages we caught an error.
2017-03-14 13:44:26 +05:00
Samuli Seppänen d144e12740 Merge pull request #145 from Chocobo1/appveyor
Appveyor small improvements
2017-03-14 09:08:57 +02:00
Chocobo1 dbba471799 Readme: add AppVeyor badge 2017-03-14 02:17:48 +08:00
Chocobo1 e17c157e26 AppVeyor: add shebang 2017-03-14 02:17:40 +08:00
Samuli Seppänen 86a57aee0b Merge pull request #146 from Chocobo1/pr_109
Update and fix localization for zh-hant
2017-03-13 19:31:16 +02:00
Chocobo1 20dd73dec7 Address review comments 2017-03-12 22:30:55 +08:00
Selva Nair 25be842a96 Merge pull request #117 from selvanair/nay-to-savepass
Add a system-wide option to disable the password save feature
2017-03-08 21:37:31 -05:00
Selva Nair 778cc3d225 Add a system-wide option to disable the password save feature
- A new registry HKLM\Software\OpenVPN\disable_save_passwords
  (32 bit DWORD value) may be set to a non-zero value to
  disable password saving by users. Applies to both auth and
  private key passwords. Usernames are always saved.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2017-03-07 11:49:03 -05:00
Selva Nair ad6f03f50f Merge pull request #118 from selvanair/validate-user
Check group membership without needing connection to DC

Acked-by: Gert Doering <gert@greenie.muc.de>
2017-03-07 08:28:55 -05:00
Selva Nair 55f00b87d9 Merge pull request #128 from selvanair/help-msg
Fix truncation of usage message shown when --help is used

Acked-By: Gert Doering <gert@greenie.muc.de>
2017-03-05 11:55:53 -05:00
Samuli Seppänen 470c886574 Merge pull request #140 from chipitsine/master
AppVeyor: stick to mingw64-%ARCH%-gcc-core-5.4.0-3
2017-03-01 09:53:38 +02:00
Ilya Shipitsin 4b36b12cff AppVeyor: temporarily stick to mingw64-%ARCH%-gcc-core-5.4.0-3
5.4.0-4 somehow breaks cross compile magic
2017-03-01 11:40:59 +05:00
Samuli Seppänen 8eda780b6f Merge pull request #135 from chipitsine/master
AppVeyor support
2017-02-28 11:43:56 +02:00
Selva Nair d4090a8842 Parse ECHO directives from openvpn
Support the following echo commands

- "echo forget-passwords": delete passwords internally saved by the GUI
  but do not disable the password save feature. Useful when pushed
  from the server so that it gets processed after authentication. Also see
  management-notes.txt in openvpn docs.

- "echo save-passwords": enables private-key and auth-user-pass passwords
  to be saved. Will be effective at startup only if present in the config
  file. If pushed from the server, will get used for subsequent
  password prompts. Essentially this has the effect of presenting the password
  dialogs to the user with save-password checkbox selected. The user may still
  uncheck it during the dialog.

Note: echo commands are processed as and when they are received and in the order
received.

TODO: support for "echo setenv name var", "echo disable-save-passwords" etc..

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2017-02-27 13:47:59 -05:00
Hexabitt 5ce1ec592a Completed all the missing translations 2017-02-24 15:14:07 +01:00
Selva Nair 921a4ed535 Check group membership without needing connection to DC
Current approach of querying the group membership of DOMAIN\username
fails for domain users if no DC is reachable. Instead authorize the
user if

(i) admin groups are found in the process token
(ii) or the SID of the user is a member of the admin groups

The second check is needed to support adding the user to the
ovpn_admin_group when GUI is running, as such changes in group
membership will not be reflected in the token.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2017-02-23 12:57:35 -05:00
Ilya Shipitsin 513dbff122 AppVeyor support 2017-02-23 21:37:53 +05:00
Samuli Seppänen 7ec7ad10ed Merge pull request #133 from chipitsine/master
travis-ci: update openssl, add "builds from release tarballs"
2017-02-20 16:26:20 +02:00
Ilya Shipitsin 6904622b8b travis-ci: update openssl, add "builds from release tarballs" 2017-02-18 23:34:31 +05:00
Samuli Seppänen 2b1e2235c9 Merge pull request #132 from mattock/master
Fix builds from release tarballs
2017-02-17 10:57:30 +02:00
Samuli Seppänen debbdc0122 Fix builds from release tarballs
The openvpn-gui-res-cs.rc file was not included in release tarballs, which made
tarball-based builds fail.

URL: https://github.com/OpenVPN/openvpn-gui/issues/131
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2017-02-16 13:35:30 +02:00
Samuli Seppänen 45aed18a25 Merge pull request #108 from selvanair/win32-vista
Update _WIN32_WINNT to _WIN32_WINNT_VISTA
2017-02-02 10:13:30 +02:00
Selva Nair da6d0c63b1 Merge pull request #110 from EagleErwin/patch-1
Translate missing Dutch strings and minor changes
2017-02-01 20:57:25 -05:00
Selva Nair 2a71877f18 Update _WIN32_WINNT to _WIN32_WINNT_VISTA
Also define WINVER used by some header files.
The change will help warn against use of API calls not in vista.
The original setting of this macro to  _NTDDI_WINXP was wrong and
permitted use of any API not just those supported by WinXP. Build
is unaffected as we currently do not have any function calls not
present in Vista.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2017-01-31 11:30:42 -05:00
Selva Nair be3d367abc Merge pull request #126 from Ashus/master
Czech translation added
2017-01-31 10:37:56 -05:00
Selva Nair bcdfaa73ce Merge pull request #116 from chipitsine/manifest
added Windows Vista/Win7/Win8/Win8.1/Win10 to compatibility manifest
2017-01-31 10:26:22 -05:00
Selva Nair 4b716b4666 Fix truncation of usage message shown when --help is used
- Increase the buffer size used to load the usage string to 2048
  chars (defined by USAGE_BUF_SIZE in main.h)
- Make GetGUILanguage() visible outside localization.c

Trac: #833

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2017-01-30 22:30:26 -05:00
Ashus a157944ccf Translation corrected by another developer, Elieux.
Signed-off-by: Ashus <github.com@ashus.net>
2017-01-27 20:57:22 +01:00
Ashus 2c6f1fa905 Czech translation added
Signed-off-by: Ashus <github.com@ashus.net>
2017-01-26 23:56:39 +01:00
Selva Nair f35308d7d2 Merge pull request #123 from Chocobo1/ldflags
Enable ASLR & DEP
2017-01-22 14:42:31 -05:00
Chocobo1 2df33816ed Use high entropy ASLR 2017-01-22 13:20:39 +08:00
Chocobo1 d2a8c8d1ff Enable ASLR. Closes #119.
Workaround provided by Selva Nair.
2017-01-22 13:19:34 +08:00
Samuli Seppänen 2f2516c340 Merge pull request #124 from Chocobo1/badge
Add title and TravisCI badge to README.rst
2017-01-19 12:06:12 +02:00
Chocobo1 c433caed72 Add title and TravisCI badge to README.rst 2017-01-18 23:12:43 +08:00
Chocobo1 b350b0e1bc Enable DEP 2017-01-18 15:42:02 +08:00
Selva Nair 01281d1f1d Merge pull request #121 from mattock/docfixes
Documentation improvements
2017-01-16 09:57:46 -05:00
Selva Nair d662991d13 Close service pipe in case of startup error
Without this the service will continue to wait for input from GUI
and log pipe read errors to the event log.
Also fix a typo in the error messgae shown.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2017-01-14 22:27:05 -05:00
Samuli Seppänen 0e379dd371 Documentation improvements
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2017-01-13 09:24:22 +02:00
Ilya Shipitsin dd33b9068d added Windows Vista/Win7/Win8/Win8.1/Win10 to compatibility manifest 2017-01-08 03:57:35 +05:00
Selva Nair 5af421861d Merge pull request #112 from selvanair/master
Some error reporting improvements
2017-01-04 17:11:53 -05:00
Peter Chen 21d022a1b4
UI clipping fix, and misc wording fix/redundant punc removed 2017-01-05 01:12:28 +08:00
Selva Nair 9cea37ad80 Suppress warning popups if silent_connection is set
Warnings dsabled if silent_connection is true
- interactive service is not installed or not running
- duplicate configs found and ignored

v2: Update description of --silent_connection in README
and English resource file (translations not updated).

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2017-01-03 11:28:45 -05:00
Selva Nair 91b3eef40a Mark status as connected only if openvpn reports CONNECTED,SUCCESS
Avoid reporting a connection that completed with errors (state change
message = CONNECTED,ERROR) as successful.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2017-01-02 14:23:01 -05:00
Erwin Bronkhorst 3abcdef46c Translate missing Dutch strings and minor changes 2016-12-29 14:48:32 +01:00