From owner-freebsd-ports Mon Aug 30 23:35:33 1999 Delivered-To: freebsd-ports@freebsd.org Received: from alexandria.cs.uchicago.edu (alexandria.cs.uchicago.edu [128.135.11.87]) by hub.freebsd.org (Postfix) with ESMTP id A84D015836 for ; Mon, 30 Aug 1999 23:35:22 -0700 (PDT) (envelope-from dayton@overx.com) Received: from mecca.overx.com (kropp-duster.cs.uchicago.edu [128.135.11.102]) by alexandria.cs.uchicago.edu (8.9.1/8.9.3) with ESMTP id BAA16786; Tue, 31 Aug 1999 01:32:05 -0500 (CDT) Received: from polo.overx.com (polo.overx.com [192.168.10.11]) by mecca.overx.com (Postfix) with ESMTP id 62CBA3E63; Tue, 31 Aug 1999 01:32:04 -0500 (CDT) Received: by polo.overx.com (Postfix, from userid 1001) id D74AD3E6C; Fri, 27 Aug 1999 16:31:02 -0500 (CDT) From: Soren Dayton Reply-To: dayton@overx.com To: Scott Michel Cc: freebsd-ports@freebsd.org Subject: Re: configuring fetch for Squid References: <86zozdjxfx.fsf@polo.overx.com> <37C6CE98.BD6CFB5B@cs.ucla.edu> Date: 27 Aug 1999 16:31:02 -0500 In-Reply-To: Scott Michel's message of "Fri, 27 Aug 1999 10:44:56 -0700" Message-ID: <86d7w8ud0p.fsf@polo.overx.com> Lines: 34 User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/21.1 (Big Bend) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Scott Michel writes: I'm sorry. I should have indicated that I did indeed RTFM. > setenv FTP_PROXY host.name.net:port Hmmm. It doesn't work. And I don't think its supposed to. First, the failure: polo% FTP_PROXY=mecca:3128 fetch ftp://ftp.cdrom.com/pub/ fetch: mecca: connection in wrong state polo% HTTP_PROXY=mecca:3128 fetch http://www.freebsd.org/ fetch: : fopen: No such file or directory mecca reports getting a connection: tcp 0 0 mecca.3128 polo.1040 ESTABLISHED For comparative purposes, note that for lynx, it JUST works. http_proxy=http://mecca.overx.com:3128/ lynx http://www.zsh.org/ ftp_proxy=http://mecca.overx.com:3128/ lynx ftp://ftp.cdrom.com/pub/ Either I'm misreading the code or fetch is pretending that the proxy is kind of ftp like rather than http like. And there is no way to configure this protocol information with fetch. Of course, that it doesn't work for the HTTP_PROXY case indicates that something else may be going on. Is this evaluation of what's going on correct? Thanks Soren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message