Kreyren / kreyren

Personal tracking for issues that i need to resolve to be used as a reference for someone else and/or for peer-review of the solution
GNU General Public License v3.0
3 stars 0 forks source link

Benchmark the proxy before it's being used #3

Open Kreyren opened 4 years ago

Kreyren commented 4 years ago

My system is using various free proxies which might be unreliable or too slow to be usable

--socks5 <host[:port]> can be used for this

HTTP_PROXY should be supported by some applications

socksify seems to be perfect, but doesn't work

kreyren@leonid:~$ socksify socks5 <IP>:<PORT> curl ifconfig.me
/usr/bin/socksify: 112: exec: socks5: not found

SOCKS_SERVER=<server>:<port> socksify curl ifconfig.me seems to work, but doesn't work for speedtest-cli

kreyren@leonid:~$ SOCKS_SERVER=45.55.230.207:30405 socksify speedtest-cli
Retrieving speedtest.net configuration...
Cannot retrieve speedtest configuration
ERROR: <urlopen error timed out>

Expectation

Something to wrap speedtest-cli in

Checklist