Commit Graph

  • 634cef2bb2 Only resolve github.com for healthcheck, fix #170 Quentin McGaw 2020-06-10 01:25:10 +00:00
  • 6107f5c4ab Fix #173 Quentin McGaw 2020-06-10 01:16:58 +00:00
  • 6ae9dc5c2c Update list of donators in readme 👍 Quentin McGaw 2020-06-08 08:31:18 -04:00
  • ea3a173e3b Remove persist-tun, fix #171 - Now openvpn tries other vpn ip addresses available on restart - In case of a bad ip address, it will try other random ones Quentin McGaw 2020-06-08 11:08:07 +00:00
  • 69217f61a1 Update PIA servers IP addresses, refers to #171 Quentin McGaw 2020-06-08 11:06:11 +00:00
  • e33a6a8503 Fix #170 Quentin McGaw 2020-06-05 19:32:12 -04:00
  • 0fb065eb61 Fix bad comparison in healthcheck Quentin McGaw 2020-06-05 12:46:44 +00:00
  • f6a2aac475 Fix #170 Quentin McGaw 2020-06-04 22:13:49 +00:00
  • 900fa261d8 Better healthcheck (#169), fixes #133 Quentin McGaw 2020-06-03 21:52:44 -04:00
  • cfb4dd84bc Replace pia with gluetun wherever possible - in Readme documentation - Changed splash title string - Changed Dockerfile labels - Changed commands and docker-compose service & container name Quentin McGaw 2020-06-03 02:11:35 +00:00
  • 4f72f60a3e .dockerignore updated Quentin McGaw 2020-06-02 23:12:04 +00:00
  • f262ee6454 Resolver cli changes - Max of 10 simultaneous goroutines to avoid being throttled by DNS - All template formatting moved to formatLine function - resolveRepeat is synchronous to avoid being throttled by DNS Quentin McGaw 2020-06-02 23:10:04 +00:00
  • 20a3327815 Minor changes - PORT is for Mullvad but also Windscribe (docker-compose, README.md) - Windscribe configurator does not need lookupIP anymore Quentin McGaw 2020-06-02 23:07:29 +00:00
  • 3ab1298b1f Main function improved - More explicit cli operation - Using ctx and os.Args injected for eventual later testing - Returning exit code - Cli code moved to cli package Quentin McGaw 2020-06-02 23:03:18 +00:00
  • a7739b6f5d Add multi hop regions and ips for Surfshark Quentin McGaw 2020-05-31 19:50:28 +00:00
  • 263368af89 Remove cipher and auth restrictive checks Quentin McGaw 2020-05-29 12:01:45 +00:00
  • 96e57d2c32 Surfshark (#167) Quentin McGaw 2020-05-29 07:24:27 -04:00
  • 85a93bdd34 Remove timestamps from program logs - Using suppress-timestamps for openvpn - Using custom regexp for tinyproxy, shadowsocks and unbound - Time is now only shown once per line - Log level of subprogram is preserverd Quentin McGaw 2020-05-29 11:17:14 +00:00
  • cc80d224c2 Review current openvpn configuration - tls-client unneeded if client is specified - Moved settings around in config file Quentin McGaw 2020-05-29 10:29:07 +00:00
  • c85cca7fdc Workflow adjustments: - Paths ignore for all docker build - Remove security workflow (CVEs should be fixed by Alpine) Quentin McGaw 2020-05-29 10:20:45 +00:00
  • 3f6d3d7c2a Openvpn files parser tool binary Quentin McGaw 2020-05-29 10:13:42 +00:00
  • 09a0ba1228 DNS Resolver tool binary Quentin McGaw 2020-05-29 10:13:29 +00:00
  • 6b81ed6bde Unneeded Docker init, Go entrypoint does it Quentin McGaw 2020-05-29 10:12:38 +00:00
  • 64e447b262 Minor code and comments changes Quentin McGaw 2020-05-29 00:09:49 +00:00
  • d0926111e0 Env variables cleanup in Docker config files Quentin McGaw 2020-05-29 00:03:10 +00:00
  • aac4298f69 Moved main.go to cmd/gluetun/main.go Quentin McGaw 2020-05-28 23:59:35 +00:00
  • f4018d3411 Fix PIA region case sensitivity, refers to #163 Quentin McGaw 2020-05-28 01:07:32 +00:00
  • 0710199409 Updated IP addresses for Windscribe and PIA - Updated test functions to resolve subdomains - IP addresses are in increasing order - One line per region/subdomain Quentin McGaw 2020-05-27 00:52:52 +00:00
  • 43c15b3e68 Removed double message in port forwarding logging Quentin McGaw 2020-05-18 13:39:01 +00:00
  • ab223a5e06 User specified iptables rules (#161) Quentin McGaw 2020-05-18 09:37:34 -04:00
  • fd5e7af3ff Improve environment variables table Quentin McGaw 2020-05-17 18:34:57 -04:00
  • 886d4ad1a9 Update readme for new wiki Quentin McGaw 2020-05-17 17:54:37 -04:00
  • 40a72b6189 Update golangci-lint to 1.27.0 Quentin McGaw 2020-05-17 17:49:40 -04:00
  • 5eb1859f41 Fix #156 falls back to dns on ipv4 only Quentin McGaw 2020-05-09 00:54:49 +00:00
  • b45fa026dd Improved openvpn run loop Quentin McGaw 2020-05-09 00:43:09 +00:00
  • da739a0c3d Fix waitForAll context for graceful exits Quentin McGaw 2020-05-07 12:58:37 +00:00
  • 0dc400b540 Fix Unbound run loop logic - Plain DNS is used only for the first resolving of github.com to obtain block lists and crypto files required by Unbound - DNS over TLS is used at all time by the system and the Go program thereafter, even between periodic restarts - Downtime during a periodic update is < 1 second - On an Unbound start or unexpected exit error, the container falls back on the unencrypted version of the DNS in order to try restarting Unbound Quentin McGaw 2020-05-07 12:56:49 +00:00
  • d12668d57f Fix logic to disable DNS periodic update Quentin McGaw 2020-05-05 22:02:23 +00:00
  • c39affeb12 GolangCi-lint 1. 26.0 Quentin McGaw 2020-05-05 18:01:12 +00:00
  • d73765a5f5 DNS_UPDATE_PERIOD environment variable Quentin McGaw 2020-05-05 18:00:56 +00:00
  • 37282c014b Removed greetings workflow (not working on forks) Quentin McGaw 2020-05-04 23:05:03 +00:00
  • adeccf8548 ip6tables package, refers to #153 Quentin McGaw 2020-05-04 12:27:15 +00:00
  • a97cbcc4e4 Refers to #153 Quentin McGaw 2020-05-04 12:24:34 +00:00
  • 89187b6b86 Fix #142 Quentin McGaw 2020-05-03 16:28:59 +00:00
  • 754bab9763 Unbound restart logic - Update files and restart unbound every 24hours - HTTP route to force update & restart of Unbound - Fix #151 Quentin McGaw 2020-05-02 17:08:15 +00:00
  • 0d7f6dab1a Remove unneeded functionNotSet in server Quentin McGaw 2020-05-02 17:04:01 +00:00
  • 507374ca4e Improve openvpn run loop logs Quentin McGaw 2020-05-02 17:03:11 +00:00
  • 318c3c9032 Control server announcement Quentin McGaw 2020-05-02 17:02:39 +00:00
  • c068484fa0 Initial DNS IP is ipv4/6 depending on DOT_IPV6 Quentin McGaw 2020-05-02 15:41:28 +00:00
  • 7cd35737ba Defaults DOT_IPV6 to off Quentin McGaw 2020-05-02 15:40:40 +00:00
  • 0247a1ff01 Refers to #142 Quentin McGaw 2020-05-02 14:59:22 +00:00
  • 363fabc810 Reduced main.go code complexity Quentin McGaw 2020-05-02 14:48:18 +00:00
  • 6049b10209 Update firewall documentation Quentin McGaw 2020-05-02 13:13:19 +00:00
  • bc05ff34fd Launch DNS over TLS after tunneling - No data is downloaded before tunneling - Fixes #127 Quentin McGaw 2020-05-02 13:11:41 +00:00
  • 8e77842f1e FatalOnError cancels parent context Quentin McGaw 2020-05-02 13:05:09 +00:00
  • 41168f88cd Improved connected signaling mechanism Quentin McGaw 2020-05-01 03:15:49 +00:00
  • 88ad10d429 PIA and Windscribe hardcoded IP addresses - Allows to not need to resolve subdomains at start before tunneling - Allows for Unbound to be configured and started after tunneling - Refers to #127 Quentin McGaw 2020-05-01 03:14:16 +00:00
  • f4cd1896c9 Go HTTP control server with restart openvpn route - Fix #147 - Dockerfile updated - Documentation updated - Using contexts to restart openvpn - Code foundation for more http routes Quentin McGaw 2020-04-30 23:41:57 +00:00
  • 944e6a107b Logs wait function errors as soon as they happen Quentin McGaw 2020-04-30 23:39:28 +00:00
  • b6135d2476 Support consoles without /dev/stdout Quentin McGaw 2020-04-30 23:34:35 +00:00
  • c9b6e79792 Clear ip status file on termination Quentin McGaw 2020-04-30 12:55:07 +00:00
  • 94255aaa38 Better onConnected logic - First port forward after 5 seconds - Public IP obtained ASAP - Logging in main only - Allow port forward firewall with 1 second timeout local context Quentin McGaw 2020-04-30 12:54:48 +00:00
  • ac706bd156 Wait for openvpn to exit on program termination Quentin McGaw 2020-04-30 11:01:22 +00:00
  • d864a9f580 Refixes #148 Quentin McGaw 2020-04-30 10:48:26 +00:00
  • a32318d246 Improve issue templates Quentin McGaw 2020-04-30 10:38:31 +00:00
  • 45a7a5b9e2 Fix build Quentin McGaw 2020-04-30 00:46:29 +00:00
  • 9af2a7a640 Retry port forwarding after 5 seconds, fix #148 Quentin McGaw 2020-04-30 00:02:27 +00:00
  • eb62ad06db Better context handling (prep for restart logic) Quentin McGaw 2020-04-29 23:59:23 +00:00
  • a033637e85 Better exit handling Quentin McGaw 2020-04-29 01:27:42 +00:00
  • b0ea739c20 Restarts openvpn on failure without Docker restart (#144) Quentin McGaw 2020-04-28 21:22:18 -04:00
  • 352af84977 Workflows adjustments (#124) Quentin McGaw 2020-04-28 08:48:06 -04:00
  • eb149ee040 Fix bad links in FAQ Quentin McGaw 2020-04-28 08:43:21 -04:00
  • 9b3166a2e2 Add @Frepke to sponsors in readme Quentin McGaw 2020-04-28 08:43:13 -04:00
  • e94f4283e1 Port forwards 1 second after openvpn connects Quentin McGaw 2020-04-27 12:10:36 +00:00
  • ef0959a15e Update Golangci-lint to v1.25.0 Quentin McGaw 2020-04-26 13:28:26 +00:00
  • 36424c08ac Better checks for user provided private addresses Quentin McGaw 2020-04-26 13:28:14 +00:00
  • 97ea5f63b8 Removes port forward status file at exit Quentin McGaw 2020-04-19 20:45:34 +00:00
  • 88c9d3d687 Waits 300ms before first DNS resolution try Quentin McGaw 2020-04-19 20:44:33 +00:00
  • f1569dac05 Each stream uses a different color, fixes #136 Quentin McGaw 2020-04-19 20:40:31 +00:00
  • 4cb32ef9dc Reliably wait for all processes to exit Quentin McGaw 2020-04-19 20:10:48 +00:00
  • e805d42197 Updated dependencies Quentin McGaw 2020-04-19 18:13:48 +00:00
  • cbd11bfdf2 Thanks @Ralph521 ! Quentin McGaw 2020-04-15 12:33:50 +00:00
  • 422bd8d428 Log stderr stream from shadowsocks Quentin McGaw 2020-04-14 12:22:14 +00:00
  • 58459f0336 PIA_ENCRYPTION in readme, thanks @Frepke Quentin McGaw 2020-04-14 07:43:14 -04:00
  • 6f6e227b94 Add section for sponsors, donations in readme Quentin McGaw 2020-04-13 00:32:57 +00:00
  • e015cd4a27 Windscribe affiliate link, refers to #109 Quentin McGaw 2020-04-13 00:21:41 +00:00
  • 768147095f Golangcilint in build pipeline and fix lint errors - Fix bad permissions bits for files - VPNSP is 'private internet access' instead of 'pia' (retro compatible) - Check errors of deferred unsetEnv functions in params package - Other lint errors fixing and code simplifications Quentin McGaw 2020-04-12 20:05:28 +00:00
  • 8f6b6306d6 Formatting of files (goimport) Quentin McGaw 2020-04-12 20:01:33 +00:00
  • fb4c9b8a58 Vscode workspace settings Quentin McGaw 2020-04-12 19:53:50 +00:00
  • 3d7cfb125a Using WithPrefix for loggers Quentin McGaw 2020-04-12 19:07:19 +00:00
  • d42de99879 Updated golibs and using gomock+mockgen for tests Quentin McGaw 2020-04-12 18:09:46 +00:00
  • 68203c221d Refactored documentation for Docker hub workflow - Readme size lowered to 18KB - Documents created in doc/ directory - faq.md, firewall.md, development.md - Title svg as absolute path for Docker hub - Re-enabled Docker hub description workflow Quentin McGaw 2020-04-12 13:42:41 +00:00
  • 3ac3e5022c IP_STATUS_FILE and routing improvements (#130) Quentin McGaw 2020-04-12 08:55:13 -04:00
  • da8391e9ae Using %s instead of %w for format print Quentin McGaw 2020-04-12 02:42:32 +00:00
  • ebdf241888 Show DNS lookup error, refers to #127 Quentin McGaw 2020-04-09 13:17:55 +00:00
  • 60cec716b2 Clears port forward status file at exit, fix #125 Quentin McGaw 2020-04-09 12:11:36 +00:00
  • e7a475a303 Stops on port forwarding error, fixes #120 Quentin McGaw 2020-03-31 12:03:26 +00:00
  • 67588e0072 Merge branch 'master' of github.com:qdm12/private-internet-access-docker Quentin McGaw 2020-03-30 12:01:45 +00:00
  • bfa3d749ac Fix test Quentin McGaw 2020-03-30 12:01:35 +00:00
  • 7e79d9696f TZ setting shown at start (#119) Quentin McGaw 2020-03-30 07:58:40 -04:00