[PATCH] Minor nit: -D is now "socks" not "socks4"

Dan Kaminsky dan at doxpara.com
Tue Aug 12 19:43:43 EST 2003


Darren Tucker wrote:

>Hi all.
>	I was getting something working over socks5 and was trying to figure out
>why it kept using socks4.  It wasn't, it was just a misleading debug
>message....
>
>	Patch applies to either OpenBSD or Portable.
>  
>
We should be able to trivially support both SOCKS4 and SOCKS5, based on 
the value in the version field of the incoming request.

It's important to support both, since there's alot of systems that only 
support 4 or 5.

There's an interesting argument that we should have, as a long option, a 
mode that rejects all forwards of the non-DNS forwarding type, for those 
who intend to use the code for VPN-style uses.   This obviously 
restricts the system to a subset of SOCKS5.

--Dan





More information about the openssh-unix-dev mailing list