Update Obfsproxy Instructions to incorporate recent debian packages
On Ubuntu 12.04 "precise" I am able to install obfsproxy from packages instead of compiling as described at [https://www.torproject.org/projects/obfsproxy-instructions.html.en]
More specifically, I was able to do:
$> sudo apt-get install -y tor obfsproxy
...
$> which obfsproxy
/usr/bin/obfsproxy
$> obfsproxy --version
obfsproxy 0.1.4 (git-94ebc4c3edf1e3e5)
Now the torrc configuration line for a bridge changes to:
ServerTransportPlugin obfs2 exec /usr/bin/obfsproxy --managed
although I am still battling with a problem that this doesn't work with the usual sequence:
$> sudo service tor start
as there is something going on with user privileges... (I'm currently thinking this is due to my init script but maybe this was the default init script.):
$ sudo tail -f /var/log/tor/log
[warn] Could not launch managed proxy executable at '/usr/bin/obfsproxy' ('Permission denied').
When adding the Log option to the torrc:
$ sudo grep obfs /var/log/tor/debug.log
[info] launch_managed_proxy(): Managed proxy at '/usr/bin/obfsproxy' has spawned with PID '20876'.
[info] handle_proxy_line(): Got a line from managed proxy '/usr/bin/obfsproxy': (ERR: Failed to spawn background process - code 9/D)
[warn] Could not launch managed proxy executable at '/usr/bin/obfsproxy' ('Permission denied').
This probably warrants its own bug... Anyway, more details on using the debian package would be appreciated. Thanks! Linda
P.S. (This is actually for Obfsproxy 0.1.4 but there was no such choice in the Version: menu)