Commit Graph

  • 758f316816 Small constants changes - ifconfig.me/ip added, see #186 - Remove trailing space for a Surfshark region Quentin McGaw 2020-07-08 22:47:48 +00:00
  • ad73a027f3 Gets public IP every hour Quentin McGaw 2020-07-08 22:47:12 +00:00
  • 2c96f91043 Merge branch 'master' of github.com:qdm12/private-internet-access-docker Quentin McGaw 2020-07-08 22:33:40 +00:00
  • 53b7fafc49 Public IP loop, fixes #186 - Uses common http client with 15 seconds timeout - Repeats on fail after 5 seconds sleep time Quentin McGaw 2020-07-08 22:33:28 +00:00
  • 7450ffce2b uid and gid variables (no change at runtime) Quentin McGaw 2020-07-08 22:13:59 +00:00
  • 765f06e5a8 Write auth file in openvpn loop Quentin McGaw 2020-07-08 22:11:23 +00:00
  • e304b4a829 Updated readme to match the Dockerfile (#185) Rick van Hattem 2020-07-08 15:19:56 +02:00
  • 3ae4523280 Merge branch 'master' of github.com:qdm12/private-internet-access-docker Quentin McGaw 2020-07-08 13:14:50 +00:00
  • 7a136db085 Simplified loop mechanism for openvpn and dns - Refers to #91 - http control server starts without waiting for unbound and/or openvpn - Trying to get rid of waiter and use channels directly - Simpler main.go - More robust logic overall Quentin McGaw 2020-07-08 13:14:39 +00:00
  • e809e178b9 Added Surfshark documentation for authentication (#182) Rick van Hattem 2020-07-08 03:14:05 +02:00
  • dd529a48fa Stripped extraneous whitespace (#180) Rick van Hattem 2020-07-07 23:33:35 +02:00
  • 2c6eae4e90 Set Surfshark ping-restart to valid value (#183) Rick van Hattem 2020-07-07 23:30:06 +02:00
  • 18e99d07d0 Move provider settings in openvpn settings Quentin McGaw 2020-07-05 20:05:38 +00:00
  • a4b0e0ff86 Fix provider settings logging Quentin McGaw 2020-07-05 20:05:15 +00:00
  • 7e36fbbd00 Refers to #179 (Cyberghost) - Fix <crt> -> <cert> - Fix certificates (ca.crt and client.crt) Quentin McGaw 2020-07-05 16:20:40 +00:00
  • d228216d1c Fix #179 Quentin McGaw 2020-07-04 17:48:22 +00:00
  • c9368e352c DNS_PLAINTEXT_ADDRESS, fixes #176 Quentin McGaw 2020-06-26 14:40:46 +00:00
  • d947d9fe30 Rename dev extension ms-vscode.go to golang.go Quentin McGaw 2020-06-26 14:37:11 +00:00
  • 613ded51ab Upgrade to Alpine 3.12 Quentin McGaw 2020-06-26 14:36:31 +00:00
  • 3b43b7c2f6 Add script security 2 to run vpn provider scripts Fix Bug: ... #176 Quentin McGaw 2020-06-21 20:21:13 -04:00
  • cdbb7bf771 Fix #175 Quentin McGaw 2020-06-18 18:05:51 +00:00
  • 5a6cf0fe3a Remove firewall nat chain clearing, refers to #171 Quentin McGaw 2020-06-16 12:20:33 +00:00
  • 082a5bdf51 Fix http control server not working when DOT=off Quentin McGaw 2020-06-16 00:11:22 +00:00
  • 7369808b84 Refactor (#174) Quentin McGaw 2020-06-13 14:08:29 -04:00
  • 4f502abcf8 Cyberghost support (#168) Quentin McGaw 2020-06-13 10:43:47 -04:00
  • bdcadf09ec Fix: Shadowsocks nameserver when DOT=off Quentin McGaw 2020-06-13 13:57:26 +00:00
  • 8cae369186 Add FIREWALL variable, refers to #171 Quentin McGaw 2020-06-12 17:11:21 +00:00
  • a3d75f3d8b Replace p with r for params reader (lint issue) Quentin McGaw 2020-06-12 17:07:32 +00:00
  • 1a06d01ae2 Fix #172 kernel module for Synology Quentin McGaw 2020-06-10 01:34:20 +00:00
  • 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