Commit Graph

  • bd74879303 Maint: read all settings first Quentin McGaw (desktop) 2021-08-18 15:42:19 +00:00
  • da30ae287f Maint: decouple OpenVPN config writer from loop Quentin McGaw (desktop) 2021-08-18 15:35:07 +00:00
  • 6a545aa088 Maint: tun package to handle tun device operations - Moved from openvpn package to tun package - TUN check verifies Rdev value - TUN create - Inject as interface to main function - Add integration test - Clearer log message for end users if tun device does not exist - Remove unix package (unneeded for tests) - Remove tun file opening at the end of tun file creation - Do not mock unix.Mkdev (no OS operation) - Remove Tun operations from OpenVPN configurator Quentin McGaw (desktop) 2021-08-18 15:31:08 +00:00
  • 384a4bae3a Hotfix: PIA: encryption preset reading Quentin McGaw (desktop) 2021-08-17 19:35:57 +00:00
  • e65f924cd7 Maint: remove custom config readProvider constructor Quentin McGaw (desktop) 2021-08-17 17:53:13 +00:00
  • 9105b33e9f Maint: configuration Openvpn selection structure - Move network protocol from ServerSelection to OpenVPNSelection child - Move PIA encryption preset from ServerSelection to OpenVPNSelection child - Move custom port from ServerSelection to OpenVPNSelection child Quentin McGaw (desktop) 2021-08-17 16:54:22 +00:00
  • cc2235653a Maint: refactor VPN configuration structure - Paves the way for Wireguard - VPN struct contains Type, Openvpn and Provider configurations - OpenVPN specific options (e.g. client key) moved from Provider to Openvpn configuration struct - Move Provider configuration from OpenVPN configuration to VPN - HTTP control server returns only openvpn settings (not provider settings) Quentin McGaw (desktop) 2021-08-17 15:44:11 +00:00
  • a00de75f61 Maint: rename utility names to be Openvpn specific - GetTargetIPConnection to GetTargetIPOpenVPNConnection - PickRandomConnection to PickRandomOpenVPNConnection Quentin McGaw (desktop) 2021-08-17 14:08:53 +00:00
  • 836412b032 Maint: move routeReadyEvents to openvpn package Quentin McGaw (desktop) 2021-08-16 19:19:41 +00:00
  • ba16270059 Maint: context aware collectLines functions Quentin McGaw (desktop) 2021-08-16 19:19:33 +00:00
  • 2c73672e64 Fix: restore PIA error if region does not support port forwarding v3.22.0 Quentin McGaw (desktop) 2021-08-16 19:16:05 +00:00
  • 74b7c81195 Fix: apk-tools culnerability fix installation - Install apk-tools before using apk - Install latest apk-tools so it can be rebuilt in the future Quentin McGaw (desktop) 2021-08-09 14:49:45 +00:00
  • f569998c93 Fix: install latest apk-tools before using apk v3.21.1 Quentin McGaw (desktop) 2021-08-09 14:44:06 +00:00
  • 9877366c51 Fix: install latest apk-tools by default Quentin McGaw (desktop) 2021-08-09 14:43:46 +00:00
  • 61066e3896 Fix restart mutex unlocking for loops Quentin McGaw (desktop) 2021-08-09 14:38:15 +00:00
  • a021ff6b22 Fix: loopstate mutex unlocking - Fix #547 - Fix all run loops for restarts Quentin McGaw (desktop) 2021-08-09 14:35:55 +00:00
  • 6d1a90cac0 Fix: use apk-tools 2.12.7-r0 - valid for ppc64le - additional security fix Quentin McGaw (desktop) 2021-08-09 01:21:19 +00:00
  • 1f47c16102 Fix: windscribe: only get openvpn IP addresses Quentin McGaw (desktop) 2021-08-09 01:18:51 +00:00
  • abbcf60aed Fix: port forward get route, fixes #552 Quentin McGaw (desktop) 2021-08-01 15:01:28 +00:00
  • f339c882d7 Feat: updater cyberghost servers Quentin McGaw (desktop) 2021-07-31 22:38:18 +00:00
  • 982536e9e8 Fix & feat: Cyberghost server groups - Allow multiple comma separated values for CYBERGHOST_GROUP - Defaults to all UDP groups - If TCP is enabled, defaults to all TCP groups - Check groups specified match the protocol - Default Cyberghost group to empty - Adjust formatting and messages Quentin McGaw (desktop) 2021-07-31 14:53:34 +00:00
  • c17b351efb Fix: cyberghost: explicit-exit-notify only for UDP Quentin McGaw (desktop) 2021-07-31 14:02:02 +00:00
  • 130bebf2c6 Doc: add unraid template link to issue templates Quentin McGaw (desktop) 2021-07-30 19:48:42 +00:00
  • 83c4ad2e59 Hotfix: fix shadowsocks config parsing, refix #548 Quentin McGaw (desktop) 2021-07-29 13:50:40 +00:00
  • 0bcc6ed597 Fix: port forwarding deadlock bug, fix #547 Quentin McGaw (desktop) 2021-07-29 01:13:16 +00:00
  • c61f854edc Maint: upgrade ss-server to v0.3.0 - SHADOWSOCKS_PORT in retrocompatibility - SHADOWSOCKS_METHOD in retrocompatibility - SHADOWSOCKS_ADDRESS added - SHADOWSOCKS_CIPHER added - Shadowsocks config inherit from ss-server's Settings - Log adapter removed as no longer needed Quentin McGaw (desktop) 2021-07-29 00:48:46 +00:00
  • 2998cf5e48 Maint: port forwarding refactoring (#543) Quentin McGaw 2021-07-28 08:35:44 -07:00
  • c777f8d97d Feat: add verify-x509-name to Windscribe Openvpn config (#529) v3.21.0 Quentin McGaw 2021-07-28 07:18:08 -07:00
  • 7d4f5c8906 Fix: Alpine vulnerability with apk Quentin McGaw (desktop) 2021-07-27 19:45:23 +00:00
  • da39d07d48 Maint: log line fix for updater version diff Quentin McGaw (desktop) 2021-07-27 15:18:10 +00:00
  • b98f2456c0 Fix: deadlock for openvpn, dns and publicip loops Quentin McGaw (desktop) 2021-07-27 14:12:22 +00:00
  • 564cc2b0bc Maint: move misplaced writeOpenvpnConf in openvpn Quentin McGaw (desktop) 2021-07-26 16:30:51 +00:00
  • 49885c63c4 Maint: common no port forwarding implementation Quentin McGaw (desktop) 2021-07-26 16:29:40 +00:00
  • d7a6caa2ac Maint: routing interface composition Quentin McGaw (desktop) 2021-07-26 16:18:53 +00:00
  • 73c383fd65 Maint: remove routing configurator from Openvpn Loop Quentin McGaw (desktop) 2021-07-26 16:18:35 +00:00
  • 10b270f742 Maint: remove routing from firewall configurator Quentin McGaw (desktop) 2021-07-26 16:17:01 +00:00
  • 7a222923c7 Maint: use narrower interfaces for firewall config Quentin McGaw (desktop) 2021-07-26 16:07:50 +00:00
  • 430512dd27 Maint: openvpn configurator interface composition Quentin McGaw (desktop) 2021-07-26 16:03:04 +00:00
  • d5ba15c23b Maint: improve http proxy loop Run Quentin McGaw (desktop) 2021-07-26 01:42:37 +00:00
  • 037b43ee10 Maint: add completed status to loopstate Quentin McGaw (desktop) 2021-07-26 01:38:49 +00:00
  • ab910403c6 Fix: public IP loop being stuck Quentin McGaw (desktop) 2021-07-26 01:35:43 +00:00
  • 8105437815 Maint: add missing interface compilation checks Quentin McGaw (laptop) 2021-07-24 19:54:15 +00:00
  • 7b20cec035 Maint: rename SettingsGetterSetter to SettingsGetSetter Quentin McGaw (laptop) 2021-07-24 19:49:50 +00:00
  • 8d512852a4 Maint: rework publicip package - Use loopstate package - Loop interface composition - Return concrete struct from constructors - Split into more files - Add publicip/state package Quentin McGaw (laptop) 2021-07-24 19:49:11 +00:00
  • c8ad9b942a Maint: openvpn loop is a concrete struct Quentin McGaw (laptop) 2021-07-24 19:14:49 +00:00
  • 8153d4bb2a Maint: better openvpn loop interface composition Quentin McGaw (laptop) 2021-07-24 18:56:42 +00:00
  • 849dfee200 Maint: http proxy return concrete Loop struct Quentin McGaw (laptop) 2021-07-24 18:52:19 +00:00
  • 85540d96b6 Maint: interface composition for HTTP proxy loop - Change SetStatus to ApplyStatus - Add Runner interface - Add SettingsGetterSetter alias to state.SettingsGetterSetter Quentin McGaw (laptop) 2021-07-24 18:50:17 +00:00
  • 7479974d79 Maint: dns package state rework - Interface composition with loopstate interfaces - Use loopstate.Manager - Create dns/state package for handling settings Quentin McGaw (laptop) 2021-07-24 18:34:55 +00:00
  • 3f1fb52fcb Maint: upgrade qdm12 dependencies - Upgrade qdm12/golibs - Upgrade qdm12/dns to v1.11.0 Quentin McGaw (laptop) 2021-07-24 17:59:22 +00:00
  • 7e343d7006 Maint: use loopstate for httpproxy Quentin McGaw (desktop) 2021-07-23 20:47:36 +00:00
  • 72a5e1f695 Maint: openvpn package split files Quentin McGaw (desktop) 2021-07-23 20:46:57 +00:00
  • 253310bd1a Maint: loopstate package used in Openvpn state Quentin McGaw (desktop) 2021-07-23 20:41:45 +00:00
  • fa6ccb08bd Fix: openvpn loop: unlock read mutex for GetSettingsAndServers Quentin McGaw (desktop) 2021-07-23 20:13:02 +00:00
  • 762507855e Maint: split httpproxy files Quentin McGaw (desktop) 2021-07-23 19:25:48 +00:00
  • 54610866f2 Maint: healthcheck package interface rework - return concrete struct type - Add compilation checks for implementations Quentin McGaw (desktop) 2021-07-23 19:22:41 +00:00
  • c39ff5c233 Maint: move duration formatting to qdm12/golibs Quentin McGaw (desktop) 2021-07-23 19:17:23 +00:00
  • 2ddc784965 Maint: firewall package interface rework - return concrete struct type - split interface is sub-interfaces Quentin McGaw (desktop) 2021-07-23 19:12:16 +00:00
  • 10aabe8375 Hotfix: cli, alpine and dns interface name changes Quentin McGaw (desktop) 2021-07-23 19:11:49 +00:00
  • 122647b39d Maint: pass network values to firewall constructor Quentin McGaw (desktop) 2021-07-23 19:04:17 +00:00
  • 02492c34a7 Maint: dns package interface rework - return concrete struct type - split interface is sub-interfaces Quentin McGaw (desktop) 2021-07-23 18:57:29 +00:00
  • 9436f604ba Maint: split Go files in dns package Quentin McGaw (desktop) 2021-07-23 18:55:53 +00:00
  • d9ca0deb08 Maint: cli package interface rework - return concrete struct type - split interface is sub-interfaces Quentin McGaw (desktop) 2021-07-23 18:52:38 +00:00
  • 0b985e8c35 Maint: alpine package interface rework - return concrete struct type - split interface is sub-interfaces Quentin McGaw (desktop) 2021-07-23 18:51:51 +00:00
  • c5d92ae02c Maint: inject Commander to openvpn and firewall Quentin McGaw (desktop) 2021-07-23 18:25:30 +00:00
  • 94b60d9f70 Maint: firewall and routing use logger.Debug - Remove SetVerbose and SetDebug from both - Log routing teardown - Default logging level set to info Quentin McGaw (desktop) 2021-07-23 18:20:18 +00:00
  • b23eb8f29d Maint: prefer empty string comparison Quentin McGaw (desktop) 2021-07-23 17:39:38 +00:00
  • 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 Quentin McGaw (desktop) 2021-07-23 17:36:08 +00:00
  • 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 Quentin McGaw (desktop) 2021-07-23 16:06:19 +00:00
  • e94684aa39 Fix: version diff for VPN server information Quentin McGaw (desktop) 2021-07-23 02:51:49 +00:00
  • a34cc48197 Feat: update all servers for all providers Quentin McGaw (desktop) 2021-07-23 02:47:29 +00:00
  • b262d91ccc Feat: add -all flag to update all VPN servers Quentin McGaw (desktop) 2021-07-23 02:47:04 +00:00
  • 39aa983771 Maint: upgrade golibs and env error wrapping Quentin McGaw (desktop) 2021-07-23 02:34:15 +00:00
  • 5b9887dade Maint: use qdm12/gosplash Quentin McGaw (desktop) 2021-07-22 20:56:47 +00:00
  • c33402ce66 Feat: HEALTH_SERVER_ADDRESS Quentin McGaw (desktop) 2021-07-22 20:45:17 +00:00
  • 6f58f84151 Maint: improve health code Quentin McGaw (desktop) 2021-07-22 20:18:52 +00:00
  • 6acb7caf5b Feat: Env variables to set health timeouts - HEALTH_OPENVPN_DURATION_INITIAL - HEALTH_OPENVPN_DURATION_ADDITION Quentin McGaw (desktop) 2021-07-22 20:13:20 +00:00
  • 8beff34cca Maint: remove debug line in health server Quentin McGaw (desktop) 2021-07-22 13:43:19 +00:00
  • 478e0f74f7 Fix: Windscribe Openvpn config (#528) TJJP 2021-07-21 12:48:10 -04:00
  • b7bd23ab60 Fix: buildDate renamed to created in Dockerfile Quentin McGaw (desktop) 2021-07-20 23:10:33 +00:00
  • 82533c1453 Maint: improve servers data embedding - use embed.FS to have immutable data - use sync.Once to parse only once without data races Quentin McGaw (desktop) 2021-07-20 19:01:49 +00:00
  • e0735b57ce Maint: build all images fully in parallel Quentin McGaw (desktop) 2021-07-20 15:47:28 +00:00
  • 1e0bfc3b0c Maint: rename BUILD_DATE to CREATED Quentin McGaw (desktop) 2021-07-20 15:28:02 +00:00
  • cb0e89a38e Maint: use curly braces around BUILDPLATFORM Quentin McGaw (desktop) 2021-07-20 15:27:16 +00:00
  • 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 Quentin McGaw (desktop) 2021-07-20 03:01:26 +00:00
  • 394abbbe35 Feat: specify Openvpn flags with OPENVPN_FLAGS Quentin McGaw (desktop) 2021-07-19 15:10:53 +00:00
  • fd39bc8518 Maint: upgrade inet.af/netaddr to 2021-07-18 Quentin McGaw (desktop) 2021-07-19 13:28:00 +00:00
  • 2663e8fba7 Bump docker/build-push-action from 2.4.0 to 2.6.1 (#513) dependabot[bot] 2021-07-18 19:22:59 -07:00
  • faebac6a77 Maint: rename build.yml to ci.yml for linting Quentin McGaw (desktop) 2021-07-19 02:20:23 +00:00
  • bc1b09e997 Maint: remove microbadger hook from CI Quentin McGaw (desktop) 2021-07-19 02:18:22 +00:00
  • af358f777b Feat: pull filter ipv6 if OPENVPN_IPV6 is off v3.20.0 Quentin McGaw (desktop) 2021-07-19 01:46:20 +00:00
  • c0d27b4bfc Maint: rework openvpn restart on unhealthy Quentin McGaw (desktop) 2021-07-18 03:17:48 +00:00
  • 7e50c95823 Maint: minor DNS loop fixes and changes Quentin McGaw (desktop) 2021-07-16 21:21:09 +00:00
  • 39068dda17 Maint: rework Openvpn run loop Quentin McGaw (desktop) 2021-07-16 21:20:34 +00:00
  • 8185979ca4 Fix: deadlock on dns shutdown when starting up Quentin McGaw (desktop) 2021-07-16 20:11:57 +00:00
  • 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 Quentin McGaw (desktop) 2021-07-16 20:04:17 +00:00
  • c2d527bbd3 Fix: openvpn run loop panic about stdout streams Quentin McGaw (desktop) 2021-07-16 19:02:04 +00:00
  • ac3ff095a1 Maint: rework DNS run loop - Fix fragile user triggered logic - Simplify state - Lock loop when crashed Quentin McGaw (desktop) 2021-07-16 19:00:56 +00:00
  • 0ed738cd61 Maint: make all set status context aware Quentin McGaw (desktop) 2021-07-16 00:49:59 +00:00
  • 6bbb7c8f7d Maint: remove outdated Auth log warning about PIA Quentin McGaw (desktop) 2021-07-16 00:49:50 +00:00