proxy - problem using tor with obfsproxy - Ask Ubuntu
i live in iran , need use tor obfs3 bridges below tasks respectively :
apt-get install tor torsocks obfsproxy
i append these lines @ end of /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
then following :
sudo systemctl start tor sudo systemctl enable tor root@kc:~/downloads# systemctl status tor ● tor.service - anonymizing overlay network 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 tcp (multi-instance-master)... oct 21 13:02:10 kc systemd[1]: started anonymizing overlay network tcp (multi-instance-master).
==========
root@kc:~/downloads# journalctl _pid=5957 -- logs begin @ thu 2016-10-20 22:16:49 irst, end @ 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 libevent 2.0.21-s oct 21 13:02:10 kc tor[5957]: oct 21 13:02:10.909 [notice] tor can't if use wrong! learn how safe @ 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"
even when omit lines added /etc/tor/torrc , "systemctl status tor" result's same above !
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 tcp (multi-instance-master)... oct 21 17:08:06 kc systemd[1]: starting anonymizing overlay network tcp (multi-instance-master)... oct 21 17:08:06 kc systemd[1]: stopping anonymizing overlay network tcp... oct 21 17:08:06 kc systemd[1]: started anonymizing overlay network tcp (multi-instance-master). oct 21 17:08:06 kc systemd[1]: stopped anonymizing overlay network tcp. oct 21 17:08:06 kc systemd[1]: starting anonymizing overlay network 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 libevent 2.0.21-stable, openssl 1.0.2g , zlib 1.2.8. oct 21 17:08:06 kc tor[8927]: oct 21 17:08:06.685 [notice] tor can't if use wrong! learn how safe @ 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 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 libevent 2.0.21-stable, openssl 1.0.2g , zlib 1.2.8. oct 21 17:08:06 kc tor[8930]: oct 21 17:08:06.910 [notice] tor can't if use wrong! learn how safe @ 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 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 file '/home/kave/downloads/.swpx': no such file or directory
=========
root@kc:~/downloads# systemctl status tor ● tor.service - anonymizing overlay network 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
i cant understand problem i'm sure source of problem not obfs3 proxy prove above
i stop systemd's tor unit command
sudo systemctl stop tor.service
then ran 1 instead
kave@kc:/var/log/tor$ sudo tor oct 22 13:01:21.014 [notice] tor v0.2.8.8 (git-8d8a099454d994bd) running on linux libevent 2.0.21-stable, openssl 1.0.2g , zlib 1.2.8. oct 22 13:01:21.014 [notice] tor can't if use wrong! learn how safe @ https://www.torproject.org/download/download#warning oct 22 13:01:21.014 [notice] read configuration file "/etc/tor/torrc". oct 22 13:01:21.019 [notice] opening socks listener on 127.0.0.1:9050 oct 22 13:01:21.000 [notice] parsing geoip ipv4 file /usr/share/tor/geoip. oct 22 13:01:21.000 [notice] parsing geoip ipv6 file /usr/share/tor/geoip6. oct 22 13:01:21.000 [warn] running tor root. don't need to, , shouldn't. oct 22 13:01:21.000 [notice] bootstrapped 0%: starting oct 22 13:01:21.000 [notice] new bridge descriptor 'privacyisforpeople' (cached): $0edff2e6398be110dcb7d057d9027d4194a4150d~privacyisforpeople @ x.x.x.x oct 22 13:01:21.000 [notice] new bridge descriptor 'a2e00chi01' (cached): $f2670636cd9bd1debe6a276d82774ca1de664fdf~a2e00chi01 @ y.y.y.y oct 22 13:01:21.000 [notice] new bridge descriptor 'a2e00buf02' (cached): $472b0763df08dc150ebce6da6fac3e3507e6ea62~a2e00buf02 @ z.z.z.z oct 22 13:01:21.000 [notice] delaying directory fetches: pluggable transport proxies still configuring oct 22 13:01:23.000 [notice] bootstrapped 5%: connecting directory server oct 22 13:01:23.000 [notice] bootstrapped 10%: finishing handshake directory server oct 22 13:01:26.000 [notice] bootstrapped 15%: establishing encrypted directory connection oct 22 13:01:26.000 [notice] bootstrapped 20%: asking networkstatus consensus oct 22 13:01:27.000 [notice] bootstrapped 25%: loading networkstatus consensus oct 22 13:01:31.000 [notice] bootstrapped 80%: connecting tor network oct 22 13:01:31.000 [notice] bootstrapped 90%: establishing tor circuit oct 22 13:01:33.000 [notice] tor has opened circuit. looks client functionality working. oct 22 13:01:33.000 [notice] bootstrapped 100%: done oct 22 13:01:54.000 [warn] rejecting socks request anonymous connection private address [scrubbed].
now works ! wonder why 1 works !
Comments
Post a Comment