From owner-freebsd-stable Tue Dec 11 9:54:41 2001 Delivered-To: freebsd-stable@freebsd.org Received: from D00015.dialonly.kemerovo.su (www2.svzserv.kemerovo.su [213.184.65.86]) by hub.freebsd.org (Postfix) with ESMTP id 6126937B405 for ; Tue, 11 Dec 2001 09:54:34 -0800 (PST) Received: (from eugen@localhost) by D00015.dialonly.kemerovo.su (8.11.6/8.11.4) id fBBHrOb02880; Wed, 12 Dec 2001 00:53:24 +0700 (KRAT) (envelope-from eugen) Date: Wed, 12 Dec 2001 00:53:23 +0700 From: Eugene Grosbein To: andreas.klemm.ak@bayer-ag.de Cc: stable@FreeBSD.ORG Subject: Re: =?koi8-r?Q?fetch_through_ftp-proxy_doesn=B4t_work_on_FreBSD_4=2E3-STABLE?= Message-ID: <20011212005323.A2809@grosbein.pp.ru> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from andreas.klemm.ak@bayer-ag.de on Tue, Dec 11, 2001 at 06:19:26PM +0100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Dec 11, 2001 at 06:19:26PM +0100, andreas.klemm.ak@bayer-ag.de wrote: > Is it a known issue, that fetch doesn't work via local ftp proxy (squid) ? Squid is not ftp proxy. It can be used as ftp-over-http proxy, that is NOT the same thing. > I updated the ports collection manually. > Everything runs fine, if fetch can get something via http proto. > Whenever something should be fetched via ftp proto, it does > nothing at all and I get error code 999 (protocol error). > In my root's .cshrc I added: > setenv FTP_PROXY localhost:3128 > setenv FTP_PASSIVE_MODE YES Delete these. You disinform fetch about type of your proxy. > setenv HTTP_PROXY localhost:3128 This is enough for fetch. It will use http protocol both for http and ftp transfers. That is what squid wants. Eugene Grosbein. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message