Hi Tim
On Tue, Sep 22, 2015, at 01:40 AM, Tim Wilson-Brown - teor wrote:
On 21 Sep 2015, at 19:59, Geoff Down geoffdown@fastmail.net wrote:
Hi all, is anyone willing to talk me through getting Obfsproxy working on OSX10.4? I've got as far as Step 3 on https://www.torproject.org/projects/obfsproxy-instructions.html.en#instructi... but can't find the Obfsproxy binary; and since I have no idea what 'pip' does, even though it reports the 'package' as installed, I am at a loss.
Hi Geoff,
Can you provide information on how (or if) you installed python and tor on OS X 10.4? As there is no standard package manager on OS X, you may have used fink, MacPorts, HomeBrew, or custom builds. Each of these methods installs in a different location.
Macports for Python and pip, compiled from source tarball for Tor.
It also helps to let us know what you’ve tried already. Have you tried looking in /usr/local/bin ? Have you tried searching your $PATH using command -V obfsproxy ?
is 'command' like 'which'? That failed - I tried all the usual places like /opt/local/bin where Macports puts things. But:
Have you tried looking in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages , or the $PYTHONPATH used by your package manager / python install?
I wouldn't have known about (and still don't) $PYTHONPATH - I don't use Python for anything else, it's just a black box to me. I did find obfsproxy at /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/obfsproxy eventually (I was expecting something larger than 401 bytes) and have made a symlink from /usr/bin/ to ease access. Now that I can run it, will it be ok running as the same user as my (unpriviliged) Tor process? I assume the ServerTransportPlugin obfs3 exec /usr/local/bin/obfsproxy managed line in the torrc will result in obfsproxy running as a child process?
It’s also worth noting that obfs4 is the latest version of obfsproxy. It’s written in Go, and installation instructions are at https://github.com/Yawning/obfs4 https://github.com/Yawning/obfs4
Let's not try to run before we can crawl - see my other thread 'Non-standard Bridge' (might be working but no entry in Globe yet). One unknown programming language at a time please.
Thanks! Geoff