- Apr 25, 2024
-
-
Pea Nut authored
- return error if no ping results are there - use ping.New instead of ping.NewPinger (that already sends a ping) - improve logging a bit - fix bitmaskcfg cli tool
-
- Apr 11, 2024
- Apr 09, 2024
- Apr 03, 2024
-
-
Pea Nut authored
-
Pea Nut authored
Issues were reported by golangci-lint run --path-prefix=./ --timeout=5m
-
Pea Nut authored
This currently does not work, as the menshen container fails to start (extra TODO)
-
Pea Nut authored
-
Pea Nut authored
Filtering is now also possible
-
Pea Nut authored
-
Pea Nut authored
-
Pea Nut authored
-
Pea Nut authored
-
Pea Nut authored
-
Pea Nut authored
-
Pea Nut authored
-
Pea Nut authored
-
Pea Nut authored
- refactor getOpenVPNCert - refactor getGateways - remove GatewaysForLocation (just use getGateways with filter) - removed Locations function - rewrite proxy - didn't throw an error for invalid input before - now a bit more generic: also support https proxy TODO: split /service endpoint - see comments in the code
-
Pea Nut authored
-
Pea Nut authored
- renamed to getService - menshen endpoint and functions should be renamed (this endpoint is only for backwards compatibilty I think) - use only one function: fetch and return data instead of storing it in an internal variable. This makes things easier and more intuitive - add test - the command line tools were not fixed and are broken. For the current state, it makes more sense to concentrate on api design and client code
-
Pea Nut authored
-
Pea Nut authored
-
Pea Nut authored
-
- Mar 28, 2024
-
-
Pea Nut authored
- add sane default dns provider - add http timeout - add comment for ssl verification - add proper logging - remove option to add custom resolver (not used/needed) - add test Test run if the first two dns servers are dropped by firewall : ``` pea@peabox:bootstrap go test -count=1 -v ./... === RUN TestDoh 10:26AM DBG Selected DoH provider dnsServer=208.67.222.222 10:26AM WRN Could not resolve host with DNS over HTTPs error="Post \"https://208.67.222.222/dns-query\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)" domain=heise.de resolver=208.67.222.222 10:26AM DBG Selected DoH provider dnsServer=9.9.9.9 10:26AM WRN Could not resolve host with DNS over HTTPs error="Post \"https://9.9.9.9/dns-query\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)" domain=heise.de resolver=9.9.9.9 10:26AM DBG Selected DoH provider dnsServer=dns.mullvad.net 10:26AM INF Got dns ip=193.99.144.80 --- PASS: TestDoh (30.16s) PASS ok 0xacab.org/leap/bitmask-core/pkg/bootstrap 30.172s ```
-
- Mar 27, 2024
-
-
cyberta authored
Add support to specify API port + if we want to use TLS Closes #2 See merge request leap/bitmask-core!4
-
- Mar 25, 2024
- Feb 22, 2024
-
-
Pea Nut authored
-
- Feb 19, 2024
- Feb 15, 2024