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. Regards, Geoff Down
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.
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 ? 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?
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
I’m not sure if obfs4 is ready to be included in the instructions at https://www.torproject.org/projects/obfsproxy-instructions.html.en#instructi... https://www.torproject.org/projects/obfsproxy-instructions.html.en#instructions , or if it could have been added long ago.
Tim
Tim Wilson-Brown (teor)
teor2345 at gmail dot com PGP 968F094B
teor at blah dot im OTR CAD08081 9755866D 89E2A06F E3558B7F B5A9D14F
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
On 22 Sep 2015, at 12:00, Geoff Down geoffdown@fastmail.net wrote:
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.
...
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?
Yes, they will run as the same user.
I assume the ServerTransportPlugin obfs3 exec /usr/local/bin/obfsproxy managed line in the torrc will result in obfsproxy running as a child process?
Yes, this is why they run as the same user.
Tim
Tim Wilson-Brown (teor)
teor2345 at gmail dot com PGP 968F094B
teor at blah dot im OTR CAD08081 9755866D 89E2A06F E3558B7F B5A9D14F
On Tue, Sep 22, 2015, at 03:51 AM, Tim Wilson-Brown - teor wrote:
On 22 Sep 2015, at 12:00, Geoff Down geoffdown@fastmail.net wrote:
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.
...
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?
Yes, they will run as the same user.
I assume the ServerTransportPlugin obfs3 exec /usr/local/bin/obfsproxy managed line in the torrc will result in obfsproxy running as a child process?
Yes, this is why they run as the same user.
Tim
I have Python crash events in /Library/Logs/CrashReporter/Python.crash.log , but the original process is still running. I can connect to the obfsproxy port, but is there any other way to check it is still functioning? Will a SIGHUP to the Tor process restart it, or do I need to kill the old obfsproxy process first? Thanks again GD
On 8 Oct 2015, at 02:51, Geoff Down geoffdown@fastmail.net wrote:
...
I have Python crash events in /Library/Logs/CrashReporter/Python.crash.log , but the original process is still running.
Why did Python crash?
I can connect to the obfsproxy port, but is there any other way to check it is still functioning?
Set it as a bridge in Tor Browser and try to connect through it.
Will a SIGHUP to the Tor process restart it, or do I need to kill the old obfsproxy process first?
Hmm, I’m not sure, it should, but I think there are cases where this doesn’t happen.
Tim
Tim Wilson-Brown (teor)
teor2345 at gmail dot com PGP 968F094B
teor at blah dot im OTR CAD08081 9755866D 89E2A06F E3558B7F B5A9D14F
tor-relays@lists.torproject.org