Commit Graph

13 Commits (21d022a1b4343f4e0b11d8e6fe3bc3cb7a038965)

Author SHA1 Message Date
Selva Nair be417bb38f Support pkcs11 token insertion request and pin input
Note: IDS_NFO_TOKEN_PASSWORD_CAPTION and IDS_NFO_TOKEN_PASSWORD_REQUEST
strings need translation.

TODO: support for selecting pkcs11-id from the GUI

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-11-15 19:29:23 -05:00
Selva Nair 854d76ae31 Read errors from the service pipe and handle fatal ones
Asynchronously read Input on the service pipe which are mostly
errors reported by the service. Display the errors on the status log
window and to the log file if its not opened by openvpn.
If/when openvpn fails to start or exits with error, close
the connection without waiting for management socket timeout.

v2:
- rebase to master
- fix a bug in setting manage.connected state
- ensure management socket is closed and resources freed before thread exit

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-05-08 18:07:31 -04:00
Selva Nair 352e44f03d Better error reporting when connection fails to come up
- Handle early errors (openvpn exits before management connection is up)
    with a helpful error message that points the user to view log.
- Include only readable config files in the connection list
- Warn if no connection profiles found

TODO: handle startup errors from interactive service
2016-02-16 15:57:37 -05:00
Heiko Hund 9e195404b0 fix crash on 64 bit Windows, closes trac bug #247
This was caused by access of invalid data on the heap.

https://community.openvpn.net/openvpn/ticket/247
2013-03-01 21:28:17 +01:00
Heiko Hund 15287dc5ea correct how data from mgmt itf is received 2012-10-31 16:33:32 +01:00
Heiko Hund e84834a08a supply system proxy settings to management itf
Proxy settings are fetched from the users Internet Options
for the active connection. If WPAD or a PAC script is configured
they are preferred and used for automatic proxy detection.
Proxy bypass configuration is completely ignored.
2012-07-19 16:03:50 +02:00
Heiko Hund 0b37e288bf fix GUI status if mgmt itf can't be reached 2012-05-09 11:08:18 +02:00
Heiko Hund b9edb7e62a keep trying to connect to mgmt itf for 15 seconds 2012-05-08 16:50:26 +02:00
Heiko Hund d8737bfba2 remove limit for user/pass length, closes #3498438
Generation of the "username" and "password" management commands now
happens centrally in the helper function ManagementCommandFromInput()
in misc.c
2012-03-30 18:20:09 +02:00
Alon Bar-Lev c9eb68c77f use automake in build
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>

Edited to not use libtool and implicit automake rule to build resource object
2012-03-28 10:59:44 +00:00
Alon Bar-Lev 45421c2514 cleanup: resolve warnings missing malloc include
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2012-03-28 10:44:54 +00:00
Heiko Hund 2c6eb62c74 fix write to static buffer 2011-07-21 11:43:00 +02:00
Heiko Hund 4bcebba60f use managment interface 2010-09-10 11:39:39 +02:00