Quentin McGaw
5ffe8555ba
chore(lint): upgrade golangci-lint from v1.44.2 to v1.46.2
...
- Add linter `execinquery`
- Add linter `nosprintfhostport`
2022-05-27 00:52:25 +00:00
Quentin McGaw
78ccbb21cd
change(servers.json): change provider names
...
- From `pia` to `private internet access`
- From `perfectprivacy` to `perfect privacy`
- From `vpnunlimited` to `vpn unlimited`
- This is done to match string constants in the code for another refactor
- Reset each of these providers servers version to `1`.
2022-05-27 00:47:58 +00:00
Quentin McGaw
92dbe1ebad
chore(cli): refactor FormatServers to use provider strings
2022-05-08 19:05:36 +00:00
Quentin McGaw
2eec60cdd2
chore(custom): validate Openvpn file earlier
2022-05-07 19:33:21 +00:00
Quentin McGaw
da8c104ebd
chore(internal/provider/utils): unexport functions
2022-05-07 19:33:12 +00:00
Quentin McGaw
0ef7b66047
chore(internal/provider): GetConnection test
2022-05-07 19:33:05 +00:00
Quentin McGaw
e32d251cc1
hotfix(windscribe): OpenVPN certificate validation
v3.29.0
2022-05-07 07:05:24 +00:00
Quentin McGaw
9dd5e7bf1d
fix: PUID and PGID as 32 bit unsigned integers
2022-05-01 16:29:56 +00:00
Quentin McGaw
b6de6035f6
hotfix(nordvpn): use aes-256-cbc before GCM
2022-04-28 13:47:24 +00:00
Quentin McGaw
88ccaf0b83
feat(torguard): update servers data
2022-04-26 11:01:42 +00:00
Quentin McGaw
52c8bc075f
feat(nordvpn): update servers data
2022-04-26 11:01:05 +00:00
Quentin McGaw
2537cd5271
fix(port-forwarding): loop exit from vpn loop
2022-04-25 08:31:32 +00:00
Quentin McGaw
db91625de4
fix(pia): port forwarding certificate
...
- Do not use custom PIA certificate
- Only use OS certificates
- Update unit test
2022-04-25 08:31:27 +00:00
Quentin McGaw
df78386fbe
chore(ci): add codeql analysis
2022-04-23 12:30:15 -04:00
Quentin McGaw
a1d70f740a
fix(nordvpn): allow aes-256-gcm for Openvpn 2.4
2022-04-23 12:53:24 +00:00
Quentin McGaw
187f42277a
fix(pia): hide escaped url query values
2022-04-23 11:21:08 +00:00
Quentin McGaw
e1f89bb569
fix(health): HEALTH_VPN_DURATION_ADDITION
2022-04-23 11:09:24 +00:00
Quentin McGaw
1d94f8ab2b
chore(storage): remove unneeded VPN default
2022-04-23 11:09:04 +00:00
Quentin McGaw
045ecabb78
chore(updater): set vpn field for all providers
...
- Bump servers model versions for all providers except mullvad, ivpn, windscribe
- Do not leave `vpn` JSON field empty for any server
2022-04-23 11:08:59 +00:00
Quentin McGaw
e6c3cb078a
chore(storage): tcp and udp fields for all servers
...
- Updater code sets UDP and TCP compatibility for all providers
- Increase servers.json model versions for affected providers (mullvad, windscribe, privado, protonvpn, privatevpn)
- Remove retro-compatibility server defaults
- Update all affected providers servers data (mullvad, windscribe, privado, protonvpn, privatevpn)
2022-04-23 10:23:41 +00:00
Quentin McGaw
afa51b3ff6
hotfix(storage): servers json versions updated
2022-04-22 21:12:27 +00:00
Quentin McGaw
f9c80b2285
hotfix(privatevpn): add missing IP addresses
2022-04-22 21:03:38 +00:00
Quentin McGaw
fc5cf44b2c
fix(firewall): iptables detection improved
...
1. Try setting a dummy output rule
2. Remove the dummy output rule
3. Get the INPUT table policy
4. Set the INPUT table policy to its existing policy
2022-04-22 17:23:57 +00:00
Quentin McGaw
0c0f1663b1
chore: simplify provider GetConnection
2022-04-20 15:16:55 +00:00
Quentin McGaw
306d8494d6
hotfix(servers): assume UDP+TCP if not precised
2022-04-19 11:52:05 +00:00
Quentin McGaw
f5c00c3e2d
chore(filter): common filter for all providers
2022-04-18 17:08:31 +00:00
Quentin McGaw
ac9571c6b2
chore(storage): runtime defaults on servers data
...
- `openvpn` default VPN protocol for servers
- True UDP if VPN protocol is Wireguard
2022-04-18 12:08:26 +00:00
Quentin McGaw
934fafb64b
chore(constants): internal/constants/vpn package
2022-04-18 11:14:07 +00:00
Quentin McGaw
d51514015f
chore(storage): simplify reading of server file
2022-04-18 11:14:02 +00:00
Quentin McGaw
a9cfd16d53
chore(validation): uniformize server filters build
2022-04-18 07:27:00 +00:00
Quentin McGaw
1a6f26fa3b
feat(nordvpn): remove OpenVPN compression
2022-04-18 07:26:53 +00:00
Quentin McGaw
0dd723b29f
chore(provider): add safety connection count check
2022-04-17 16:23:53 +00:00
Quentin McGaw
7ad6fc8e73
docs(maintenance): update document
2022-04-17 16:21:21 +00:00
Quentin McGaw
31c7e6362b
chore(devcontainer): multiple changes and fixes
...
- Fix windows script sourcing
- Remove image name to avoid conflicts
- Bind mount normally without `:z`
- Install `htop`
2022-04-17 16:21:21 +00:00
Quentin McGaw
072b42d867
chore(v4): add v4 comments about server names
2022-04-17 16:21:21 +00:00
Quentin McGaw
5d66c193aa
chore(models): common Server & Servers for all providers ( #943 )
2022-04-17 16:21:19 +00:00
Quentin McGaw
aa729515b9
chore(models): streamline all server models IPs ( #942 )
...
- Use `IPs []net.IP` for all server models
- Use `ips` JSON field for all server models
- Merge IPv4 and IPv6 addresses together for Mullvad
2022-04-17 16:18:34 +00:00
Quentin McGaw
54b7e23974
chore(constants): internal/constants/providers
...
- New package to avoid package import cycles
2022-04-16 19:30:26 +00:00
Quentin McGaw
ad80e0c1ab
feat(protonvpn): update servers data
2022-04-16 17:52:53 +00:00
Quentin McGaw
5d7b278957
change(protonvpn): change server name JSON field from name to server_name
2022-04-16 17:51:15 +00:00
dependabot[bot]
678caaf6a0
Chore(deps): Bump docker/build-push-action from 2.9.0 to 2.10.0 ( #893 )
2022-04-15 12:23:38 -04:00
dependabot[bot]
7228cd7b12
Chore(deps): Bump github.com/breml/rootcerts from 0.2.2 to 0.2.3 ( #926 )
2022-04-15 12:22:55 -04:00
Martin Bjeldbak Madsen
7b598a3534
docs(readme): remove announcement ( #938 )
2022-04-15 12:22:30 -04:00
Quentin McGaw
9cdc9e9153
feat(pia): server data updated
2022-04-11 21:29:16 +00:00
Quentin McGaw
71ab0416b0
fix(iptables): use OUTPUT chain for test instead of INPUT
2022-04-11 21:05:12 +00:00
Quentin McGaw
10a13bc8a7
fix(health): change default target address to cloudflare.com:443
2022-04-11 20:21:15 +00:00
Mirco Ianese
be386a8e33
feat(fastestvpn): update servers data ( #923 )
2022-04-02 13:31:00 -04:00
Quentin McGaw
c33fb8bb97
fix(env): OPENVPN_FLAGS functionality
2022-03-31 20:49:01 +00:00
Quentin McGaw
20f20f051b
fix(firewall): iptables support detection
...
- Add dummy rule to `INPUT` to test for iptables support
- This may resolve #896
2022-03-30 09:03:25 +00:00
Quentin McGaw
179274ade0
feat(log): use github.com/qdm12/log library
2022-03-30 09:03:20 +00:00