Hello, When I run either ./obfs4proxy or obfs4proxy.go I get:
./obfs4proxy: line 1: /bin: Is a directory ./obfs4proxy: line 2: syntax error near unexpected token `(' ./obfs4proxy: line 2: ` * Copyright (c) 2014-2015, Yawning Angel <yawning at torproject dot org>'
Regards, J Chase
Hello, Thanks to you I have tor 0.2.5.11 running on a Raspberry Pi2 and obfs4 installed from git. I have good news and bad news. The largest problem is that I get the warning "could not launch managed proxy executable at '/path/obfs4proxy'('Permission denied')" In the past this used to be a problem with apparmor, but apparmor isn't installed. Any idea where I can start looking for a solution? Here are a couple of details and small problems: I didn't install obfs4 directly (due to problems), but installed it to another laptop and copied it to the Pi2 using scp.
Oh dear. What happens when you run the obfs4proxy executable in a shell directly (on the pi2)?
It should look something like: $ ./obfs4proxy 2015/04/12 20:13:02 [ERROR]: obfs4proxy - must be run as a managed transport
If not, what does 'file /path/obfs4proxy' say?
Regards,
On Thu, 16 Apr 2015 18:37:10 +0000 jchase jchase@riseup.net wrote:
Hello, When I run either ./obfs4proxy or obfs4proxy.go I get:
./obfs4proxy: line 1: /bin: Is a directory ./obfs4proxy: line 2: syntax error near unexpected token `(' ./obfs4proxy: line 2: ` * Copyright (c) 2014-2015, Yawning Angel <yawning at torproject dot org>'
Errr, that's not going to work, because that's the raw source code and not a compiled binary.
So you have a line somewhere in your torrc that says something that looks like:
ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy
What does "/usr/bin/obfs4proxy" (in my example, fix the paths as appropriate say), and is "/usr/bin/obfs4proxy" an actual ARM binary?
Regards,
tor-relays@lists.torproject.org