From owner-freebsd-bugs Fri Nov 24 8: 0: 8 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A8CA437B479 for ; Fri, 24 Nov 2000 08:00:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA14475; Fri, 24 Nov 2000 08:00:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Fri, 24 Nov 2000 08:00:03 -0800 (PST) Message-Id: <200011241600.IAA14475@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: i386/23067: fetch in FreeBSD 4.2 does not work with FTP proxy Reply-To: Peter Pentchev Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR i386/23067; it has been noted by GNATS. From: Peter Pentchev To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: i386/23067: fetch in FreeBSD 4.2 does not work with FTP proxy Date: Fri, 24 Nov 2000 17:59:21 +0200 I should think this PR may safely be closed now, what with the following exchange with the originator that took place in private mail. G'luck, Peter -- No language can express every thought unambiguously, least of all this one. On Fri, Nov 24, 2000 at 03:51:42PM -0000, Tarjei.Jensen@kvaerner.com wrote: > That did it! > > FTP_PROXY=ftp://our_proxy worked. > > Using FTP_PROXY=our_proxy:21 did not work. > > Thanks! > > I suppose you will have to fix the documentation to reflect the changes in > the fetch library. > > That was rapid solving of a problem. > > Greetings, > > > -----Original Message----- > > From: Peter Pentchev [mailto:roam@orbitel.bg] > > Sent: 24. november 2000 16:00 > > To: Jensen, Tarjei KOGAS > > Subject: Re: i386/23067: fetch in FreeBSD 4.2 does not work with FTP > > proxy > > > > > > On Fri, Nov 24, 2000 at 04:49:15PM +0200, Peter Pentchev wrote: > > > Alright, can you try the same with FTP_PROXY=your_proxy:21? > > > It seems that fetch defaults to using port 80 if no port is > > specified. > > > > To be a bit more precise - since revision 1.51 of > > src/lib/libfetch/ftp.c, > > which was MFC'd just before 4.2-RELEASE, libfetch now takes HTTP to be > > the default scheme if no scheme is specified. You *can* specify a FTP > > scheme in your FTP_PROXY variable by using the ftp:// prefix; > > now I'm not > > so sure if using hostname:21 would work and not be treated as an HTTP > > connection to port 21. > > > > So.. another suggestion - try FTP_PROXY=ftp://your_proxy and see if > > that helps. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message