Commit Graph

  • 5d3982c2d2 Docs: update Wireguard support list in readme Quentin McGaw (desktop) 2021-09-13 20:23:16 +00:00
  • 2cf7f7b268 Maint: WIREGUARD_PORT to WIREGUARD_ENDPOINT_PORT Quentin McGaw (desktop) 2021-09-13 20:06:47 +00:00
  • 8645d978ba Feat: VPNSP=custom for Wireguard - WIREGUARD_PUBLIC_KEY variable - WIREGUARD_ENDPOINT_IP variable Quentin McGaw (desktop) 2021-09-13 19:33:04 +00:00
  • cc18b158f4 Maint: remove all script-security OpenVPN options - Affects Cyberghost - Affects Mullvad - Affects PureVPN - Affects Surfshark - Affects Torguard - Affects Windscribe Quentin McGaw (desktop) 2021-09-13 16:05:14 +00:00
  • 0730b6db6e Maint: remove ncp-disable deprecated option - Affects Cyberghost - Affects PIA - Affects Torguard - Affects Windscribe Quentin McGaw (desktop) 2021-09-13 15:59:33 +00:00
  • 3d2a360401 Fix: remove OpenVPN compression (PIA, torguard) Quentin McGaw (desktop) 2021-09-13 15:56:25 +00:00
  • 0c60dab384 Maint: remove deprecated keysize OpenVPN option Quentin McGaw (desktop) 2021-09-13 15:55:16 +00:00
  • f5f0ad7f28 Maint: remove deprecated tun-ipv6 option Quentin McGaw (desktop) 2021-09-13 15:54:01 +00:00
  • f807f756eb VPNSP value custom for OpenVPN custom config files (#621) Quentin McGaw 2021-09-13 11:30:14 -04:00
  • 11af6c10f1 HotFix: use newer HEALTH variables in Dockerfile Quentin McGaw (desktop) 2021-09-13 01:30:37 +00:00
  • 40342619e7 Maint: dynamically set allowed VPN input ports - Feat: allow to change VPN type at runtime - Feat: allow to change interface name at runtime - Maint: Add cleanup method to cleanup VPN loop on a vpn shutdown - Change: allow VPN inputs ports only when tunnel is up Quentin McGaw (desktop) 2021-09-13 00:50:20 +00:00
  • 19bf62c21f Fix: set non block on TUN device Quentin McGaw (desktop) 2021-09-12 13:32:50 +00:00
  • 2ea00d149f Feat: adapt logger prefix to VPN used - openvpn: for OpenVPN - wireguard: for Wireguard Quentin McGaw (desktop) 2021-09-12 13:27:30 +00:00
  • cc677bde93 Maint: change default ping address to github.com to test DNS Quentin McGaw (desktop) 2021-09-11 22:27:32 +00:00
  • 6627cda96c Feat: HEALTH_ADDRESS_TO_PING variable - Defaults to 1.1.1.1 - Add more Ping integration tests with different addresses - Add unit test pinging 127.0.0.1 - Add comment explaining why we need to use ICMP instead of UDP Quentin McGaw (desktop) 2021-09-11 22:22:55 +00:00
  • cade2732b0 Maint: improve internal/configuration/health_test.go unit test Quentin McGaw (desktop) 2021-09-11 22:14:37 +00:00
  • 541a4a3271 Feat: healthcheck uses ping instead of DNS Quentin McGaw (desktop) 2021-09-11 21:49:46 +00:00
  • 0eccd068e5 Maint: rename health OpenVPN names to VPN - HEALTH_OPENVPN_DURATION_INITIAL renamed to HEALTH_VPN_DURATION_INITIAL with retro-compatiblity - HEALTH_OPENVPN_DURATION_ADDITION renamed to HEALTH_VPN_DURATION_ADDITION with retro-compatiblity Quentin McGaw (desktop) 2021-09-11 21:04:21 +00:00
  • 87f4b9e422 Docs: update maintenance document Quentin McGaw (desktop) 2021-09-11 15:29:29 +00:00
  • bcaf2e42fd Maint: re-order Dockerfile environment variables Quentin McGaw (desktop) 2021-09-11 15:24:00 +00:00
  • d39201f9b3 Fix: public IP loop deadlock Quentin McGaw (desktop) 2021-09-10 22:54:02 +00:00
  • 8ac2a816c3 Fix: close HTTP client connections when tunnel comes up Quentin McGaw (desktop) 2021-09-10 22:53:05 +00:00
  • 344f1bf9ee Docs: add wireguard in top description Quentin McGaw (desktop) 2021-09-10 22:18:29 +00:00
  • 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