【问题标题】:rsync and torsocks error: connection refused (111) and error in socket IO (code 10)rsync 和 torsocks 错误:连接被拒绝(111)和套接字 IO 错误(代码 10)
【发布时间】:2019-11-01 20:44:12
【问题描述】:

我想使用 rsync 和 torsocks 从 tor(.onion 站点)下载一些文件(我在 Linux 上):

torsocks rsync rsync://root@snatchvwddns6zto.onion/targets/perceptics.com/

它返回错误:

1560930992 PERROR torsocks[13894]: socks5 libc connect: Connection refused (in socks5_connect() at socks5.c:202)
rsync: failed to connect to snatchvwddns6zto.onion (127.42.42.0): Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(127) [Receiver=3.1.3]

洋葱网站snatchvwddns6zto.onion/targets/perceptics.com/ 功能齐全

已经将 torsocks.conf 文件的端口更改为 tor 已经打开的相同端口 (9051),但仍然无法正常工作。 即使尝试进行身份验证:

echo -e 'AUTHENTICATE "passwordhere"\r\nsignal NEWNYM\r\nQUIT' | nc 127.0.0.1 9051

它返回:

(UNKNOWN) [127.0.0.1] 9051 (?) : Connection refused

torsocks.conf:

TorAddress 127.0.0.1
TorPort 9150

有人知道如何解决错误吗?

【问题讨论】:

  • torsocks rsync -avzr rsync://root@snatchvwddns6zto.onion:/perceptics.com .

标签: proxy rsync tor connection-refused torsocks


【解决方案1】:

您还可以公开 SSH 端口而不是 rsync 端口,并执行以下操作:

torify rsync -e "ssh -p 9051" root@snatchvwddns6zto.onion:targets/perceptics.com/ ./

【讨论】:

    猜你喜欢
    • 2016-01-31
    • 2013-12-19
    • 1970-01-01
    • 1970-01-01
    • 2017-09-08
    • 2017-07-01
    • 1970-01-01
    • 1970-01-01
    • 2015-12-13
    相关资源
    最近更新 更多