summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/launcher.py
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-09-13 00:05:12 +0200
committerRuben Pollan <meskio@sindominio.net>2017-09-15 23:40:03 +0200
commit0ca001c29e6ce7ab9de76639ef93bda79af51504 (patch)
tree2449e535b9034acf6a0f0861284c1c2b04ebbaec /src/leap/bitmask/vpn/launcher.py
parentaf552318d44de3579d9b168d8cd9ad18a443d733 (diff)
[bug] get the VPN restart working again
Don't persist-tun on the vpn, so it can restart properly. Also let's match better the options that are sent and taken into account from bitmask-root. - Resolves: #9048
Diffstat (limited to 'src/leap/bitmask/vpn/launcher.py')
-rw-r--r--src/leap/bitmask/vpn/launcher.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/leap/bitmask/vpn/launcher.py b/src/leap/bitmask/vpn/launcher.py
index 71173a06..6dd01596 100644
--- a/src/leap/bitmask/vpn/launcher.py
+++ b/src/leap/bitmask/vpn/launcher.py
@@ -181,18 +181,10 @@ class VPNLauncher(object):
args += [
'--management-signal',
'--management', socket_host, socket_port,
- '--script-security', '2',
'--ca', providerconfig.get_ca_cert_path(),
'--cert', vpnconfig.get_client_cert_path(providerconfig),
'--key', vpnconfig.get_client_cert_path(providerconfig)
]
- if not IS_MAC:
- args += [
- '--ping', '5',
- '--ping-restart', '10',
- '--persist-key',
- '--persist-local-ip', '--persist-remote-ip']
-
command_and_args = [openvpn_path] + args
return command_and_args