socks4-server (4.3.beta2-18) runsocks/README.runsocks


 runsocks/README.runsocks |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

download this patch

Patch contents

--- socks4-server-4.3.beta2.orig/runsocks/README.runsocks
+++ socks4-server-4.3.beta2/runsocks/README.runsocks
@@ -0,0 +1,36 @@
+There is now a preload library which enables every binary to use a
+socks gateway.
+The preload library /usr/lib/socks4/ can be loaded before
+the normal c library and replaces the accept, bind, connect and listen
+You can use it in different ways:
+- set the environment variable LD_PRELOAD to
+  and then run you program. e.g.:
+    LD_PRELOAD=/usr/lib/socks4/; export LD_PRELOAD
+    telnet host.behind.firewall
+  or
+    LD_PRELOAD=/usr/lib/socks4/ telnet host.behind.firewall
+- use the shellscript runsocks which does just the above:
+    runsocks ssh host.behind.firewall
+- add a line 
+    /usr/lib/socks4/
+  to /etc/ to tell ALL binaries to use socks. But be
+  aware, if you mistype the line here. No binary will find the preload
+  library and all will fail to run.
+If you are using ftp, remember to set passive mode, because it is not
+possible for the server to connect to your client backwards through
+your firewall.