Commit Graph

  • f0a006fc43 Docs: add fix the unraid template link Quentin McGaw (desktop) 2021-09-10 21:11:08 +00:00
  • 145da0b21d Maint: rename wireguard CustomPort Quentin McGaw (desktop) 2021-09-10 19:07:14 +00:00
  • 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 Quentin McGaw (desktop) 2021-09-09 21:36:14 +00:00
  • 65ace12def Maint: internal/openvpn/parse package - Parse PEM key data for Cyberghost and VPNUnlimited - Add more unit tests Quentin McGaw (desktop) 2021-09-08 16:40:19 +00:00
  • 9afe455635 Fix: missing status code check for Windscribe API Quentin McGaw (desktop) 2021-09-08 16:09:32 +00:00
  • 45ce422a89 Maint: use type aliases in internal/netlink Quentin McGaw (desktop) 2021-09-07 02:35:39 +00:00
  • 4a0738cd49 Fix: repo servers.json path Quentin McGaw (desktop) 2021-09-06 13:41:45 +00:00
  • 6b6caa435f Fix: clear IP data when VPN is stopped v3.24.0 Quentin McGaw (desktop) 2021-09-06 13:28:05 +00:00
  • f9cb71027c Feat: location data at /v1/publicip/ip Quentin McGaw (desktop) 2021-09-05 22:54:10 +00:00
  • 82ac568ee3 Fix: wireguard cleanup preventing restarts Quentin McGaw (desktop) 2021-09-04 22:29:04 +00:00
  • 61afdce788 Hotfix: Wireguard WIREGUARD_ADDRESSES setting Quentin McGaw (desktop) 2021-08-28 20:59:39 +00:00
  • 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 Quentin McGaw (desktop) 2021-08-28 19:07:44 +00:00
  • c6fedd9214 Feat: support csv addresses in WIREGUARD_ADDRESS Quentin McGaw (desktop) 2021-08-28 18:43:23 +00:00
  • da525e039d Fix: update Mullvad annoucement logged Quentin McGaw (desktop) 2021-08-28 18:14:28 +00:00
  • 29d92fd307 Fix: Surfshark REGION retro-compatibility Quentin McGaw (desktop) 2021-08-28 18:14:21 +00:00
  • 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 Quentin McGaw (desktop) 2021-08-27 19:10:03 +00:00
  • b1cfc03fc5 Maint: internal/storage remove Windscribe debug logs Quentin McGaw (desktop) 2021-08-27 12:10:49 +00:00
  • f706071048 Fix: FIREWALL_VPN_INPUT_PORTS for Wireguard Quentin McGaw (desktop) 2021-08-26 19:54:48 +00:00
  • 501ae2741b Fix: FIREWALL_OUTBOUND_SUBNETS ip rules Quentin McGaw (desktop) 2021-08-26 15:46:19 +00:00
  • 5b75635386 Maint: fix rules equality check for nil networks Quentin McGaw (desktop) 2021-08-26 14:33:51 +00:00
  • 2901db3cf3 Maint: internal/routing IP rules functions - Take in src as *net.IPNet instead of net.IP - Take dst IP network - Debug logged ip rule dynamically built - Add unit tests for all IP rules functions Quentin McGaw (desktop) 2021-08-26 13:59:43 +00:00
  • 6c2a3e36b5 Maint: rename outboundsubnets.go to outbound.go Quentin McGaw (desktop) 2021-08-25 19:09:42 +00:00
  • 8b125e6e95 Maint: internal/routing/inbound.go file Quentin McGaw (desktop) 2021-08-25 19:08:55 +00:00
  • e1cc14e055 Fix: firewall inherits log level from LOG_LEVEL Quentin McGaw (desktop) 2021-08-25 17:55:46 +00:00
  • d6659552df Maint: refactor internal/routing - Split Go files better - Reduce public API for exported errors Quentin McGaw (desktop) 2021-08-25 17:52:05 +00:00
  • 67001fa958 Maint: rename files in internal/subnet Quentin McGaw (desktop) 2021-08-25 17:27:10 +00:00
  • ffeeae91ab Maint: merge subnet.FindSubnetsToAdd and subnet.FindSubnetsToRemove in subnet.FindSubnetsToChange Quentin McGaw (desktop) 2021-08-25 17:25:36 +00:00
  • 04fad1b781 Maint: internal/subnet package Quentin McGaw (desktop) 2021-08-25 17:22:48 +00:00
  • dcaf952986 Maint: http proxy server constructor returns struct Quentin McGaw (desktop) 2021-08-25 17:03:55 +00:00
  • ca3b9e892d Maint: http proxy HTTPS handling simplifications Quentin McGaw (desktop) 2021-08-25 17:02:50 +00:00
  • 9f12ffc069 Fix: MULTIHOP_ONLY defaults to no Quentin McGaw (desktop) 2021-08-24 13:12:40 +00:00
  • 0d6800a515 Fix: panic for certain no server found errors Quentin McGaw (desktop) 2021-08-23 21:19:53 +00:00
  • b3d8b78205 Maint: only internal/netlink depends on github.com/vishvananda/netlink Quentin McGaw (desktop) 2021-08-23 21:12:28 +00:00
  • ee82a85543 Maint: internal/routing uses internal/netlink Quentin McGaw (desktop) 2021-08-23 20:56:10 +00:00
  • 7907146aaf Maint: rework IPIsPrivate in internal/routing Quentin McGaw (desktop) 2021-08-23 20:50:50 +00:00
  • 1a677ce4f7 Maint: internal/routing returns *Routine struct Quentin McGaw (desktop) 2021-08-23 20:50:32 +00:00
  • f1a6594474 Maint: utils.FilterByProtocol function Quentin McGaw (desktop) 2021-08-23 20:16:29 +00:00
  • f1a82d9d9c Feat: rework Surfshark servers data (#575) Quentin McGaw 2021-08-23 10:25:00 -07:00
  • 8b52af0d03 Maint: common GetPort for OpenVPN+Wireguard providers Quentin McGaw (desktop) 2021-08-23 16:13:20 +00:00
  • dbf5c569ea Maint: common GetProtocol for OpenVPN+Wireguard providers Quentin McGaw (desktop) 2021-08-23 16:07:47 +00:00
  • 06a2d79cb4 Feat: Wireguard support for Ivpn (#584) Quentin McGaw (desktop) 2021-08-23 16:01:01 +00:00
  • eb6238ee52 Feat: WIREGUARD_PORT for Mullvad Quentin McGaw (desktop) 2021-08-23 16:00:40 +00:00
  • f41fec57ed Feat: IVPN supports TCP and custom port Quentin McGaw (desktop) 2021-08-23 13:34:00 +00:00
  • c348343b22 IVPN server data update code and ISP filter (#578) Quentin McGaw 2021-08-22 20:11:56 -07:00
  • b69dcb62e3 LOG_LEVEL variable (#577) Quentin McGaw 2021-08-22 18:57:10 -07:00
  • e4a260f148 Maint: upgrade qdm12/golibs v3.23.0 Quentin McGaw (laptop) 2021-08-22 20:44:14 +00:00
  • 614eb10d67 Wireguard support for Mullvad and Windscribe (#565) Quentin McGaw 2021-08-22 14:58:39 -07:00
  • 0bfd58a3f5 Fix: sorted IP addresses for servers.json (#574) Quentin McGaw 2021-08-21 16:03:18 -07:00
  • ff56857fc8 Fix: port forwarding VPN interface specification Quentin McGaw (desktop) 2021-08-21 18:16:44 +00:00
  • 8d258feff7 Hot fix: interface name set for openvpn configs Quentin McGaw (desktop) 2021-08-20 01:13:04 +00:00
  • 96ee1bbfb2 Maint: upgrade from Go 1.16 to Go 1.17 Quentin McGaw (desktop) 2021-08-20 00:07:41 +00:00
  • abaf688ad8 Doc: update readme - Image size lowered to 34MB - Using Alpine 3.14 - Beta wireguard support Quentin McGaw (desktop) 2021-08-19 23:53:47 +00:00
  • bec8ff27ae Feat: OPENVPN_INTERFACE defaulting to tun0 - Fix: custom config with custom network interface name for firewall - Keep VPN tunnel interface in firewall state - Vul fix: only allow traffic through vpn interface when needed - Adapt code to adapt to network interface name - Remove outdated TUN and TAP constants Quentin McGaw (desktop) 2021-08-19 23:22:55 +00:00
  • 7191d4e911 Maint: upgrade golibs, fix logger settings inheritance Quentin McGaw (desktop) 2021-08-19 19:29:50 +00:00
  • 6f59bc3037 Maint: simplify provider configuration logging Quentin McGaw (desktop) 2021-08-19 17:41:37 +00:00
  • 5c2286f4e8 Maint: simplify settings code in internal/vpn Quentin McGaw (desktop) 2021-08-19 14:57:11 +00:00
  • 9218c7ef19 Maint: create OpenVPN runner in VPN run loop Quentin McGaw (desktop) 2021-08-19 14:45:57 +00:00
  • 3d8e61900b Maint: make VPN connection not specific to OpenVPN - Add VPN field to ServerSelection struct - Set VPN type to server selection at start using VPN_TYPE - Change OpenVPNConnection to Connection with Type field - Rename Provider GetOpenVPNConnection to GetConnection - Rename GetTargetIPOpenVPNConnection to GetTargetIPConnection - Rename PickRandomOpenVPNConnection to PickRandomConnection - Add 'OpenVPN' prefix to OpenVPN specific methods on connection Quentin McGaw (desktop) 2021-08-19 14:09:41 +00:00
  • 105d81c018 Maint: move Openvpn package files - Move internal/openvpn/config/*.go to internal/openvpn/ - Move internal/openvpn/setup.go to internal/vpn/openvpn.go Quentin McGaw (desktop) 2021-08-19 13:31:12 +00:00
  • d4ca5cf257 Maint: internal/vpn package for vpn loop Quentin McGaw (desktop) 2021-08-18 22:01:04 +00:00
  • 05018ec971 Maint: use VPN settings instead of OpenVPN in loop Quentin McGaw (desktop) 2021-08-18 21:27:09 +00:00
  • 538bc72c3c Maint: better log when cathing an OS signal Quentin McGaw (desktop) 2021-08-18 21:22:27 +00:00
  • 0027a76c49 Maint: move OpenVPN streams processing to config package Quentin McGaw (desktop) 2021-08-18 21:16:28 +00:00
  • a0cb6fabfd Maint: rename openvpn command.go to start.go Quentin McGaw (desktop) 2021-08-18 20:47:03 +00:00
  • 9e5400f52d Maint: split out OpenVPN version functions to openvpn/config/version.go Quentin McGaw (desktop) 2021-08-18 20:46:20 +00:00
  • 7a1d0ff3ec Maint: internal/openvpn setup.go file Quentin McGaw (desktop) 2021-08-18 20:43:47 +00:00
  • d9fbecaa01 Maint: minor changes to openvpn/config package - Constructor returns concrete struct instead of interface - Rename conf to openvpnConf in openvpn loop Quentin McGaw (desktop) 2021-08-18 20:28:42 +00:00
  • ecdf9396a5 Maint: move OpenVPN configurator to openvpn/config Quentin McGaw (desktop) 2021-08-18 20:23:50 +00:00
  • df51aa40f4 Maint: split custom config files in openvpn/custom Quentin McGaw (desktop) 2021-08-18 20:18:49 +00:00
  • 996942af47 Maint: move custom config files to custom package Quentin McGaw (desktop) 2021-08-18 20:14:02 +00:00
  • f17a4eae3e Maint: rework OpenVPN custom configuration code - Refactor code and errors returned - Add unit tests - Make custom config code independent from loop Quentin McGaw (desktop) 2021-08-18 20:12:26 +00:00
  • c515603d2f Fix: Openvpn custom config: remove user set Quentin McGaw (desktop) 2021-08-18 17:41:53 +00:00
  • 14c3b6429b Maint: openvpn process user in Openvpn settings Quentin McGaw (desktop) 2021-08-18 16:16:47 +00:00
  • bd110b960b Maint: remove startPFCh from Openvpn loop Quentin McGaw (desktop) 2021-08-18 16:07:35 +00:00
  • 3ad4319163 Maint: minor Openvpn loop simplifications Quentin McGaw (desktop) 2021-08-18 15:52:38 +00:00
  • 97340ec70b Fix: chown openvpn configuration file Quentin McGaw (desktop) 2021-08-18 15:47:11 +00:00
  • 5140a7b010 Maint: set PUID and PGID in openvpn configurator Quentin McGaw (desktop) 2021-08-18 15:44:58 +00:00
  • 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