From 608da0baa90bda91738e5e16b816b4317d124fbd Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Fri, 2 Jul 2021 23:38:40 +0300 Subject: [PATCH] remove mentions of unknown proxy types --- README.md | 4 ++-- main.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1b65163..e0f20a6 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Standalone Hola proxy client. Just run it and it'll start a plain HTTP proxy server forwarding traffic through Hola proxies of your choice. By default the application listens on 127.0.0.1:8080. -Application is capable to forward traffic via proxies in datacenters (flag `-proxy-type direct`, default) or via peer proxies on residental IPs (consumer ISP) in that country (flag `-proxy-type pool` or `-proxy-type lum`). +Application is capable to forward traffic via proxies in datacenters (flag `-proxy-type direct`, default) or via peer proxies on residental IPs (consumer ISP) in that country (flag `-proxy-type lum`). --- @@ -164,7 +164,7 @@ zagent248.hola.org,165.22.65.3,22222,22223,22224,22225,22226,digitalocean | list-countries | String | list available countries and exit | | list-proxies | - | output proxy list and exit | | proxy | String | sets base proxy to use for all dial-outs. Format: `://[login:password@]host[:port]` Examples: `http://user:password@192.168.1.1:3128`, `socks5://10.0.0.1:1080` | -| proxy-type | String | proxy type (Datacenter: direct, virt) (Residential: peer, lum, pool) (default "direct") | +| proxy-type | String | proxy type (Datacenter: direct) (Residential: lum) (default "direct") | | resolver | String | DNS/DoH/DoT resolver to workaround Hola blocked hosts. See https://github.com/ameshkov/dnslookup/ for upstream DNS URL format. (default "https://cloudflare-dns.com/dns-query") | | rotate | Duration | rotate user ID once per given period (default 1h0m0s) | | timeout | Duration | timeout for network operations (default 10s) | diff --git a/main.go b/main.go index 4e5d83f..2973a28 100644 --- a/main.go +++ b/main.go @@ -64,7 +64,7 @@ func parse_args() CLIArgs { "(10 - debug, 20 - info, 30 - warning, 40 - error, 50 - critical)") flag.DurationVar(&args.timeout, "timeout", 10*time.Second, "timeout for network operations") flag.DurationVar(&args.rotate, "rotate", 1*time.Hour, "rotate user ID once per given period") - flag.StringVar(&args.proxy_type, "proxy-type", "direct", "proxy type: direct or peer or lum or virt or pool") // or skip but not mentioned + flag.StringVar(&args.proxy_type, "proxy-type", "direct", "proxy type: direct or lum") // or skip but not mentioned // skip would be used something like this: `./bin/hola-proxy -proxy-type skip -force-port-field 24232 -country ua.peer` for debugging flag.StringVar(&args.resolver, "resolver", "https://cloudflare-dns.com/dns-query", "DNS/DoH/DoT resolver to workaround Hola blocked hosts. "+