From owner-freebsd-questions Wed Aug 27 05:27:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA29413 for questions-outgoing; Wed, 27 Aug 1997 05:27:54 -0700 (PDT) Received: from BIGFUN.vwcom.com ([151.197.101.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA29394 for ; Wed, 27 Aug 1997 05:27:50 -0700 (PDT) Received: from WillsCreek.COM (gw.willscreek.com [151.197.101.46]) by BIGFUN.vwcom.com (8.8.6/8.8.6) with ESMTP id HAA03755 for ; Wed, 27 Aug 1997 07:42:33 -0400 (EDT) Received: from current.willscreek.com (root@current.willscreek.com [172.16.87.1]) by WillsCreek.COM (8.8.5/8.7.3) with ESMTP id HAA27205 for ; Wed, 27 Aug 1997 07:47:05 -0400 (EDT) Received: (from bmc@localhost) by current.willscreek.com (8.8.5/8.7.3) id HAA00360; Wed, 27 Aug 1997 07:47:05 -0400 (EDT) Date: Wed, 27 Aug 1997 07:47:05 -0400 (EDT) Message-Id: <199708271147.HAA00360@current.willscreek.com> From: Brian Clapper MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: questions@FreeBSD.ORG Subject: Re: Socks5 and ftp In-Reply-To: <31143324@toto.iv> X-Mailer: VM 6.23 under Emacs 19.34.1 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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.