Opened 7 years ago

Closed 6 years ago

#6991 closed enhancement (fixed)

Update Obfsproxy Instructions to incorporate recent debian packages

Reported by: linda Owned by: asn
Priority: Medium Milestone:
Component: Archived/Obfsproxy Version: Obfsproxy: 0.1.4
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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)

Child Tickets

Change History (5)

comment:1 in reply to:  description Changed 7 years ago by arma

Replying to linda:

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.):

Is your init script different from the default? In what way(s)?

comment:2 Changed 7 years ago by linda

Let me file a separate bug with more details about the starting problem, to keep this ticket about the online instructions. The new bug is #6996.

comment:3 Changed 7 years ago by arma

Version: Obfsproxy: 0.1.3Obfsproxy: 0.1.4

comment:4 Changed 7 years ago by arma

I believe https://www.torproject.org/projects/obfsproxy-debian-instructions might be what you're after, assuming you mean to set up obfsproxy as a bridge (rather than a client).

I'm still unclear on whether Ubuntu enables a Tor apparmor profile by default.

comment:5 Changed 6 years ago by asn

Resolution: fixed
Status: newclosed

Killing this. Also see #5914.
Reopen if you are not happy.

Note: See TracTickets for help on using tickets.