From ef7925618b1da118d4d565d8b096130e89ad78aa Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Wed, 7 Jun 2017 17:01:30 +0200 Subject: [docs] document testing of the osx helper --- src/leap/bitmask/vpn/fw/osx/bitmask-helper | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/leap') 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 -- cgit v1.2.3