[PATCH] accept SOCKS request over the mux socket

Ben Lindstrom mouring at eviladmin.org
Wed Mar 11 16:02:40 EST 2009


On Mar 10, 2009, at 10:47 AM, Salvador Fandino wrote:

> 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.
>


How does this differ from "ssh -D" ?? Which already makes SSH into a  
SOCK4/5 server?

Seems like we're duplicating functionality unless there is something  
else I'm missing.

- Ben



More information about the openssh-unix-dev mailing list