diff options
author | Kali Kaneko <kali@leap.se> | 2013-10-06 21:50:01 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-10-08 20:21:54 -0300 |
commit | ac51cb85da434b8dfc75ffa800b6d5cbaab1c84a (patch) | |
tree | 81358b40727747ea61bab22c5019aea8345109eb /src/leap/bitmask/services/eip/vpnlauncher.py | |
parent | f1ca78e438f46d266ddcb8f5795cfc4bae4469e8 (diff) |
openvpn observer
reacts to tls-restart, ping-restart and network unreachable.
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)) |