summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-11-30 14:37:18 +0100
committerKali Kaneko <kali@leap.se>2017-11-30 14:37:18 +0100
commitcff3550ccae01bb61c6aa5db710b70ea01de5d11 (patch)
tree5f1a669e05147ed2b2c36fbd971eb82efc5589ac /src/leap
parentd62ea76c8af728221cba1936cc1b89bd71a9300b (diff)
[refactor] use /var/run for osx helper socket
Diffstat (limited to 'src/leap')
-rwxr-xr-xsrc/leap/bitmask/vpn/helpers/osx/bitmask-helper4
-rw-r--r--src/leap/bitmask/vpn/launchers/darwin.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/bitmask/vpn/helpers/osx/bitmask-helper b/src/leap/bitmask/vpn/helpers/osx/bitmask-helper
index 4a54295b..53b3ed2a 100755
--- a/src/leap/bitmask/vpn/helpers/osx/bitmask-helper
+++ b/src/leap/bitmask/vpn/helpers/osx/bitmask-helper
@@ -44,7 +44,7 @@ To see the loaded rules:
To test the commands, you can write directly to the unix socket. Remember to
terminate the command properly:
- echo 'firewall_stop/CMD' | socat - UNIX-CONNECT:/tmp/bitmask-helper.socket
+ echo 'firewall_stop/CMD' | socat - UNIX-CONNECT:/var/run/bitmask-helper.socket
"""
import os
@@ -122,7 +122,7 @@ GREP = '/usr/bin/grep'
CAT = '/bin/cat'
UID = os.getuid()
-SERVER_ADDRESS = '/tmp/bitmask-helper.socket'
+SERVER_ADDRESS = '/var/run/bitmask-helper.socket'
#
diff --git a/src/leap/bitmask/vpn/launchers/darwin.py b/src/leap/bitmask/vpn/launchers/darwin.py
index 7562af91..e454a2ff 100644
--- a/src/leap/bitmask/vpn/launchers/darwin.py
+++ b/src/leap/bitmask/vpn/launchers/darwin.py
@@ -33,7 +33,7 @@ logger = Logger()
class HelperCommand(object):
- SOCKET_ADDR = '/tmp/bitmask-helper.socket'
+ SOCKET_ADDR = '/var/run/bitmask-helper.socket'
def __init__(self):
pass