Feature: Multiple IPs for each Torguard server

- Fallback on IP from configuration file if DNS resolution fails
- Download both TCP and UDP zip files to detect support for each
- Filter servers by supported network protocol
-
This commit is contained in:
Quentin McGaw
2021-05-10 01:48:52 +00:00
parent eff65dce00
commit 95b0fb81d6
9 changed files with 248 additions and 119 deletions

View File

@@ -92,7 +92,7 @@ func Test_versions(t *testing.T) {
"Torguard": {
model: models.TorguardServer{},
version: allServers.Torguard.Version,
digest: "752702f3",
digest: "6eb9028e",
},
"Vyprvpn": {
model: models.VyprvpnServer{},
@@ -198,7 +198,7 @@ func Test_timestamps(t *testing.T) {
"Torguard": {
servers: allServers.Torguard.Servers,
timestamp: allServers.Torguard.Timestamp,
digest: "dffab93e",
digest: "af54b9e8",
},
"Vyprvpn": {
servers: allServers.Vyprvpn.Servers,