From b71f8be2993c887130a00390e46615c882de6655 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Mon, 27 Mar 2017 14:46:28 +0200 Subject: [feat] remove the pinning of VPN extra flags The pinning was removing 'tun-ipv6' wich is a boolean value, there is boolean support in src/leap/bitmask/vpn/launcher.py:232 already. It seems to work fine. - Resolves: #8809 --- src/leap/bitmask/vpn/service.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/leap/bitmask') diff --git a/src/leap/bitmask/vpn/service.py b/src/leap/bitmask/vpn/service.py index f6c73592..17e20af6 100644 --- a/src/leap/bitmask/vpn/service.py +++ b/src/leap/bitmask/vpn/service.py @@ -142,15 +142,7 @@ class VPNService(HookableService): config = yield bonafide.do_provider_read(provider, "eip") remotes = [(gw["ip_address"], gw["capabilities"]["ports"][0]) for gw in config.gateways] - # FIXME -- bitmask-root cannot parse some options! - # extra_flags = config.openvpn_configuration - # XXX picked manually from vpn-service.json - extra_flags = { - "auth": "SHA1", - "cipher": "AES-128-CBC", - "keepalive": "10 30", - "tls-cipher": "DHE-RSA-AES128-SHA", - } + extra_flags = config.openvpn_configuration prefix = os.path.join(self._basepath, "leap/providers/{0}/keys".format(provider)) -- cgit v1.2.3