obfsproxy can't be started on Ubuntu 16.04

Asked by Romik Forest

I use Ubuntu Studio 16.04, 4.4.0-22-lowlatency and can't start obfsproxy

$cat /etc/tor/torrc:

SocksPort 0
ORPort auto
BridgeRelay 1
Exitpolicy reject *:*

## CHANGEME_1 -> provide a nickname for your bridge, can be anything you like
#Nickname CHANGEME_1
## CHANGEME_2 -> provide some email address so we can contact you if there's a problem
#ContactInfo CHANGEME_2

#ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy
ServerTransportPlugin obfs3 exec /usr/bin/obfsproxy --managed

$ sudo service tor restart
$ grep warn /var/log/tor/log

May 17 13:13:17.000 [warn] Unable to send readiness to systemd: Unknown error -13
May 17 13:13:18.000 [warn] Could not launch managed proxy executable at '/usr/bin/obfsproxy' ('Operation not permitted').

Accordingly http://tor.stackexchange.com/questions/3723/obfsproxy-problem-in-ubuntu it can be apparmor configuration problem, but there are lines like

/usr/bin/obfsproxy PUx,
/usr/bin/obfs4proxy PUx,

in /etc/apparmor.d/abstractions/tor

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu obfsproxy Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

How did you install obfsproxy?

Revision history for this message
Romik Forest (forest-software) said :
#2

package obfsproxy 0.2.13-1 (xenial), net(universe)

I'm tying to follow instructions on help.ubuntu.ru

$sudo apt-get install tor tor-geoipdb privoxy

$sudo nano /etc/privoxy/config

$ cat /etc/privoxy/config

# Generally, this file goes in /etc/privoxy/config
#
# Tor listens as a SOCKS5 proxy here:
forward-socks5 / 127.0.0.1:9050 .
confdir /etc/privoxy
logdir /var/log/privoxy
# actionsfile standard # Internal purpose, recommended
actionsfile default.action # Main actions file
actionsfile user.action # User customizations
filterfile default.filter

# Don't log interesting things, only startup messages, warnings and errors
logfile logfile
#jarfile jarfile
#debug 0 # show each GET/POST/CONNECT request
debug 4096 # Startup banner and warnings
debug 8192 # Errors - *we highly recommended enabling this*

user-manual /usr/share/doc/privoxy/user-manual
listen-address 127.0.0.1:8118
toggle 1
enable-remote-toggle 0
enable-edit-actions 0
enable-remote-http-toggle 0
buffer-limit 4096

$sudo /etc/init.d/privoxy restart

$sudo apt-get install obfsproxy

$sudo nano /etc/tor/torrc

$cat nano /etc/tor/torrc

SocksPort 9050
ORPort auto
BridgeRelay 1
Exitpolicy reject *:*

## CHANGEME_1 -> provide a nickname for your bridge, can be anything you like
#Nickname CHANGEME_1
## CHANGEME_2 -> provide some email address so we can contact you if there's a problem
#ContactInfo CHANGEME_2

ServerTransportPlugin obfs3 exec /usr/bin/obfsproxy managed

$sudo service tor restart

$sleep ...

$cat /var/log/tor/log

Here obfsproxy is not accessible.

Next steep must be setting up bridges

Bridges info https://bridges.torproject.org/bridges?transport=obfs3

$cat /etc/tor/torrc

Bridge obfs3 <IP-address 1:port 1> <Fingerprint of bridge 1>
Bridge obfs3 <IP-address 2:port 2> <Fingerprint of bridge 2>
UseBridges 1
ClientTransportPlugin obfs3 exec /usr/bin/obfsproxy managed

$sudo service tor restart

...Also not working

Can you help with this problem?

Provide an answer of your own, or ask Romik Forest for more information if necessary.

To post a message you must log in.