- Jul 22, 2024
- Jul 21, 2024
-
- Jul 17, 2024
-
- Jul 13, 2024
-
-
this fixes a bug where StartFirewall is called with an empty 'gateways' slice leading to blocking outgoing connections to the openvpn gateway in startOpenvpn func's global scope there's a 'gateways' var which is passed to FirewallStart and the gateways are added to the firewall's allow list of IPs, this was re-declared in the code branch for non-private bridge which is out of scope where FirewallStart is called, leading to an empty 'gateways' slice being passed to it
- Jul 10, 2024
-
-
After removing `Bitmask.ReloadFirewall()` there are no calls to `b.api.GetAllGateways()` where the calling function actually need the gateways as return values. So I renamed the function to FetchAllGateways. The function now only returns an error (instead of `([]bonafide.Gateway, error)`). This simplifies the code of v5 a bit, as we get rid of yet another function/abstraction. In v3 `gatewayPool.getAll()` now also returns just an error.
-
This fixes a small logic error. Each gateway can be multiple times in p.recommened (for each transport). If a location was selected manually, each gateway was added twice to the returned list. The returned list is the list of gateways we will connect to. For more information, please check: leap/bitmask-vpn!213
- Jul 05, 2024
-
- Jul 04, 2024
-
- Jun 27, 2024
-
- Jun 21, 2024
-
-
jkito authored
currently the check expects only RSA private keys but newer menshen could serve other keys as well this updates the check to only look for 'PRIVATE KEY' in the preamble instead of RSA PRIVATE KEY
- Jun 20, 2024
-
-
jkito authored
the test is failing with the following error: ``` --- FAIL: TestLatency (0.00s) integration_test.go:65: Error Trace: /builds/jkito/bitmask-vpn/pkg/vpn/menshen/integration_test.go:65 Error: Received unexpected error: socket: permission denied Test: TestLatency Messages: Could not calc latency FAIL FAIL 0xacab.org/leap/bitmask-vpn/pkg/vpn/menshen 0.029s ``` it is beacause of missing permissons, the pro-bing library attempts to send an "unprivileged" ping via UDP. On Linux, this must be enabled with a sysctl command
-
jkito authored
this removes the go generate way of generating the pkg/config/version.go file and uses build time ld flags to set the version when building from git or uses .gitattributes to set it during git archive
-
- Jun 19, 2024
-