Commit Graph

63 Commits (577d982b51670f7f68d6dad9d0bf08f8a01879ba)

Author SHA1 Message Date
Selva Nair 2ea4bf9229 Add a test program for PLAP provider module
- instantiate OpenVPN PLAP provider which will enumerate configs
  in config-auto directory.
- Attempt to connect each config found one after the other

The test program is deliberately written in C++ as that's how most
Windows programs (and likely, LogonUI.exe) may use the COM object.

Note that duplicate configs are ignored, so ensure  that config
files in config-auto are not "shadowed" by identical named one's
in user's profile or in global config folder.

Additional notes:
The test program is not linked to the plap dll.
Instead it finds the module using CoGetClassObject,
so the plap dll must be registered in the system.

It also tests dynamically loading the dll from
C:\Program Files\OpenVPN\bin\libopenvpn_plap.dll
which should succeed even if the registration is not
proper.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-10-17 11:05:44 -04:00
Selva Nair a500b9553e Implement Pre-Logon Access Provider for start before logon
- COM interfaces for ICredentialProvider and
  IConnectableCredentialProviderCredential combined
  with a trimmed down user-interface implemented as
  libopenvpn_plap.dll

- Connections autostarted by OpenVPNService are enumerated
  as possible PLAP connections. The user is expected to leave
  these in management hold so that "connect" will popup any
  required user dialogs.

To use:
 - Register the dll as a PLAP provider (see included .reg files)
 - The enumerated connections will show up as tiles in the PLAP
   screen of the login desktop (secure desktop).

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-10-17 11:05:44 -04:00
Selva Nair 6d67f81814 Show certificate details on double-clicking pkcs11 list entries
- For mingw builds, currently this works only for x64 target
  due to missing library for i686 target.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-07-19 12:08:02 +02:00
Lev Stipakov d60325acde Support for OpenVPN 3
This adds optional support for using OpenVPN3 client
as an alternative to openvpn2.

Just replacing one client with another will not work:

 - OpenVPN3 doesn't use interactive service, it uses
"agent" service with completely different protocol. OpenVPN GUI
needs to talk to agent using HTTP and JSON.

 - OpenVPN3 management interface realtime notifications must be
explicitly turned on in order for GUI to work.

To enable using openvpn3:

 - use any of *-ovpn3 presets (cmake build system)

 - ./configure --enable-ovpn3 (mingw)

To switch betweet openvpn2 and openvpn3, see "OpenVPN Engine"
radiobutton group in Settings -> Advanced dialog.

OnReady() implementation was slighly changed - "log all on"
replaced with "log on all" - according to management interface
documentation this is the right way to do it, and also OpenVPN3
only supports "on all" order.

Management interface - enabled OpenVPN3 client (omiclient.exe) and
agent (ovpnagent.exe) are now part of openvpn3 repo.

Co-authored-by: Christopher Ng <facboy@gmail.com>
Signed-off-by: Christopher Ng <facboy@gmail.com>
Signed-off-by: Lev Stipakov <lev@openvpn.net>
2022-06-15 10:32:36 -04:00
Samuli Seppänen 8f3c7a0b38 Bump version to 11.29
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2022-05-31 11:52:18 +00:00
Samuli Seppänen 5c1cae2042 Bump version to 11.27.0.0
Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>
2021-12-15 08:34:27 +02:00
Samuli Seppänen 6758dd0900 Bump version to 11.26.0.0
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2021-10-05 08:57:10 +03:00
Samuli Seppänen e7dc61c7a1 Bump version to 11.25.0.0
Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>
2021-06-17 12:16:05 +03:00
Samuli Seppänen 0511236062 Bump version to 11.24.0.0
Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>
2021-04-21 07:03:24 +03:00
Samuli Seppänen bbd329cd7f Bump version to 11.23.0.0
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2021-02-24 11:16:56 +02:00
Samuli Seppänen 3820c1368d Bump version to 11.21.0.0
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2020-12-09 13:26:57 +02:00
Samuli Seppänen 3fb55cba60 Bump version to 11.20.0.0
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2020-09-30 12:47:37 +03:00
Samuli Seppänen ed784b6c4f Bump version to 11.19.0.0
Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>
2020-09-21 11:45:13 +03:00
Samuli Seppänen a921662717 Bump version to 11.17.0.0
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2020-09-01 10:27:34 +03:00
Selva Nair a4c824058f Update copyright year
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2020-08-23 14:50:15 +02:00
Samuli Seppänen 6626cf4d85 Bump version to 11.16.0.0
Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>
2020-08-14 08:40:46 +03:00
Samuli Seppänen a9f8b98106 Bump version to 11.15.0.0
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2020-04-16 16:27:16 +03:00
Samuli Seppänen 74eb72d478 Bump version to 11.14.0.0
Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>
2019-10-30 14:38:23 +02:00
Samuli Seppänen 72649a3ad7 Bump version to 11.13.0.0
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2019-04-19 18:28:39 +03:00
Samuli Seppänen 8a93336c97 Bump version to 11.12.0.0
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2019-02-20 14:29:12 +02:00
Selva Nair f55eeb1da8 Eliminate MAX_CONFIGS limit using a dynamic array
The number of configs is now unlimited. But there is a limit
of 2^16 menu items which permits only about 2^12 configs to be
displayed in the menu. A warning is shown if the number of
configs exceeds this value.

For a responsive menu keep the number of configs under ~1000.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2019-02-11 11:51:23 -05:00
Selva Nair b23c4c2736 Update year in the "About" tab
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2018-04-02 20:59:25 -04:00
Samuli Seppänen 81b4031285 Bump version to 11.10.0.0
The v11.10.0.0 tag was pointed at the previous commit by mistake

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2018-03-02 19:44:26 +02:00
Samuli Seppänen 63c4211414 Bump version to 11.9.0.0
Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>
2017-09-26 12:28:24 +03:00
Samuli Seppänen 02bffb4a5d Bump version to 11.8.0.0
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2017-07-14 16:11:40 +03:00
Samuli Seppänen b4f03a1932 Bump version to 11.7.0.0
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2017-06-20 15:01:40 +03:00
Samuli Seppänen 01982ff7cd Bump version to 11.6.0.0
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2017-05-12 10:09:26 +03: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
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
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
Chocobo1 b350b0e1bc Enable DEP 2017-01-18 15:42:02 +08:00
Samuli Seppänen d82471d927 Preparing for release with openvpn-2.4_rc2
Bump version to 11.4.0.0

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-12-16 14:07:05 +02:00
Samuli Seppänen 3439d001cc Preparing for release with openvpn-2.4_rc1
Bump version to 11.3.0.0

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-12-02 08:37:42 +02:00
Samuli Seppänen df3679f4c9 Preparing for release with openvpn-2.4_beta2
- Bump version to 11.2.0.0

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-11-25 09:27:16 +02:00
Selva Nair dca8160a37 Update version-info resource
- Add PRODUCTVERSION to the VERSIONINFO resource.
  Without this some versions of Windows (e.g., Server 2008 32bit)
  displays Product version = 0.0.0.0, File version = 11.1.0.0

- Also define the file and product versions in the stringinfo block
  as a stringified form of PACKAGE_VERSION_RESOURCE (e.g., "11.1.0.0").
  Windows versions that take the Product version from this block
  will now get the same value as older versions that use PRODUCTVERSION.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-11-18 17:54:00 -05:00
Selva Nair 08ec365d4f Preparing for release with openvpn-2.4_beta1
- Bump version to 11.1.0.0

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-11-17 21:39:19 -05:00
Ilya Shipitsin 68552bf523 removed unused nsis installer 2016-08-27 10:28:16 +05:00
Ilya Shipitsin 9625d6f3c6 added --disable-password-change to configure and travis-ci 2016-08-02 01:22:05 +05:00
Samuli Seppänen fbb5348540 Bump version in "master" branch to 11
URL: https://github.com/OpenVPN/openvpn-gui/pull/16

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-02-22 10:50:11 +02:00
Samuli Seppänen 80ed8b71f8 Bump version to 10
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-02-03 16:05:45 +02:00
Ilya Shipitsin 3276e4725c configure.ac: http://openvpn-gui.sf.net --> https://github.com/openvpn/openvpn-gui/ 2016-01-02 22:21:25 +03:00
Samuli Seppänen a35beb134a Bump version to 9
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2015-12-30 11:40:28 +02:00
Samuli Seppänen d1db3181f2 Bump version to 7
Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>
2015-02-27 13:02:47 +02:00
Heiko Hund 82a9b8bb6f buildsystem fixes 2014-11-16 15:55:38 +01:00
Heiko Hund 10c32f06c2 add NSIS installer files Samuli Seppänen
'make installer' will now spit out an openvpn-gui-installer.exe. The
location of the required makensis tool can be specified by appending
MAKENSIS=/path/to/makensis to the configure command line. Otherwise
it's searched for in your $PATH. The installer target is only available
when makensis is available.
2013-08-05 16:22:36 +02:00
Heiko Hund 02b924f48a bump version to 5 2013-08-05 11:09:00 +02:00
Heiko Hund 56bc27649e bump version to 4 2013-06-03 12:28:52 +02:00
Heiko Hund 77d2f5b2b2 make MAX_CONFIGS a autoconf precious variable
You can now define up to how many configuration files you want
to support by stating something like

  ./configure MAX_CONFIGS=150 ...

when invoking configure. Default value remains 50.
2013-04-12 20:16:04 +02:00
Heiko Hund f728b41196 bump version to 3 2013-03-07 16:17:31 +01:00