[PATCH] accept SOCKS request over the mux socket

Salvador Fandino sfandino at yahoo.com
Wed Mar 11 02:47:10 EST 2009


Hi

Salvador Fandino wrote:
> The attached patch extends the mux listener to accept SOCKS requests in 
> addition to the native mux commands.

Attached to this mail you will find:

- an updated version of the patch that applies against the CVS version 
of OpenSSH.

- a patch for dsocks-1.6 (http://www.monkey.org/~dugsong/dsocks/) that 
adds support for connecting to the SOCKS server through an UNIX domain 
socket.


For instance, with these patches applied, I can run:

$ ssh -M -S /tmp/mux 172.20.3.12 -N -f
$ LD_PRELOAD=/root/my-dsocks-1.6/libdsocks.so.1.0 \
      DSOCKS_PROXY=/tmp/mux \
      DSOCKS_NAMESERVER=172.20.4.17 \
      lynx www.openbsd.org

And browse the web without opening a local listening port on my computer.

Cheers,

- Salva
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dsocks-unixsocket-0.patch
Type: text/x-patch
Size: 3843 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20090310/5f827a85/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openssh-muxsocks-3.patch
Type: text/x-patch
Size: 5692 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20090310/5f827a85/attachment-0001.bin 


More information about the openssh-unix-dev mailing list