[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #24203 [Core Tor/Tor]: Snowflake can't be configured to run with system tor: ENV-ERROR no TOR_PT_STATE_LOCATION environment variable
#24203: Snowflake can't be configured to run with system tor: ENV-ERROR no
TOR_PT_STATE_LOCATION environment variable
--------------------------+-----------------------------------
Reporter: cypherpunks | Owner: (none)
Type: defect | Status: needs_information
Priority: Medium | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Major | Resolution:
Keywords: snowflake | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+-----------------------------------
Changes (by dcf):
* status: new => needs_information
Comment:
cypherpunks, what version of Tor Browser did you copy snowflake-client
from? And does Snowflake work inside Tor Browser (not with system tor)? I
ask because I tried with [https://archive.torproject.org/tor-package-
archive/torbrowser/7.5a4/tor-browser-linux64-7.5a4_en-US.tar.xz tor-
browser-linux64-7.5a4_en-US.tar.xz] and I didn't get the ENV-ERROR from
comment:3; rather I got the libatomic error from #24465/#25087:
{{{
# /usr/bin/snowflake-client -h
/usr/bin/snowflake-client: error while loading shared libraries:
libatomic.so.1: cannot open shared object file: No such file or directory
}}}
This is what I did:
* `wget http://archive.ubuntu.com/ubuntu/dists/artful/main/installer-
amd64/current/images/netboot/mini.iso`
* `qemu-img create -f qcow2 ubuntu.hda 5G`
* `kvm -cpu host -hda ubuntu.hda -cdrom mini.iso -k en-us -m 2G` and
install, halt
* `kvm -cpu host -hda ubuntu.hda -k en-us -m 2G`
Inside the VM:
* `sudo apt-get install tor`
* `wget https://archive.torproject.org/tor-package-
archive/torbrowser/7.5a4/tor-browser-linux64-7.5a4_en-US.tar.xz`
* `tar xf tor-browser-linux64-7.5a4_en-US.tar.xz`
* `sudo cp tor-browser_en-US/Browser/TorBrowser/Tor/PluggableTransports
/snowflake-client /usr/bin`
* `sudo chmod +rx /usr/bin/snowflake-client`
* Edit /etc/tor/torrc:
{{{
UseBridges 1
ClientTransportPlugin snowflake exec /usr/bin/snowflake-client
Bridge snowflake 0.0.3.0:1
}}}
* `sudo service tor restart` (Note I hadn't changed apparmor settings
yet.)
/var/log/syslog shows
{{{
Cloud not launch managed proxy executable at '/usr/bin/snowflake-client'
('Permission denied').
}}}
* Add to /etc/apparmor.d/abstractions/tor:
{{{
/usr/bin/snowflake-client ix,
}}}
* `sudo service apparmor restart`
* `sudo service tor restart` Now I get the expected error:
{{{
The communication stream of managed proxy '/usr/bin/snowflake-client' is
'closed'. Most probably the managed proxy stopped running. This might be a
bug of the managed proxy, a bug of Tor, or a misconfiguration. Please
enable logging on your managed proxy and check the logs for errors.
}}}
* `/usr/bin/snowflake-client -h`
{{{
/usr/bin/snowflake-client: error while loading shared libraries:
libatomic.so.1: cannot open shared object file: No such file or directory
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24203#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs