Eu moro no Irã, eu preciso usar tor com pontes obfs3, então eu faço abaixo das tarefas, respectivamente:
apt-get install tor torsocks obfsproxy
Eu adiciono estas linhas no final de / etc / tor / torrc
RunAsDaemon 0
UseBridges 1
Bridge obfs3 xxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
Bridge obfs3 xxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
Bridge obfs3 xxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
ClientTransportPlugin obfs3 exec /usr/bin/obfsproxy --managed
então eu faço o seguinte:
sudo systemctl start tor
sudo systemctl enable tor
root@KC:~/Downloads# systemctl status tor
● tor.service - Anonymizing overlay network for TCP (multi-instance-master)
Loaded: loaded (/lib/systemd/system/tor.service; enabled; vendor preset: enabled)
Active: active (exited) since Fri 2016-10-21 13:02:10 IRST; 3h 47min ago
Main PID: 5944 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/tor.service
Oct 21 13:02:10 KC systemd[1]: Starting Anonymizing overlay network for TCP (multi-instance-master)...
Oct 21 13:02:10 KC systemd[1]: Started Anonymizing overlay network for TCP (multi-instance-master).
==========
root@KC:~/Downloads# journalctl _PID=5957
-- Logs begin at Thu 2016-10-20 22:16:49 IRST, end at Fri 2016-10-21 16:50:09 IRST. --
Oct 21 13:02:10 KC tor[5957]: Oct 21 13:02:10.909 [notice] Tor v0.2.8.8 (git-8d8a099454d994bd) running on Linux with Libevent 2.0.21-s
Oct 21 13:02:10 KC tor[5957]: Oct 21 13:02:10.909 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www
Oct 21 13:02:10 KC tor[5957]: Oct 21 13:02:10.909 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc".
Oct 21 13:02:10 KC tor[5957]: Oct 21 13:02:10.909 [notice] Read configuration file "/etc/tor/torrc".
Oct 21 13:02:10 KC tor[5957]: Oct 21 13:02:10.913 [notice] Opening Socks listener on 127.0.0.1:9050
==========
root@KC:~/Downloads# journalctl _PID=5960
Oct 21 13:02:10 KC audit[5960]: AVC apparmor="DENIED" operation="exec" info="no new privs" error=-1 profile="system_tor" name="/usr/bin/obfsproxy" pid=5960 comm="tor" requested_mask="x" denied_mask="x" fsuid=125 ouid=0 target="/usr/bin/obfsproxy"
mesmo quando omito as linhas que adicionei ao / etc / tor / torrc, o resultado "systemctl status tor" é o mesmo que acima!
root@KC:~/Downloads# tail /etc/tor/torrc | tail
## RunAsDaemon 0
## UseBridges 1
## Bridge obfs3 xxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
## Bridge obfs3 xxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
## Bridge obfs3 xxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
## ClientTransportPlugin obfs3 exec /usr/bin/obfsproxy --managed
==========
systemctl restart tor
journalctl -a | tail -n 20
Oct 21 17:08:06 KC systemd[1]: Stopping Anonymizing overlay network for TCP (multi-instance-master)...
Oct 21 17:08:06 KC systemd[1]: Starting Anonymizing overlay network for TCP (multi-instance-master)...
Oct 21 17:08:06 KC systemd[1]: Stopping Anonymizing overlay network for TCP...
Oct 21 17:08:06 KC systemd[1]: Started Anonymizing overlay network for TCP (multi-instance-master).
Oct 21 17:08:06 KC systemd[1]: Stopped Anonymizing overlay network for TCP.
Oct 21 17:08:06 KC systemd[1]: Starting Anonymizing overlay network for TCP...
Oct 21 17:08:06 KC tor[8927]: Oct 21 17:08:06.685 [notice] Tor v0.2.8.8 (git-8d8a099454d994bd) running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.2g and Zlib 1.2.8.
Oct 21 17:08:06 KC tor[8927]: Oct 21 17:08:06.685 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Oct 21 17:08:06 KC tor[8927]: Oct 21 17:08:06.685 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc".
Oct 21 17:08:06 KC tor[8927]: Oct 21 17:08:06.685 [notice] Read configuration file "/etc/tor/torrc".
Oct 21 17:08:06 KC tor[8927]: Configuration was valid
Oct 21 17:08:06 KC tor[8930]: Oct 21 17:08:06.910 [notice] Tor v0.2.8.8 (git-8d8a099454d994bd) running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.2g and Zlib 1.2.8.
Oct 21 17:08:06 KC tor[8930]: Oct 21 17:08:06.910 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Oct 21 17:08:06 KC tor[8930]: Oct 21 17:08:06.910 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc".
Oct 21 17:08:06 KC tor[8930]: Oct 21 17:08:06.910 [notice] Read configuration file "/etc/tor/torrc".
Oct 21 17:08:06 KC tor[8930]: Oct 21 17:08:06.914 [notice] Opening Socks listener on 127.0.0.1:9050
Oct 21 17:08:06 KC audit[8931]: AVC apparmor="DENIED" operation="exec" info="no new privs" error=-1 profile="system_tor" name="/usr/bin/obfsproxy" pid=8931 comm="tor" requested_mask="x" denied_mask="x" fsuid=125 ouid=0 target="/usr/bin/obfsproxy"
Oct 21 17:08:06 KC kernel: audit: type=1400 audit(1477057086.920:79): apparmor="DENIED" operation="exec" info="no new privs" error=-1 profile="system_tor" name="/usr/bin/obfsproxy" pid=8931 comm="tor" requested_mask="x" denied_mask="x" fsuid=125 ouid=0 target="/usr/bin/obfsproxy"
Oct 21 17:08:07 KC systemd[1]: Started Anonymizing overlay network for TCP.
Oct 21 17:08:30 KC zeitgeist-datah[2486]: downloads-directory-provider.vala:120: Couldn't process /home/kave/Downloads/.swpx: Error when getting information for file '/home/kave/Downloads/.swpx': No such file or directory
=========
root@KC:~/Downloads# systemctl status tor
● tor.service - Anonymizing overlay network for TCP (multi-instance-master)
Loaded: loaded (/lib/systemd/system/tor.service; enabled; vendor preset: enabled)
Active: active (exited) since Fri 2016-10-21 17:11:22 IRST; 6s ago
Process: 8984 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 8984 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/tor.service
Eu não consigo entender qual é o problema Eu tenho certeza que a fonte do problema não é obfs3 como provei acima