On Wed, Jul 21, 1999 at 10:38:11AM -0500, alexm <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> was anybody able to compile ssh with socks support?
> are there any tips on doing it?
> when i run make it keeps checking for variable SOCKS which i did not set.
> do i need to set it?
> 
> thanks,
> 
> -alexm

        I used Dante socks5 code and did builds under FreeBSD:

http://www.inet.no/dante/

        So now I have:

woo% ssh shell6.ba.best.com
Jul 21 17:25:38 ssh[1992]: dante/client v1.0.1 running
Jul 21 17:25:38 ssh[1992]: socketoptdup(): setsockopt(65535, 4103): Protocol not 
available (errno = 42)
Jul 21 17:25:38 ssh[1992]: socketoptdup(): getsockopt(0, 2): Protocol not available 
(errno = 42)
Jul 21 17:25:38 ssh[1992]: socks_connectroute(): trying route #4 (192.168.1.2.1080)
Jul 21 17:25:38 ssh[1992]: socks_connectroute(): socks_connect(192.168.1.2.1080): 
Connection refused (errno = 61)
Jul 21 17:25:38 ssh[1992]: socks_badroute(): badrouting route #4
[EMAIL PROTECTED]'s password: 


        Just make sure you install dante socks .h and libs and you should be
all set. SSH will read /etc/socks.conf and if no sockd found, it will try to
do non-socks direct connection (as in example above).

-- yan

Reply via email to