Quentin McGaw
2f9d1f09d3
Minor changes
...
- Remove https://ip4.ddnss.de/meineip.php
- Logs when falling back to plaintext DNS
2020-07-11 21:04:46 +00:00
Quentin McGaw
b1596bc7e4
Firewall refactoring
...
- Ability to enable and disable rules in various loops
- Simplified code overall
- Port forwarding moved into openvpn loop
- Route addition and removal improved
2020-07-11 21:03:55 +00:00
Quentin McGaw
ccf11990f1
Fix several async issues
...
- race conditions between ctx.Done and waitError channel
- Sleep for retry cancels on cancelation of context
- Stops the any loop at the start if the context was canceled
- Mentions when loops exit
- Wait for errors on triggered loop restarts
2020-07-11 20:59:30 +00:00
Quentin McGaw
1ac06ee4a8
Fatal waits for subprocesses to complete
2020-07-09 22:04:04 +00:00
Quentin McGaw
dc1c7eab81
Fix #187 (silly me #2 )
2020-07-09 11:56:43 +00:00
Quentin McGaw
5bf471767d
Remove unneeded waiter object
2020-07-08 23:43:03 +00:00
Quentin McGaw
3d25db1bed
Waits properly for all subprocess to exit
2020-07-08 23:42:54 +00:00
Quentin McGaw
99e386abc8
Using a waitgroup to wait for all programs to exit
2020-07-08 23:36:02 +00:00
Quentin McGaw
8669748289
Shadowsocks loop
2020-07-08 23:29:40 +00:00
Quentin McGaw
a39d885e34
Minor fixes
...
- Not logging program name twice for wait errors
- Wait for tinyproxy to exit
2020-07-08 23:29:22 +00:00
Quentin McGaw
7d36993450
Tinyproxy run loop
2020-07-08 23:20:33 +00:00
Quentin McGaw
0d53461706
Quick fix: uid and gid for openvpn
2020-07-08 22:51:27 +00:00
Quentin McGaw
758f316816
Small constants changes
...
- ifconfig.me/ip added, see #186
- Remove trailing space for a Surfshark region
2020-07-08 22:47:48 +00:00
Quentin McGaw
ad73a027f3
Gets public IP every hour
2020-07-08 22:47:12 +00:00
Quentin McGaw
2c96f91043
Merge branch 'master' of github.com:qdm12/private-internet-access-docker
2020-07-08 22:33:40 +00:00
Quentin McGaw
53b7fafc49
Public IP loop, fixes #186
...
- Uses common http client with 15 seconds timeout
- Repeats on fail after 5 seconds sleep time
2020-07-08 22:33:28 +00:00
Quentin McGaw
7450ffce2b
uid and gid variables (no change at runtime)
2020-07-08 22:13:59 +00:00
Quentin McGaw
765f06e5a8
Write auth file in openvpn loop
2020-07-08 22:11:23 +00:00
Rick van Hattem
e304b4a829
Updated readme to match the Dockerfile ( #185 )
2020-07-08 09:19:56 -04:00
Quentin McGaw
3ae4523280
Merge branch 'master' of github.com:qdm12/private-internet-access-docker
2020-07-08 13:14:50 +00:00
Quentin McGaw
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
2020-07-08 13:14:39 +00:00
Rick van Hattem
e809e178b9
Added Surfshark documentation for authentication ( #182 )
2020-07-07 21:14:05 -04:00
Rick van Hattem
dd529a48fa
Stripped extraneous whitespace ( #180 )
2020-07-07 17:33:35 -04:00
Rick van Hattem
2c6eae4e90
Set Surfshark ping-restart to valid value ( #183 )
...
No idea why this was here, but thanks for fixing it 🥇
2020-07-07 17:30:06 -04:00
Quentin McGaw
18e99d07d0
Move provider settings in openvpn settings
2020-07-05 20:05:38 +00:00
Quentin McGaw
a4b0e0ff86
Fix provider settings logging
2020-07-05 20:05:15 +00:00
Quentin McGaw
7e36fbbd00
Refers to #179 (Cyberghost)
...
- Fix <crt> -> <cert>
- Fix certificates (ca.crt and client.crt)
2020-07-05 16:20:40 +00:00
Quentin McGaw
d228216d1c
Fix #179
2020-07-04 17:48:22 +00:00
Quentin McGaw
c9368e352c
DNS_PLAINTEXT_ADDRESS, fixes #176
2020-06-26 14:40:46 +00:00
Quentin McGaw
d947d9fe30
Rename dev extension ms-vscode.go to golang.go
2020-06-26 14:37:11 +00:00
Quentin McGaw
613ded51ab
Upgrade to Alpine 3.12
2020-06-26 14:36:31 +00:00
Quentin McGaw
3b43b7c2f6
Add script security 2 to run vpn provider scripts
...
Fix Bug: ... #176
2020-06-21 20:21:13 -04:00
Quentin McGaw
cdbb7bf771
Fix #175
2020-06-18 18:05:51 +00:00
Quentin McGaw
5a6cf0fe3a
Remove firewall nat chain clearing, refers to #171
2020-06-16 12:20:33 +00:00
Quentin McGaw
082a5bdf51
Fix http control server not working when DOT=off
2020-06-16 00:11:22 +00:00
Quentin McGaw
7369808b84
Refactor ( #174 )
...
- Goal was to simplify main.go complexity
- Use common structures and interfaces for all vpn providers
- Moved files around
- Removed some alias models
2020-06-13 14:08:29 -04:00
Quentin McGaw
4f502abcf8
Cyberghost support ( #168 )
...
* Host finder CLI for cyberghost
* Resolver program updated with Cyberghost data
* Gluetun cli clientkey subcommand
2020-06-13 10:43:47 -04:00
Quentin McGaw
bdcadf09ec
Fix: Shadowsocks nameserver when DOT=off
2020-06-13 13:57:26 +00:00
Quentin McGaw
8cae369186
Add FIREWALL variable, refers to #171
2020-06-12 17:11:21 +00:00
Quentin McGaw
a3d75f3d8b
Replace p with r for params reader (lint issue)
2020-06-12 17:07:32 +00:00
Quentin McGaw
1a06d01ae2
Fix #172 kernel module for Synology
2020-06-10 01:34:20 +00:00
Quentin McGaw
634cef2bb2
Only resolve github.com for healthcheck, fix #170
2020-06-10 01:25:10 +00:00
Quentin McGaw
6107f5c4ab
Fix #173
2020-06-10 01:16:58 +00:00
Quentin McGaw
6ae9dc5c2c
Update list of donators in readme 👍
2020-06-08 08:31:18 -04:00
Quentin McGaw
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
2020-06-08 11:08:07 +00:00
Quentin McGaw
69217f61a1
Update PIA servers IP addresses, refers to #171
2020-06-08 11:06:11 +00:00
Quentin McGaw
e33a6a8503
Fix #170
2020-06-05 19:32:12 -04:00
Quentin McGaw
0fb065eb61
Fix bad comparison in healthcheck
2020-06-05 12:46:44 +00:00
Quentin McGaw
f6a2aac475
Fix #170
2020-06-04 22:13:49 +00:00
Quentin McGaw
900fa261d8
Better healthcheck ( #169 ), fixes #133
...
* Changed healthcheck to get and compare IP address
* Change default healthcheck frequency and retries
2020-06-03 21:52:44 -04:00