Quentin McGaw
c73369e11c
chore(constants): remove and move constant paths
...
- Remove unused paths
- Move paths to inline constants if used only once
2022-02-06 19:59:07 +00:00
Quentin McGaw
ea143c0c9a
feat(vpn): VPN_ENDPOINT_PORT
...
- Deprecate `OPENVPN_PORT`
- Deprecate `WIREGUARD_ENDPOINT_PORT`
2022-01-28 00:10:23 +00:00
Quentin McGaw
7a8f5f53d5
feat(openvpn): OPENVPN_PROCESS_USER and deprecates OPENVPN_ROOT
2022-01-27 23:34:19 +00:00
Quentin McGaw
7d824a5179
chore(settings): refactor settings processing ( #756 )
...
- Better settings tree structure logged using `qdm12/gotree`
- Read settings from environment variables, then files, then secret files
- Settings methods to default them, merge them and override them
- `DNS_PLAINTEXT_ADDRESS` default changed to `127.0.0.1` to use DoT. Warning added if set to something else.
- `HTTPPROXY_LISTENING_ADDRESS` instead of `HTTPPROXY_PORT` (with retro-compatibility)
2022-01-06 06:40:23 -05:00
Quentin McGaw
8dc54a7c44
feat(privatevpn): support OPENVPN_PORT
2021-11-17 22:32:18 +00:00
Quentin McGaw
8f080c537b
fix(privatevpn): openvpn configuration values
2021-11-17 22:26:18 +00:00
Quentin McGaw (desktop)
dc674014ff
Fix: vyprvpn: openvpn comp-lzo option
2021-10-14 19:55:48 +00:00
Quentin McGaw (desktop)
8cc2983318
Fix: NordVPN: Re-add comp-lzo option
2021-10-13 00:04:51 +00:00
Quentin McGaw (desktop)
ca975b1c01
Feat: multiple OpenVPN ciphers for negotiation
...
- Perfect privacy to accept AES-256-CBC and AES-256-GCM
- Cyberghost default cipher set to AES-256-GCM
- `OPENVPN_CIPHER` accept comma separated cipher values
- Use `ncp-ciphers` for OpenVPN 2.4
2021-10-05 20:36:23 +00:00
Quentin McGaw
e0e3ca3832
Feat: Perfect privacy support ( #606 )
2021-10-05 10:44:15 -07:00
Quentin McGaw (desktop)
62a6016882
Fix: FastestVPN new OpenVPN config
...
- Add required `comp-lzo`
- Add `reneg-sec 0` to match their config
- Do not filter `auth-token`
- Set UDP options only when using UDP
2021-09-28 13:52:07 +00:00
Quentin McGaw
985cf7b7dd
Feat: ExpressVPN support ( #623 )
2021-09-23 10:19:30 -07:00
Quentin McGaw (desktop)
cf95692b93
Maint: package local narrow Logger interfaces
2021-09-23 17:06:09 +00:00
Quentin McGaw
d8e008606f
Feat: WeVPN support ( #591 )
2021-09-23 07:58:13 -07:00
Quentin McGaw (desktop)
f9aadeef1c
Maint: Remove CYBERGHOST_GROUP (change)
...
- It does not make any sense with newer server data
- It was to be deprecated anyway
2021-09-23 13:54:24 +00:00
Quentin McGaw (desktop)
625de1c834
Maint: migrate Cyberghost REGION to COUNTRY
2021-09-23 13:28:32 +00:00
Quentin McGaw (desktop)
6bcbaf085d
Maint: remove NordVPN SERVER_NAME filter
...
- Filter was not effective
- Is to be deprecated in v4 anyway
- Bump NordVPN server model version to `3`
- Remove `Name` field from NordVPN server model
2021-09-21 23:56:29 +00:00
Quentin McGaw (desktop)
81bf83db13
Maint: remove disable-occ from PIA (match Wiki)
2021-09-16 20:32:34 +00:00
Quentin McGaw (desktop)
80f25c34e5
Hotfix: default cyberghost cipher to aes-128-gcm
2021-09-15 12:54:36 +00:00
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)
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)
145da0b21d
Maint: rename wireguard CustomPort
2021-09-10 19:07:14 +00:00
Quentin McGaw (desktop)
61afdce788
Hotfix: Wireguard WIREGUARD_ADDRESSES setting
2021-08-28 20:59:39 +00:00
Quentin McGaw (desktop)
119cac5a67
Feat: OPENVPN_TARGET_IP overrides IP
...
- Check target IP matches a server for Wireguard since we need the public key
- Streamline connection picking for all providers
2021-08-28 19:07:44 +00:00
Quentin McGaw (desktop)
c6fedd9214
Feat: support csv addresses in WIREGUARD_ADDRESS
2021-08-28 18:43:23 +00:00
Quentin McGaw (desktop)
29d92fd307
Fix: Surfshark REGION retro-compatibility
2021-08-28 18:14:21 +00:00
Quentin McGaw (desktop)
3863cc439e
Maint: internal/storage rework
...
- No more global variables
- Inject merged servers to configuration package
- Fix #566 : configuration parsing to use persisted servers.json
- Move server data files from `internal/constants` to `internal/storage`
2021-08-27 19:10:03 +00:00