Quentin McGaw
606f2cffce
Fix Shadowsocks documentation, fixing #245
2020-09-18 19:56:53 +00:00
Quentin McGaw
564d9cbf90
Faster servers information updater ( #248 )
...
* Asynchronous repeatResolve
* Parallel cyberghost and PIA (v3) processing, with a 10 goroutines limit
* Add missing vyprvpn cli flag to updater
* Increase DNS repetitions to 5 in order to obtain more IP addresses
* Update old PIA IP addresses
* Add Surfshark servers by API (unused for now)
2020-09-18 15:52:28 -04:00
Quentin McGaw
c5b5ae9ca7
Add warning logs when openvpn cannot connect
2020-09-18 14:28:14 +00:00
Quentin McGaw
4e0bd46dd5
Updated Mullvad servers information
2020-09-18 14:16:17 +00:00
Quentin McGaw
f9b6e854b1
Fix surfshark updater and update server data
2020-09-13 00:41:31 +00:00
Quentin McGaw
1fc1776dbf
Simplify main.go
2020-09-12 19:17:19 +00:00
Quentin McGaw
464c7074d0
Get public IP and version only when DNS is ready
2020-09-12 18:50:42 +00:00
Quentin McGaw
cb1520cb18
Write 200 http status codes to restart routes
2020-09-12 18:37:06 +00:00
Quentin McGaw
e0e450ca1c
Revisit waitgroup ( #241 )
...
* Fix Add to waitgroup out of goroutines calling wg.Done()
* Pass waitgroup to other loop functions
2020-09-12 14:34:15 -04:00
Quentin McGaw
1c012e4c92
Minor readme changes
...
- Mullvad ipv6 startup error fix
- VPNSP variable in docker run example command
2020-09-12 18:06:52 +00:00
Quentin McGaw
78ce272bd0
Minor Dockerfile changes
2020-09-12 18:06:10 +00:00
Quentin McGaw
a19efbd923
Updater loop with period and http route ( #240 )
...
* Updater loop with period and http route
* Using DNS over TLS to update servers
* Better logging
* Remove goroutines for cyberghost updater
* Respects context for servers update (quite slow overall)
* Increase shutdown grace period to 5 seconds
* Update announcement
* Add log lines for each provider update start
2020-09-12 14:04:54 -04:00
Quentin McGaw
ee64cbf1fd
Use IP addresses resolved for PIA old servers ( #239 )
...
- Fix #238
- Not using raw IPs from PIA as they seem invalid
- Update PIA old server information
2020-09-10 21:09:16 -04:00
Quentin McGaw
5b3cbb6906
Fix #235 : DNS over TLS log messages
2020-09-09 21:44:50 +00:00
Quentin McGaw
443c7e36d7
Youtube videos added
2020-09-09 20:52:22 +00:00
Max Isom
22b389b6f8
Fix firewall reference to Wiki ( #237 )
2020-09-09 16:45:36 -04:00
Quentin McGaw
797fa33971
Servers updater ( #232 )
...
* Support for all VPN providers
* Update all VPN providers servers information
* Remove old tooling binaries
2020-09-05 12:57:16 -04:00
Quentin McGaw
9dcc00900e
Healthcheck moved to HTTP control server
2020-08-31 01:57:45 +00:00
Quentin McGaw
7c102c0028
Fix #135
2020-08-30 14:48:57 +00:00
Quentin McGaw
aac5274eab
Fix #224
2020-08-29 19:14:52 +00:00
Quentin McGaw
049bc5b226
Mullvad updater ( #228 )
...
* Add Mullvad to updater cli
* Update hardcoded servers for Mullvad
2020-08-29 13:19:34 -04:00
Quentin McGaw
d463e4cb69
New PIA servers support ( #227 )
...
* Adapt storage: SyncServers write to file option, export FlushToFile
* CLI built-in updater for old and new PIA servers
* Update hardcoded IP addresses for PIA old and new servers
* Add PIA old to allServers struct and update timestamps
* Adapt code to work with new and old PIA servers
* Remove PIA subdomains (unneeded) from resolver tool
2020-08-28 08:17:04 -04:00
Quentin McGaw
99ba56f574
Fix server filtering using merged server data
2020-08-27 23:06:28 +00:00
Quentin McGaw
93aaf1ab02
Fix exiting without fatalOnError function
2020-08-27 22:59:58 +00:00
Quentin McGaw
aa9693a84d
Persistent server pools ( #226 )
...
* GetAllServers with version & timestamp tests
* Storage package to sync servers
* Use storage Sync to get and use servers
2020-08-25 19:38:50 -04:00
Quentin McGaw
6fc2b3dd21
Mullvad servers do not have a default port
...
- Refers to #218
- Checks for custom port value depending on protocol
- Remove default port from server constants
- Use 443 and 1194 ports respectively for tcp and udp
v3.2.0
2020-08-24 01:53:24 +00:00
hyness
7e3e6f166a
Add new PIA servers hostnames to resolver tool ( #222 )
...
Refers to #216
2020-08-20 19:20:59 -04:00
Quentin McGaw
c614a192a4
Shadowsocks in Go ( #220 ), fixes #211
2020-08-20 19:19:54 -04:00
Quentin McGaw
b10a476622
Default status file base directory /tmp/gluetun
2020-08-18 01:08:24 +00:00
Quentin McGaw
15ddbdefef
Bump versions and binary build changes
...
- Go version 1.15
- Golangci-lint 1.30
- Trim path of binary built
2020-08-17 20:39:49 -04:00
Quentin McGaw
78323f0a33
Update PIA IP addresses, fixes #215
2020-08-08 16:27:51 +00:00
Quentin McGaw
cd60fe4406
Add PIA US Dallas region, refers to #212
2020-07-28 02:40:38 +00:00
Quentin McGaw
a2a9410053
Fix #212
2020-07-28 00:31:19 +00:00
Quentin McGaw
f95f6201b1
Rename repo to Gluetun, refers to #112
2020-07-26 12:07:06 +00:00
Quentin McGaw
90e5742211
Reduce readme size
v3.1.0
2020-07-25 11:55:35 -04:00
Quentin McGaw
8f547500d0
Purevpn support ( #208 )
...
Fixes #192
2020-07-25 11:19:45 -04:00
Quentin McGaw
0811b8b099
Server filtering fixes for Mullvad and Nordvpn
2020-07-23 02:16:12 +00:00
Quentin McGaw
c5c53a2ff8
FatalOnError fixes
2020-07-23 02:15:37 +00:00
Quentin McGaw
0ce129b63d
Make all variables behave like server filters
2020-07-23 01:48:18 +00:00
Quentin McGaw
fec1249293
Uniformize server selection filtering
2020-07-23 01:46:28 +00:00
Quentin McGaw
a5c35455d1
Update PIA IP addresses
2020-07-20 02:32:02 +00:00
Quentin McGaw
28e0abc922
FIREWALL_VPN_INPUT_PORTS variable, fixes #196
2020-07-20 02:07:13 +00:00
Quentin McGaw
a13be8f45e
Firewall simplifications
...
- Only a map of allowed input port to interface
- port forwarded is in the map of allowed input ports
- port forwarded has the interface tun0 in this map
- Always allow tcp and udp for allowed input ports
- Port forward state is in openvpn looper only
- Shadowsocks input port allowed on default interface only
- Tinyproxy input port allowed on default interface only
2020-07-20 00:39:59 +00:00
Quentin McGaw
85bd4f2e8d
Get default route and local subnet only at start
2020-07-20 00:35:53 +00:00
Quentin McGaw
4baf0420d6
Openvpn get settings http route
2020-07-19 14:26:24 +00:00
Quentin McGaw
29f74df450
Fix #202
2020-07-19 14:22:23 +00:00
Quentin McGaw
fab9939b26
Simplify DNS loop a bit and fixes #199
2020-07-17 01:16:49 +00:00
Quentin McGaw
b4a4e441c1
Fix #199 when ticker period is 0
v3.0.1
2020-07-16 12:00:25 +00:00
Quentin McGaw
e8526141be
Fix issues in readme
2020-07-16 01:52:09 +00:00
Quentin McGaw
9abb630692
Get and set settings for DNS
2020-07-16 01:45:05 +00:00