0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 20:13:05 +02:00

First working OMI wrapper for OpenVPN 3 client. Tested with OpenVPN Connect on Mac.

Could benefit from some minor modifications to
python client backend and tray app:

* Client backend and ovpn3 both implement connection timeout.
  Client backend should defer to the ovpn3 implementation.

* Client backend and ovpn3 both implement DNS server config
  and SystemConfiguration event sent to
  'Setup:/Network/Global/IPv4' for 'VPN up'.
  Client backend should defer to the ovpn3 implementation.

* Ensure that system state changes (sleep, wakeup, network
  roam, fast user switching, etc.) don't cause conflicts
  between client backend and ovpn3 core both trying to
  implement similar functionality.

* Tray app should render error detail in >FATAL: messages.
  Right now tray raises a Disconnected notification but
  loses any error detail.
This commit is contained in:
James Yonan 2016-03-28 01:04:34 -06:00 committed by Lev Stipakov
parent fee78ccfe4
commit d4cf3b75d7
No known key found for this signature in database
GPG Key ID: 88670BE258B9C258

View File

@ -510,7 +510,7 @@ namespace openvpn {
AsioPolySock::TCP* s = new AsioPolySock::TCP(io_context, 0);
socket.reset(s);
async_connect(s->socket, results,
asio::async_connect(s->socket, results,
[self=Ptr(this)](const asio::error_code& error, const asio::ip::tcp::endpoint& endpoint)
{
self->handle_tcp_connect(error, endpoint);