Date: Tue, 11 Dec 2001 18:19:26 +0100 From: andreas.klemm.ak@bayer-ag.de To: stable@freebsd.org Subject: fetch through ftp-proxy =?iso-8859-1?Q?doesn=B4t_work_on_FreBSD_4=2E3-STABLE?= Message-ID: <OF0FA2AFEB.A147B5E2-ONC1256B1F.005E2632@bayer-ag.com>
next in thread | raw e-mail | index | archive | help
Hi !
Is it a known issue, that fetch doesnīt work via local ftp proxy (squid) ?
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
setenv HTTP_PROXY localhost:3128
In /etc/make.conf I configured:
HTTP_PROXY=localhost:3128
FTP_PROXY=localhost:3128
FTP_PASSIVE_MODE=yes
In squids logfile I see the successfull fetch attempts via http, but
no single line, when something should be fetched via ftp.
In the process status I see, that fetch is executed as follows
a) for ftp (doesnīt work)
7137 p1 S+ 0:00.01 /usr/bin/fetch -A
ftp://ftp.xemacs.org/pub/xemacs/xemacs-21.1/xemacs-21.1.14.tar.gz
b) for http (works)
/usr/bin/fetch -A
http://prdownloads.sourceforge.net/amanda/amanda-2.4.2p2.tar.gz
Squids log tells me only something about the fetch using http proto ...
1008090948.039 34701 127.0.0.1 TCP_MISS/000 560886 GET
http://prdownloads.sourceforge.net/amanda/amanda-2.4.2p2.tar.gz -
FIRST_UP_PARENT/byfwg5.bayer-ag.com -
Is there a bug in FreeBSD 4.3īs libfetch ???
Or did I mis-spell a configuration variable ???
Setting FTP_PASSIVE_MODE in .cshrc and /etc/make.conf was only a hack,
wihout it didnīt work as well ...
Any comments ???
Thanks
Andreas ///
Andreas ///
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OF0FA2AFEB.A147B5E2-ONC1256B1F.005E2632>
