Quentin McGaw (desktop)
10b270f742
Maint: remove routing from firewall configurator
2021-07-26 16:17:01 +00:00
Quentin McGaw (desktop)
7a222923c7
Maint: use narrower interfaces for firewall config
2021-07-26 16:07:50 +00:00
Quentin McGaw (desktop)
430512dd27
Maint: openvpn configurator interface composition
2021-07-26 16:03:04 +00:00
Quentin McGaw (desktop)
d5ba15c23b
Maint: improve http proxy loop Run
2021-07-26 01:42:37 +00:00
Quentin McGaw (desktop)
037b43ee10
Maint: add completed status to loopstate
2021-07-26 01:38:49 +00:00
Quentin McGaw (desktop)
ab910403c6
Fix: public IP loop being stuck
2021-07-26 01:35:43 +00:00
Quentin McGaw (laptop)
8105437815
Maint: add missing interface compilation checks
2021-07-24 19:54:15 +00:00
Quentin McGaw (laptop)
7b20cec035
Maint: rename SettingsGetterSetter to SettingsGetSetter
2021-07-24 19:49:50 +00:00
Quentin McGaw (laptop)
8d512852a4
Maint: rework publicip package
...
- Use loopstate package
- Loop interface composition
- Return concrete struct from constructors
- Split into more files
- Add publicip/state package
2021-07-24 19:49:11 +00:00
Quentin McGaw (laptop)
c8ad9b942a
Maint: openvpn loop is a concrete struct
2021-07-24 19:14:49 +00:00
Quentin McGaw (laptop)
8153d4bb2a
Maint: better openvpn loop interface composition
2021-07-24 18:56:42 +00:00
Quentin McGaw (laptop)
849dfee200
Maint: http proxy return concrete Loop struct
2021-07-24 18:52:19 +00:00
Quentin McGaw (laptop)
85540d96b6
Maint: interface composition for HTTP proxy loop
...
- Change SetStatus to ApplyStatus
- Add Runner interface
- Add SettingsGetterSetter alias to state.SettingsGetterSetter
2021-07-24 18:50:17 +00:00
Quentin McGaw (laptop)
7479974d79
Maint: dns package state rework
...
- Interface composition with loopstate interfaces
- Use loopstate.Manager
- Create dns/state package for handling settings
2021-07-24 18:34:55 +00:00
Quentin McGaw (laptop)
3f1fb52fcb
Maint: upgrade qdm12 dependencies
...
- Upgrade qdm12/golibs
- Upgrade qdm12/dns to v1.11.0
2021-07-24 17:59:22 +00:00
Quentin McGaw (desktop)
7e343d7006
Maint: use loopstate for httpproxy
2021-07-23 20:47:36 +00:00
Quentin McGaw (desktop)
72a5e1f695
Maint: openvpn package split files
2021-07-23 20:46:57 +00:00
Quentin McGaw (desktop)
253310bd1a
Maint: loopstate package used in Openvpn state
2021-07-23 20:41:45 +00:00
Quentin McGaw (desktop)
fa6ccb08bd
Fix: openvpn loop: unlock read mutex for GetSettingsAndServers
2021-07-23 20:13:02 +00:00
Quentin McGaw (desktop)
762507855e
Maint: split httpproxy files
2021-07-23 19:25:48 +00:00
Quentin McGaw (desktop)
54610866f2
Maint: healthcheck package interface rework
...
- return concrete struct type
- Add compilation checks for implementations
2021-07-23 19:22:41 +00:00
Quentin McGaw (desktop)
c39ff5c233
Maint: move duration formatting to qdm12/golibs
2021-07-23 19:17:23 +00:00
Quentin McGaw (desktop)
2ddc784965
Maint: firewall package interface rework
...
- return concrete struct type
- split interface is sub-interfaces
2021-07-23 19:12:16 +00:00
Quentin McGaw (desktop)
10aabe8375
Hotfix: cli, alpine and dns interface name changes
2021-07-23 19:11:49 +00:00
Quentin McGaw (desktop)
122647b39d
Maint: pass network values to firewall constructor
2021-07-23 19:04:17 +00:00
Quentin McGaw (desktop)
02492c34a7
Maint: dns package interface rework
...
- return concrete struct type
- split interface is sub-interfaces
2021-07-23 18:57:29 +00:00
Quentin McGaw (desktop)
9436f604ba
Maint: split Go files in dns package
2021-07-23 18:55:53 +00:00
Quentin McGaw (desktop)
d9ca0deb08
Maint: cli package interface rework
...
- return concrete struct type
- split interface is sub-interfaces
2021-07-23 18:52:38 +00:00
Quentin McGaw (desktop)
0b985e8c35
Maint: alpine package interface rework
...
- return concrete struct type
- split interface is sub-interfaces
2021-07-23 18:51:51 +00:00
Quentin McGaw (desktop)
c5d92ae02c
Maint: inject Commander to openvpn and firewall
2021-07-23 18:25:30 +00:00
Quentin McGaw (desktop)
94b60d9f70
Maint: firewall and routing use logger.Debug
...
- Remove SetVerbose and SetDebug from both
- Log routing teardown
- Default logging level set to info
2021-07-23 18:20:18 +00:00
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)
b7bd23ab60
Fix: buildDate renamed to created in Dockerfile
2021-07-20 23:10:33 +00: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)
e0735b57ce
Maint: build all images fully in parallel
2021-07-20 15:47:28 +00:00
Quentin McGaw (desktop)
1e0bfc3b0c
Maint: rename BUILD_DATE to CREATED
2021-07-20 15:28:02 +00:00
Quentin McGaw (desktop)
cb0e89a38e
Maint: use curly braces around BUILDPLATFORM
2021-07-20 15:27:16 +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