summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-06-07 17:01:30 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2017-06-07 17:01:30 +0200
commitef7925618b1da118d4d565d8b096130e89ad78aa (patch)
treef71df66073d045d363a05887e5b427bafe1c881f
parent224c1294bba442c64d1a7f832b17648ff07c691e (diff)
[docs] document testing of the osx helper
-rwxr-xr-xsrc/leap/bitmask/vpn/fw/osx/bitmask-helper5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/fw/osx/bitmask-helper b/src/leap/bitmask/vpn/fw/osx/bitmask-helper
index a1a3e86a..68be7dbb 100755
--- a/src/leap/bitmask/vpn/fw/osx/bitmask-helper
+++ b/src/leap/bitmask/vpn/fw/osx/bitmask-helper
@@ -39,6 +39,11 @@ To see the loaded rules:
sudo pfctl -s rules -a bitmask
+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
+
"""
import os
import re