summaryrefslogtreecommitdiff
path: root/helpers
AgeCommit message (Collapse)Author
2022-03-15Remove dependency on statik and use go:embedSam Whited
This removes a dependency by using the built-in go:embed functionality introduce in Go 1.16 instead of statik for embedding files. This means that Go 1.16+ would now be required to build the VPN. Signed-off-by: Sam Whited <sam@samwhited.com>
2021-12-08[feat] whitelist log filekali kaneko (leap communications)
2021-11-30[bug] let's floatkali kaneko (leap communications)
2021-11-23[feat] pass udp flag to bitmask-rootkali kaneko (leap communications)
2021-09-23helpers/bitmask-root: the ip command is sometimes in /bin/Andrew Ammerlaan
Upstreamed patch from Gentoo Linux We put bin before sbin because we want sbin to have the higher priority Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2021-07-06[bug] ignore ip/routes if ipv6 is disabledkali kaneko (leap communications)
- Resolves: #457
2021-06-14[feat] allow to define explicitely allowed private addresskali kaneko (leap communications)
By default, bitmask-root allows traffic to devices in local networks. However, this behavior depends on it correctly identifying the local network of the default route, and it can fail on more complex network setups (one common failure mode is when one of the ifaces gets a link-local ip). This commit introduces an explicit mechanism, by parsing lines in /etc/bitmask/ipv4.allow /etc/bitmask/ipv6.allow If valid private ips are defined in either of the files, the behavior will change to fail close for local devices, and allow traffic (both tcp and udp) to the defined ips, on all ports. - Resolves: #503
2021-05-17allow route command, needed for obfs4kali kaneko (leap communications)
2021-05-17[feat] remove email firewallkali kaneko (leap communications)
this has been officially deprecated for some time
2020-03-26[feat] bitmask-root: search for the system commands in the common pathsRuben Pollan
Find the right path of the system commands looking into /sbin, /usr/sbin and /usr/local/sbin - Resolves: #254
2019-11-07[bug] fix typo on bitmask-rootRuben Pollan
2019-08-16[pkg] add helpers to repo, generate hooks in snapKali Kaneko (leap communications)