diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-10-09 12:35:44 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-10-09 12:35:44 -0300 |
commit | 91eee459a408e7b6faec832514ee9b109e808b9e (patch) | |
tree | f66d788a2a3624bae7a76a4c051308c973549ce9 /src/leap/bitmask/services/eip/vpnlauncher.py | |
parent | f1ca78e438f46d266ddcb8f5795cfc4bae4469e8 (diff) | |
parent | ae1d24a69806740fea6c5d29779e686ba2747ed0 (diff) |
Merge remote-tracking branch 'kali/feature/improve-openvpn-error-detection' into develop
Diffstat (limited to 'src/leap/bitmask/services/eip/vpnlauncher.py')
-rw-r--r-- | src/leap/bitmask/services/eip/vpnlauncher.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/bitmask/services/eip/vpnlauncher.py b/src/leap/bitmask/services/eip/vpnlauncher.py index 935d75f1..82d8ea48 100644 --- a/src/leap/bitmask/services/eip/vpnlauncher.py +++ b/src/leap/bitmask/services/eip/vpnlauncher.py @@ -241,6 +241,10 @@ class VPNLauncher(object): '--ca', providerconfig.get_ca_cert_path() ] + args += [ + '--ping', '10', + '--ping-restart', '30'] + command_and_args = [openvpn] + args logger.debug("Running VPN with command:") logger.debug(" ".join(command_and_args)) |