Quentin McGaw
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
2020-06-03 02:11:35 +00:00
Quentin McGaw
4f72f60a3e
.dockerignore updated
2020-06-02 23:12:04 +00:00
Quentin McGaw
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
2020-06-02 23:10:04 +00:00
Quentin McGaw
20a3327815
Minor changes
...
- PORT is for Mullvad but also Windscribe (docker-compose, README.md)
- Windscribe configurator does not need lookupIP anymore
2020-06-02 23:07:29 +00:00
Quentin McGaw
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
2020-06-02 23:03:18 +00:00
Quentin McGaw
a7739b6f5d
Add multi hop regions and ips for Surfshark
2020-05-31 19:50:28 +00:00
Quentin McGaw
263368af89
Remove cipher and auth restrictive checks
2020-05-29 12:01:45 +00:00
Quentin McGaw
96e57d2c32
Surfshark ( #167 )
2020-05-29 07:24:27 -04:00
Quentin McGaw
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
2020-05-29 11:17:14 +00:00
Quentin McGaw
cc80d224c2
Review current openvpn configuration
...
- tls-client unneeded if client is specified
- Moved settings around in config file
2020-05-29 10:29:07 +00:00
Quentin McGaw
c85cca7fdc
Workflow adjustments:
...
- Paths ignore for all docker build
- Remove security workflow (CVEs should be fixed by Alpine)
2020-05-29 10:20:45 +00:00
Quentin McGaw
3f6d3d7c2a
Openvpn files parser tool binary
2020-05-29 10:13:42 +00:00
Quentin McGaw
09a0ba1228
DNS Resolver tool binary
2020-05-29 10:13:29 +00:00
Quentin McGaw
6b81ed6bde
Unneeded Docker init, Go entrypoint does it
2020-05-29 10:12:38 +00:00
Quentin McGaw
64e447b262
Minor code and comments changes
2020-05-29 00:09:49 +00:00
Quentin McGaw
d0926111e0
Env variables cleanup in Docker config files
2020-05-29 00:03:10 +00:00
Quentin McGaw
aac4298f69
Moved main.go to cmd/gluetun/main.go
2020-05-28 23:59:35 +00:00
Quentin McGaw
f4018d3411
Fix PIA region case sensitivity, refers to #163
2020-05-28 01:07:32 +00:00
Quentin McGaw
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
2020-05-27 00:52:52 +00:00
Quentin McGaw
43c15b3e68
Removed double message in port forwarding logging
2020-05-18 13:39:01 +00:00
Quentin McGaw
ab223a5e06
User specified iptables rules ( #161 )
2020-05-18 09:37:34 -04:00
Quentin McGaw
fd5e7af3ff
Improve environment variables table
2020-05-17 18:34:57 -04:00
Quentin McGaw
886d4ad1a9
Update readme for new wiki
2020-05-17 17:54:37 -04:00
Quentin McGaw
40a72b6189
Update golangci-lint to 1.27.0
2020-05-17 17:49:40 -04:00
Quentin McGaw
5eb1859f41
Fix #156 falls back to dns on ipv4 only
2020-05-09 00:54:49 +00:00
Quentin McGaw
b45fa026dd
Improved openvpn run loop
2020-05-09 00:43:09 +00:00
Quentin McGaw
da739a0c3d
Fix waitForAll context for graceful exits
2020-05-07 12:58:37 +00:00
Quentin McGaw
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
2020-05-07 12:56:49 +00:00
Quentin McGaw
d12668d57f
Fix logic to disable DNS periodic update
2020-05-05 22:02:23 +00:00
Quentin McGaw
c39affeb12
GolangCi-lint 1.
...
26.0
2020-05-05 18:01:12 +00:00
Quentin McGaw
d73765a5f5
DNS_UPDATE_PERIOD environment variable
2020-05-05 18:00:56 +00:00
Quentin McGaw
37282c014b
Removed greetings workflow (not working on forks)
2020-05-04 23:05:03 +00:00
Quentin McGaw
adeccf8548
ip6tables package, refers to #153
2020-05-04 12:27:15 +00:00
Quentin McGaw
a97cbcc4e4
Refers to #153
2020-05-04 12:24:34 +00:00
Quentin McGaw
89187b6b86
Fix #142
2020-05-03 16:28:59 +00:00
Quentin McGaw
754bab9763
Unbound restart logic
...
- Update files and restart unbound every 24hours
- HTTP route to force update & restart of Unbound
- Fix #151
2020-05-02 17:08:15 +00:00
Quentin McGaw
0d7f6dab1a
Remove unneeded functionNotSet in server
2020-05-02 17:04:01 +00:00
Quentin McGaw
507374ca4e
Improve openvpn run loop logs
2020-05-02 17:03:11 +00:00
Quentin McGaw
318c3c9032
Control server announcement
2020-05-02 17:02:39 +00:00
Quentin McGaw
c068484fa0
Initial DNS IP is ipv4/6 depending on DOT_IPV6
2020-05-02 15:41:28 +00:00
Quentin McGaw
7cd35737ba
Defaults DOT_IPV6 to off
2020-05-02 15:40:40 +00:00
Quentin McGaw
0247a1ff01
Refers to #142
2020-05-02 14:59:22 +00:00
Quentin McGaw
363fabc810
Reduced main.go code complexity
2020-05-02 14:48:18 +00:00
Quentin McGaw
6049b10209
Update firewall documentation
2020-05-02 13:13:19 +00:00
Quentin McGaw
bc05ff34fd
Launch DNS over TLS after tunneling
...
- No data is downloaded before tunneling
- Fixes #127
2020-05-02 13:11:41 +00:00
Quentin McGaw
8e77842f1e
FatalOnError cancels parent context
2020-05-02 13:05:09 +00:00
Quentin McGaw
41168f88cd
Improved connected signaling mechanism
2020-05-01 03:15:49 +00:00
Quentin McGaw
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
2020-05-01 03:14:16 +00:00
Quentin McGaw
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
2020-04-30 23:41:57 +00:00
Quentin McGaw
944e6a107b
Logs wait function errors as soon as they happen
2020-04-30 23:39:28 +00:00