我的系统(debian)上有TOR设置,经过测试并运行良好.我想要做的是通过此设置代理HTTPS请求.
只是https工作:
curl https://www.reg.ru/whois/?dname=google.com
Tor + http工作
curl --socks5 127.0.0.1:9050 http://stackoverflow.com/
但是使用https的tor不起作用:
curl --socks5 127.0.0.1:9050 https://www.torproject.org/download/download.html.en
我收到一个错误 curl: (6) Failed to resolve "www.torproject.org" for SOCKS5 connect.
我怎么解决这个问题?
And*_*ris 41
我有类似的问题,使用选项--socks5-hostname
而不是--socks5
指定curl的代理解决了这个问题.
归档时间: |
|
查看次数: |
40566 次 |
最近记录: |