[tor-commits] [flashproxy/master] Update relay instructions.
dcf at torproject.org
dcf at torproject.org
Wed Jan 30 05:11:38 UTC 2013
commit 37f3b810603fb8d733aca91ae04ce9a5d921eaa9
Author: David Fifield <david at bamsoftware.com>
Date: Mon Nov 26 21:15:13 2012 -0800
Update relay instructions.
---
README | 29 +++++++++++------------------
1 files changed, 11 insertions(+), 18 deletions(-)
diff --git a/README b/README
index efcec98..7bc56fa 100644
--- a/README
+++ b/README
@@ -99,24 +99,17 @@ re-register:
== How to run a relay
-The relay runs with a WebSocket proxy in external proxy mode.
- $ git clone git://github.com/kanaka/websockify.git
- $ git apply ~/flashproxy/patches/websockify-binary-default.patch
-Install websockify as a daemon that will restart at boot. These
-instructions are for CentOS 5.
- $ cd websockify
- $ git apply ~/flashproxy/patches/websockify-binary-default.patch
- $ su
- # cp websockify websocket.py /usr/local/bin
- # useradd -d /dev/null -s /bin/false websockify
- # mkdir /var/websockify
- # chown -R websockify.websockify /var/websockify
- # cp ~/flashproxy/init.d/websockify /etc/init.d/websockify
- # chkconfig --add websockify
- # service websockify start
-
-Add this line to torrc to make the relay use the external proxy:
- ServerTransportPlugin websocket proxy 127.0.0.1:9901
+A server transport plugin for the WebSocket protocol is in the
+websocket-transport directory. To build it, you need development tools
+for the Go programming language ("apt-get install golang" on Debian).
+ $ cd websocket-transport
+ $ make
+ # make install
+Add a line like the following to the relay's torrc. You can change the
+--port option; make sure that port is open in the firewall. The --port
+option doesn't have an effect if Tor has previously started the
+transport under a different port.
+ ServerTransportPlugin websocket exec /usr/local/bin/websocket-transport --port 9901
== How to put a flash proxy badge on a web page
More information about the tor-commits
mailing list