Quentin McGaw (desktop)
dc6171185e
Maint: add more linters to golangci-lint
2021-09-14 19:26:46 +00:00
Quentin McGaw (desktop)
f7e4331e93
Fix: PureVPN remove AES-256-CBC cipher
2021-09-14 15:47:06 +00:00
Quentin McGaw (desktop)
1340511b64
Maint: re-order OpenVPN options
2021-09-14 15:46:40 +00:00
Quentin McGaw (desktop)
c3078f84e8
Maint: OpenVPN option: remove all ping-* options
...
- Use the built-in healthcheck vpn restart mechanism instead
- Restarting with `ping-restart` or `ping-exit` would only restart with the same `remote` connection
- Specify `ping` options as VPN specific to ensure the server doesn't disconnect us
2021-09-14 15:23:56 +00:00
Quentin McGaw (desktop)
9f65157a0d
Maint: OpenVPN: add explicit-exit-notify for UDP
2021-09-14 15:13:40 +00:00
Quentin McGaw (desktop)
89166cdabf
Maint: OpenVPN: PIA: add tls-exit option
2021-09-14 15:09:22 +00:00
Quentin McGaw (desktop)
b872973e8b
Maint: OpenVPN option tls-client removed
...
- It's redundant with `client` option
- Affects FastestVPN
2021-09-14 15:04:50 +00:00
Quentin McGaw (desktop)
2000e72357
Maint: OpenVPN option: remove tun-mtu 1500
...
- Since it defaults to `1500`
- Affects FastestVPN
- Affects NordVPN
- Affects ProtonVPN
- Affects Surfshark
- Affects Torguard
2021-09-14 14:59:04 +00:00
Quentin McGaw (desktop)
836e53642d
Maint: OpenVPN option keepalive replaced by ping options
2021-09-14 14:57:31 +00:00
Quentin McGaw (desktop)
af3f882bb8
Maint: OpenVPN: only add persist-key when running without root
2021-09-14 14:55:39 +00:00
Quentin McGaw (desktop)
2ab05b9350
Maint: OpenVPN: only add persist-tun when running without root
2021-09-14 14:54:59 +00:00
Quentin McGaw (desktop)
1022eb8a6e
Maint: remove OpenVPN option route-method
...
- Unneeded unless running on Windows
- Affects PureVPN
2021-09-14 14:49:02 +00:00
Quentin McGaw (desktop)
15fe62de32
Maint: remove OpenVPN route-delay option
...
- Affects Cyberghost
- Affects PureVPN
2021-09-14 14:48:14 +00:00
Quentin McGaw (desktop)
83d87f83f9
Maint: remove useless OpenVPN ping-timer-rem
2021-09-14 14:47:27 +00:00
Quentin McGaw (desktop)
76a0c1f6c4
Fix: OpenVPN remove compression options (security)
...
- Affects FastestVPN
- Affects Hide My Ass
- Affects IP Vanish
- Affects IVPN
- Affects NordVPN
- Affects PrivateVPN
- Affects ProtonVPN
- Affects VPN Unlimited
- Affects VyprVPN
2021-09-14 14:45:30 +00:00
Quentin McGaw (desktop)
a1588302a7
Change: Windscribe: OpenVPN cipher aes-256-gcm
2021-09-14 13:22:43 +00:00
Quentin McGaw (desktop)
91ce790b6b
Fix: OpenVPN custom: do not deduplicate lines
...
- Remove case by case lines to avoid duplicates
- Do not deduplicate all lines
2021-09-14 12:32:15 +00:00
Quentin McGaw (desktop)
5d3982c2d2
Docs: update Wireguard support list in readme
2021-09-13 20:23:16 +00:00
Quentin McGaw (desktop)
2cf7f7b268
Maint: WIREGUARD_PORT to WIREGUARD_ENDPOINT_PORT
2021-09-13 20:06:47 +00:00
Quentin McGaw (desktop)
8645d978ba
Feat: VPNSP=custom for Wireguard
...
- `WIREGUARD_PUBLIC_KEY` variable
- `WIREGUARD_ENDPOINT_IP` variable
2021-09-13 19:33:04 +00:00
Quentin McGaw (desktop)
cc18b158f4
Maint: remove all script-security OpenVPN options
...
- Affects Cyberghost
- Affects Mullvad
- Affects PureVPN
- Affects Surfshark
- Affects Torguard
- Affects Windscribe
2021-09-13 16:05:14 +00:00
Quentin McGaw (desktop)
0730b6db6e
Maint: remove ncp-disable deprecated option
...
- Affects Cyberghost
- Affects PIA
- Affects Torguard
- Affects Windscribe
2021-09-13 15:59:33 +00:00
Quentin McGaw (desktop)
3d2a360401
Fix: remove OpenVPN compression (PIA, torguard)
2021-09-13 15:56:25 +00:00
Quentin McGaw (desktop)
0c60dab384
Maint: remove deprecated keysize OpenVPN option
2021-09-13 15:55:16 +00:00
Quentin McGaw (desktop)
f5f0ad7f28
Maint: remove deprecated tun-ipv6 option
2021-09-13 15:54:01 +00:00
Quentin McGaw
f807f756eb
VPNSP value custom for OpenVPN custom config files (#621 )
...
- Retro-compatibility: `OPENVPN_CUSTOM_CONFIG` set implies `VPNSP=custom`
- Change: `up` and `down` options are not filtered out
- Change: `OPENVPN_INTERFACE` overrides the network interface defined in the configuration file
- Change: `PORT` overrides any port found in the configuration file
- Feat: config file is read when building the OpenVPN configuration, so it's effectively reloaded on VPN restarts
- Feat: extract values from custom file at start to log out valid settings
- Maint: `internal/openvpn/extract` package instead of `internal/openvpn/custom` package
- Maint: All providers' `BuildConf` method return an error
- Maint: rename `CustomConfig` to `ConfFile` in Settings structures
2021-09-13 08:30:14 -07:00
Quentin McGaw (desktop)
11af6c10f1
HotFix: use newer HEALTH variables in Dockerfile
2021-09-13 01:30:37 +00:00
Quentin McGaw (desktop)
40342619e7
Maint: dynamically set allowed VPN input ports
...
- Feat: allow to change VPN type at runtime
- Feat: allow to change interface name at runtime
- Maint: Add cleanup method to cleanup VPN loop on a vpn shutdown
- Change: allow VPN inputs ports only when tunnel is up
2021-09-13 00:50:20 +00:00
Quentin McGaw (desktop)
19bf62c21f
Fix: set non block on TUN device
2021-09-12 13:32:50 +00:00
Quentin McGaw (desktop)
2ea00d149f
Feat: adapt logger prefix to VPN used
...
- `openvpn: ` for OpenVPN
- `wireguard: ` for Wireguard
2021-09-12 13:27:30 +00:00
Quentin McGaw (desktop)
cc677bde93
Maint: change default ping address to github.com to test DNS
2021-09-11 22:27:32 +00:00
Quentin McGaw (desktop)
6627cda96c
Feat: HEALTH_ADDRESS_TO_PING variable
...
- Defaults to `1.1.1.1`
- Add more Ping integration tests with different addresses
- Add unit test pinging 127.0.0.1
- Add comment explaining why we need to use ICMP instead of UDP
2021-09-11 22:22:55 +00:00
Quentin McGaw (desktop)
cade2732b0
Maint: improve internal/configuration/health_test.go unit test
2021-09-11 22:14:37 +00:00
Quentin McGaw (desktop)
541a4a3271
Feat: healthcheck uses ping instead of DNS
2021-09-11 21:49:46 +00:00
Quentin McGaw (desktop)
0eccd068e5
Maint: rename health OpenVPN names to VPN
...
- `HEALTH_OPENVPN_DURATION_INITIAL` renamed to `HEALTH_VPN_DURATION_INITIAL` with retro-compatiblity
- `HEALTH_OPENVPN_DURATION_ADDITION` renamed to `HEALTH_VPN_DURATION_ADDITION` with retro-compatiblity
2021-09-11 21:04:21 +00:00
Quentin McGaw (desktop)
87f4b9e422
Docs: update maintenance document
2021-09-11 15:29:29 +00:00
Quentin McGaw (desktop)
bcaf2e42fd
Maint: re-order Dockerfile environment variables
2021-09-11 15:24:00 +00:00
Quentin McGaw (desktop)
d39201f9b3
Fix: public IP loop deadlock
2021-09-10 22:54:02 +00:00
Quentin McGaw (desktop)
8ac2a816c3
Fix: close HTTP client connections when tunnel comes up
2021-09-10 22:53:05 +00:00
Quentin McGaw (desktop)
344f1bf9ee
Docs: add wireguard in top description
2021-09-10 22:18:29 +00:00
Quentin McGaw (desktop)
f0a006fc43
Docs: add fix the unraid template link
2021-09-10 21:11:08 +00:00
Quentin McGaw (desktop)
145da0b21d
Maint: rename wireguard CustomPort
2021-09-10 19:07:14 +00:00
Quentin McGaw (desktop)
094de89a3e
Fix: PIA_ENCRYPTION default value outside Docker
...
- Defaults to `strong` instead of strong certificate string
- No impact on Docker images since variable is set to `strong` in Dockerfile
- Only read `PIA_ENCRYPTION` if service provider is PIA
2021-09-09 21:36:14 +00:00
Quentin McGaw (desktop)
65ace12def
Maint: internal/openvpn/parse package
...
- Parse PEM key data for Cyberghost and VPNUnlimited
- Add more unit tests
2021-09-08 16:40:19 +00:00
Quentin McGaw (desktop)
9afe455635
Fix: missing status code check for Windscribe API
2021-09-08 16:09:32 +00:00
Quentin McGaw (desktop)
45ce422a89
Maint: use type aliases in internal/netlink
2021-09-07 02:35:39 +00:00
Quentin McGaw (desktop)
4a0738cd49
Fix: repo servers.json path
2021-09-06 13:41:45 +00:00
Quentin McGaw (desktop)
6b6caa435f
Fix: clear IP data when VPN is stopped
v3.24.0
2021-09-06 13:28:05 +00:00
Quentin McGaw (desktop)
f9cb71027c
Feat: location data at /v1/publicip/ip
2021-09-05 22:54:10 +00:00
Quentin McGaw (desktop)
82ac568ee3
Fix: wireguard cleanup preventing restarts
2021-09-04 22:29:04 +00:00