torsocks 分段错误 OSX

问题描述

我最近使用 brew 安装了 torsocks,但无法正常工作。 Tor 像往常一样在 localhost:9050 上运行。 torsocks 本身没有任何参数也可以正常工作,但是每次我使用 torsocks/torify 执行命令时,我都会遇到分段错误

编辑:csrutil 已禁用

➜  ~ tor
Jul 26 15:06:33.253 [notice] Tor 0.4.5.7 running on Darwin with Libevent 2.1.12-stable,OpenSSL 1.1.1k,Zlib 1.2.11,Liblzma N/A,Libzstd N/A and UnkNown N/A as libc.
Jul 26 15:06:33.253 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Jul 26 15:06:33.256 [notice] Read configuration file "/usr/local/etc/tor/torrc".
Jul 26 15:06:33.264 [notice] opening Socks listener on 127.0.0.1:9050
Jul 26 15:06:33.264 [notice] Opened Socks listener connection (ready) on 127.0.0.1:9050
Jul 26 15:06:33.264 [notice] opening Control listener on 127.0.0.1:9051
Jul 26 15:06:33.265 [notice] Opened Control listener connection (ready) on 127.0.0.1:9051
Jul 26 15:06:33.000 [notice] Parsing GEOIP IPv4 file /usr/local/Cellar/tor/0.4.5.7/share/tor/geoip.
Jul 26 15:06:33.000 [notice] Parsing GEOIP IPv6 file /usr/local/Cellar/tor/0.4.5.7/share/tor/geoip6.
Jul 26 15:06:33.000 [notice] Bootstrapped 0% (starting): Starting
Jul 26 15:06:34.000 [notice] Starting with guard context "default"
Jul 26 15:06:35.000 [notice] Bootstrapped 5% (conn): Connecting to a relay
Jul 26 15:06:35.000 [notice] Bootstrapped 10% (conn_done): Connected to a relay
Jul 26 15:06:36.000 [notice] Bootstrapped 14% (handshake): Handshaking with a relay
Jul 26 15:06:36.000 [notice] Bootstrapped 15% (handshake_done): Handshake with a relay done
Jul 26 15:06:36.000 [notice] Bootstrapped 75% (enough_dirinfo): Loaded enough directory info to build circuits
Jul 26 15:06:36.000 [notice] Bootstrapped 90% (ap_handshake_done): Handshake finished with a relay to build circuits
Jul 26 15:06:36.000 [notice] Bootstrapped 95% (circuit_create): Establishing a Tor circuit
Jul 26 15:06:36.000 [notice] Bootstrapped 100% (done): Done

➜  ~ torsocks curl google.com
[1]    2755 segmentation fault  torsocks curl google.com
➜  ~ torify curl google.com
[1]    2763 segmentation fault  torify curl google.com
➜  ~ torsocks --version
Torsocks 2.3.0

尝试重新安装但没有成功...

/usr/local/tor/torsocks.conf 看起来很认。

有人知道这件事吗? THX很多

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)