微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

torsocks 分段错误 OSX

如何解决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 举报,一经查实,本站将立刻删除。