Skip to content
Snippets Groups Projects
Commit d98efd23 authored by jkito's avatar jkito :skull:
Browse files

helper: use unix socket for local api

bitmask-vpn installs a daemon called bitmask-helper
which exposes a http api to handle firewall up/down
and openvpn connect/disconnect (only in macos)

this daemon was listening on localhost, since it is
meant to be only accessible to local processes we'v
changed it to listen on a unix domain socket

using unix socket allows to apply file  permissions
and restrict access to the api to only the intended
user
parent 7e176df8
No related tags found
1 merge request!263use unix socket for bitmask-helper local api
Pipeline #246027 passed
Showing
with 148 additions and 419 deletions
Loading
  • Pea Nut @peanut2

    mentioned in merge request !271

    ·

    mentioned in merge request !271

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment