Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 1997 07:47:05 -0400 (EDT)
From:      Brian Clapper <bmc@WillsCreek.COM>
To:        questions@FreeBSD.ORG
Subject:   Re: Socks5 and ftp
Message-ID:  <199708271147.HAA00360@current.willscreek.com>
In-Reply-To: <31143324@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Phil White wrote:

> Anyone have trouble with FTPing from FreeBSD box through proxy and than trying to do something like "ls" to pull a directory listing?
>
> I get an error something like - "bind: can't assign requested address" and doesn't return an "ls".
>
>
> My FreeBSD box goes through a WinProxy with Socks4/5 ability on a Win95 machine.  Telnet seems to work fine however.
>
>
> I get the same results with the "fetch" command when trying to fetch ports using FETCH_CMD="runsocks /usr/bin/fetch" - I think I'll have the same trouble with cvsup?
>
>
> Any help would be appreciated...

You may well need to use FTP clients that use  PASV connections (i.e.,
the client makes the data connection as well as the control connection,
which is not the norm).  See the appropriate RFC (whose number eludes me at
the moment) for details on PASV.

I haven't built the SOCKS clients in awhile, but I recall there being a
compilation option to force the SOCKS-supplied ftp client to use the PASV
FTP command.
-----
Brian Clapper, bmc@WillsCreek.COM, http://WWW.WillsCreek.COM/
I like work; it fascinates me; I can sit and look at it for hours.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708271147.HAA00360>