如何在 Tails 上正确设置 Tor -> Socks 和代理链?

如何在 Tails 上正确设置 Tor -> Socks 和代理链?

目标:Tor 浏览器 -> Socks5 代理 操作系统:Tails

为了测试目的,我从这里选择了一个 socks 代理(例如 159.253.191.110:61111)。

我安装了 proxychains,然后编辑了配置文件:

sudo apt-get update
sudo apt-get install proxychains
nano /etc/proxychains.conf

我在 Tor 代理下添加了我的代理:

socks4 127.0.0.1 9050
socks5 159.253.191.110 61111

现在我想运行 proxychains

proxychains tor

我看到了这个……

 ControlPort is open, but no authentication method has been     
 This means that any program on your computer can reconfigure your Tor.  
 That's bad!  You should upgrade your Tor controller as soon as 
 possible. Nov 30 18:33:23.480 [notice] Opening Socks listener on 
 127.0.0.1:9050 Nov 30 18:33:23.480 [warn] Could not bind to 
 127.0.0.1:9050: Address already in use. Is Tor already running? Nov 30 
 18:
 33:23.480 [notice] Opening Socks listener on 127.0.0.1:9061
 Nov 30 18:33:23.480 [warn] Could not bind to 127.0.0.1:9061: 
 Address already in use. Is Tor already running?
 Nov 30 18:33:23.480 [notice] Opening Socks listener on 
 127.0.0.1:9062
 Nov 30 18:33:23.480 [warn] Could not bind to 127.0.0.1:9062: 
 Address already in use. Is Tor already running?
 Nov 30 18:33:23.480 [notice] Opening Socks listener on 127.0.0.1:9150 
 Nov 30 18:33:23.480 [warn] Could not bind to 127.0.0.1:9150: Address 
 already in use. Is Tor already running
 #etc.

...所以我决定“sudo killall tor”并再次运行“proxychains tor”:

 root@amnesia:/home/amnesia# proxychains tor
 ProxyChains-3.1 (http://proxychains.sf.net)
 Nov 30 18:45:40.215 [notice] Tor v0.2.7.4-rc 
 (git-6c4f0850146d706c)running 
 on Linux with Libevent 2.0.19-stable, OpenSSL 1.0.1e and Zlib 1.2.7.

 Nov 30 18:45:40.215 [notice] Tor can't help you if you use it wrong! 
 Learn how to be safe at https://www.torproject.org/download
 /download#warning

 Nov 30 18:45:40.215 [notice] Read configuration file "/etc/tor/torrc".

 Nov 30 18:45:40.218 [warn] ControlPort is open, but no authentication  
 method 
 has been configured.  This means that any program on your computer can 

 reconfigure your Tor.  That's bad!  You should upgrade your Tor  
 controller as soon as possible.

 Nov 30 18:45:40.218 [notice] Opening Socks listener on 127.0.0.1:9050

 Nov 30 18:45:40.218 [notice] Opening Socks listener on 127.0.0.1:9061

 Nov 30 18:45:40.218 [notice] Opening Socks listener on 127.0.0.1:9062

 Nov 30 18:45:40.218 [notice] Opening Socks listener on 127.0.0.1:9150

 Nov 30 18:45:40.219 [notice] Opening DNS listener on 127.0.0.1:5353

 Nov 30 18:45:40.219 [notice] Opening Transparent pf/netfilter listener on 
 127.0.0.1:9040

 Nov 30 18:45:40.219 [notice] Opening Control listener on 127.0.0.1:9051

 Nov 30 18:45:40.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/g     eoip.

 Nov 30 18:45:40.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/g     eoip6.

 Nov 30 18:45:40.000 [warn] You are running Tor as root. You don't need to, 
 and you probably shouldn't.

 |DNS-response|: amnesia is not exist

 |DNS-response|: amnesia is not exist

 |DNS-response|: amnesia is not exist

 Nov 30 18:45:40.000 [notice] Bootstrapped 0%: Starting

 Nov 30 18:45:41.000 [notice] Bootstrapped 5%: Connecting to server
 ============================================================       
 T=1448909141

 (Sandbox) Caught a bad syscall attempt (syscall fcntl64)

 tor(+0x1587d9)[0xf764f7d9]

 /lib/i386-linux-gnu/libc.so.6(fcntl+0x36)[0xf61f8036]

 /lib/i386-linux-gnu/libc.so.6(fcntl+0x36)[0xf61f8036]

 /usr/lib/libproxychains.so.3(connect+0x1a3)[0xf65440f3]

 tor(+0xdfa69)[0xf75d6a69]

 root@amnesia:/home/amnesia# 

显然现在 Socks Listener 正在工作,但我该如何解决其他问题,比如“捕获系统调用尝试”

我拼命想让它工作,真的很感激任何帮助(越容易解释越好,因为我从 Tails 开始)。

我该如何做才能让我的袜子地址真正显示为 ip?

我期待您的答复!

相关内容