diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-12-08 19:47:02 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-12-08 19:54:34 +0100 |
commit | 371ee5167ce5e6fccc5a2a159343658f01ba74f7 (patch) | |
tree | e35190adc24d904405c8b2afce808caa104d089b /helpers/bitmask-root | |
parent | e5c9f5ae9b892af8eac28bdbd6231e47ce917214 (diff) |
[feat] whitelist log file
Diffstat (limited to 'helpers/bitmask-root')
-rw-r--r-- | helpers/bitmask-root | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/helpers/bitmask-root b/helpers/bitmask-root index 6bb97e2..d33091c 100644 --- a/helpers/bitmask-root +++ b/helpers/bitmask-root @@ -89,7 +89,7 @@ def is_ipv6_disabled(): def tostr(s): return s.decode('utf-8') -VERSION = "15" +VERSION = "16" SCRIPT = "bitmask-root" NAMESERVER_TCP = "10.41.0.1" NAMESERVER_UDP = "10.42.0.1" @@ -167,7 +167,7 @@ ALLOWED_FLAGS = { "--verb": ["NUMBER"], "--management-client": [], "--tun-ipv6": [], - "--float: [], + "--log": ["LOGFILE"], } PARAM_FORMATS = { @@ -181,7 +181,8 @@ PARAM_FORMATS = { "DIR": lambda s: os.path.isdir(os.path.split(s)[0]), "UNIXSOCKET": lambda s: s == "unix", "NETGW": lambda s: s == "net_gateway", - "UID": lambda s: re.match("^[a-zA-Z0-9]+$", s) + "UID": lambda s: re.match("^[a-zA-Z0-9]+$", s), + "LOGFILE": lambda s: s == "/tmp/leap-vpn.log", } # Determine Qubes OS version, if any |