Quentin McGaw (desktop)
b23eb8f29d
Maint: prefer empty string comparison
2021-07-23 17:39:38 +00:00
Quentin McGaw (desktop)
3c44214d01
Maint: pass only single strings to logger methods
...
- Do not assume formatting from logger's interface
- Allow to change golibs in the future to accept only strings for logger methods
2021-07-23 17:36:08 +00:00
Quentin McGaw (desktop)
21f4cf7ab5
Maint: do not mock os functions
...
- Use filepaths with /tmp for tests instead
- Only mock functions where filepath can't be specified such as user.Lookup
2021-07-23 16:06:19 +00:00
Quentin McGaw (desktop)
e94684aa39
Fix: version diff for VPN server information
2021-07-23 02:51:49 +00:00
Quentin McGaw (desktop)
a34cc48197
Feat: update all servers for all providers
2021-07-23 02:47:29 +00:00
Quentin McGaw (desktop)
b262d91ccc
Feat: add -all flag to update all VPN servers
2021-07-23 02:47:04 +00:00
Quentin McGaw (desktop)
39aa983771
Maint: upgrade golibs and env error wrapping
2021-07-23 02:34:15 +00:00
Quentin McGaw (desktop)
5b9887dade
Maint: use qdm12/gosplash
2021-07-22 20:56:47 +00:00
Quentin McGaw (desktop)
c33402ce66
Feat: HEALTH_SERVER_ADDRESS
2021-07-22 20:45:17 +00:00
Quentin McGaw (desktop)
6f58f84151
Maint: improve health code
2021-07-22 20:18:52 +00:00
Quentin McGaw (desktop)
6acb7caf5b
Feat: Env variables to set health timeouts
...
- HEALTH_OPENVPN_DURATION_INITIAL
- HEALTH_OPENVPN_DURATION_ADDITION
2021-07-22 20:13:20 +00:00
Quentin McGaw (desktop)
8beff34cca
Maint: remove debug line in health server
2021-07-22 13:43:19 +00:00
TJJP
478e0f74f7
Fix: Windscribe Openvpn config ( #528 )
...
See https://blog.windscribe.com/openvpn-security-improvements-and-changes-7b04ea49222
> OpenVPN compression phaseout is in progress and will be completed by August 3rd 2021.
If you downloaded configs from this page before you saw this message, you need to re-download them now, or simply remove the compress or comp-lzo flags from the config that you downloaded after July 20th 2021.
2021-07-21 12:48:10 -04:00
Quentin McGaw (desktop)
82533c1453
Maint: improve servers data embedding
...
- use embed.FS to have immutable data
- use sync.Once to parse only once without data races
2021-07-20 19:01:49 +00:00
Quentin McGaw (desktop)
1e0bfc3b0c
Maint: rename BUILD_DATE to CREATED
2021-07-20 15:28:02 +00:00
Quentin McGaw (desktop)
da4d528463
Maint: hardcoded data in JSON embedded file
...
- Server information, versions and timestamps together in internal/constants/servers.json
- breaking change: updater cli uses -enduser instead of -file
- breaking change: updater cli uses -maintainer instead of -stdout
- Fix: replace special last a character with 'a' from Bogota for PrivateVPN
- Feat: do not write out servers and timestamp if no change was detected
2021-07-20 03:01:26 +00:00
Quentin McGaw (desktop)
394abbbe35
Feat: specify Openvpn flags with OPENVPN_FLAGS
2021-07-19 15:10:53 +00:00
Quentin McGaw (desktop)
fd39bc8518
Maint: upgrade inet.af/netaddr to 2021-07-18
2021-07-19 13:28:13 +00:00
Quentin McGaw (desktop)
af358f777b
Feat: pull filter ipv6 if OPENVPN_IPV6 is off
2021-07-19 01:46:20 +00:00
Quentin McGaw (desktop)
c0d27b4bfc
Maint: rework openvpn restart on unhealthy
2021-07-18 03:17:48 +00:00
Quentin McGaw (desktop)
7e50c95823
Maint: minor DNS loop fixes and changes
2021-07-16 21:21:09 +00:00
Quentin McGaw (desktop)
39068dda17
Maint: rework Openvpn run loop
2021-07-16 21:20:34 +00:00
Quentin McGaw (desktop)
8185979ca4
Fix: deadlock on dns shutdown when starting up
2021-07-16 20:11:57 +00:00
Quentin McGaw (desktop)
7c44188130
Fix: controlled interrupt exit for subprograms
...
- Openvpn and Unbound do not receive OS signals
- Openvpn and Unbound run in a different process group than the entrypoint
- Openvpn and Unbound are gracefully shutdown by the entrypoint
- Update golibs with a modified command package
- Update dns to v1.9.0 where Unbound is luanched in its own group
2021-07-16 20:04:17 +00:00
Quentin McGaw (desktop)
c2d527bbd3
Fix: openvpn run loop panic about stdout streams
2021-07-16 19:02:04 +00:00
Quentin McGaw (desktop)
ac3ff095a1
Maint: rework DNS run loop
...
- Fix fragile user triggered logic
- Simplify state
- Lock loop when crashed
2021-07-16 19:00:56 +00:00
Quentin McGaw (desktop)
0ed738cd61
Maint: make all set status context aware
2021-07-16 00:49:59 +00:00
Quentin McGaw (desktop)
6bbb7c8f7d
Maint: remove outdated Auth log warning about PIA
2021-07-16 00:49:50 +00:00
Quentin McGaw (desktop)
bb2b8b4514
Fix: events routing exit when gluetun stops at start
2021-07-15 22:42:58 +00:00
Quentin McGaw (desktop)
679be6e1bd
Feat: clean suffix new lines for credentials
2021-07-06 14:37:59 +00:00
Quentin McGaw (desktop)
92212fdd11
Fix: Cert validation for IPVanish
2021-07-01 18:28:24 +00:00
Quentin McGaw (desktop)
a6fb1ad9ef
Feat: update IPVanish server information
2021-07-01 18:28:12 +00:00
Quentin McGaw (desktop)
87d712fbd7
Feature: update ProtonVPN server information
2021-06-28 15:30:35 +00:00
Quentin McGaw (desktop)
3f7ccc6c49
Feature: improve Cyberghost updater
...
- Waits up to 20s for resolutions
- Update server information and timestamp
2021-06-21 20:29:55 +00:00
Quentin McGaw (desktop)
ed828bc733
Hotfix: VPN Unlimited variable choices
2021-06-21 13:32:03 +00:00
Quentin McGaw (desktop)
266596af68
Fix errors introduced with golangci-lint 1.41.1
2021-06-20 16:39:38 +00:00
Quentin McGaw
2c77b73ebc
IPVanish support ( #475 )
...
- Fix #410 and #416
2021-06-20 09:21:48 -07:00
Quentin McGaw
d81d4bbda3
VPN Unlimited support ( #499 )
...
- Fixes #420
- Revert to docker/build-push-action@v2.4.0
2021-06-20 09:18:03 -07:00
Quentin McGaw (desktop)
400affe429
Maintenance: add revive linter
2021-06-20 16:12:39 +00:00
Quentin McGaw (desktop)
208374fc54
Fix: Use name prefix for TLS check for IVPN
2021-06-19 16:34:50 +00:00
Quentin McGaw (desktop)
535a136a27
Feature: add IVPN Bulgaria and Spain servers
2021-06-19 16:34:36 +00:00
Quentin McGaw (desktop)
582c6d1c43
Fix: only use and write auth file if user is set
...
- Apply to custom openvpn configuration without username
2021-06-14 14:25:37 +00:00
Quentin McGaw (desktop)
c63ae3f3af
Fix: custom openvpn config settings log
2021-06-14 14:24:38 +00:00
Quentin McGaw (desktop)
4c0df96a95
Maintenance: use github.com/qdm12/goshutdown
2021-06-10 15:03:47 +00:00
Quentin McGaw (desktop)
05c6b9379a
Maintenance: prevent exit race condition for loops
2021-06-10 14:13:08 +00:00
Quentin McGaw (desktop)
fb7fdcd925
Fix: change PureVPN default cipher to AES-256-GCM
2021-06-08 00:24:46 +00:00
Quentin McGaw (desktop)
a402d9135e
Fix: remote line for custom OpenVPN config
2021-06-07 19:46:21 +00:00
Quentin McGaw (desktop)
3d2c56d9ee
Fix: custom cipher for custom files on Openvpn 2.5
2021-06-07 19:45:19 +00:00
Quentin McGaw (desktop)
f9308e6fed
Remove dependency on github.com/kyokomi/emoji
2021-06-06 15:38:49 +00:00
Quentin McGaw (desktop)
ad1981fff6
Maintenance: update PureVPN server information
2021-06-02 14:32:15 +00:00