[PATCH] accept SOCKS request over the mux socket

Robert Banz rob at nofocus.org
Fri Mar 13 06:06:48 EST 2009


>
> There is a problem with it and is that slashes already have an  
> special meaning on tunnel specifications , they are used with IPv6  
> addresses.
>
> My proposal (not implemented on the patch yet) would be to use {} to  
> demarcate unix paths as in
>
> $ ssh -D{/tmp/bar} ...
>
> and
>
>  $ ssh -L{/tmp/foo}:host:22 ...
>
> It will fail for -L{/tmp/name,with,commas}, but hey, this is not  
> very common!
>
> Cheers,

Why not do something a little more flexible, and do something like

ssh -Lsocket=/tmp/foo:host:22

It certainly would never be confused with a standard port, and you'd  
have a framework to expand to forwarding other sorts of things in the  
future. Not to mention { } causes magic to happen in certain shells,  
which may have unwanted side effects.

-rob


More information about the openssh-unix-dev mailing list