Date: Sat, 9 Jan 1999 18:08:29 +1300 From: "Dan Langille" <junkmale@xtra.co.nz> To: freebsd-questions@FreeBSD.ORG Subject: fetch in passive mode Message-ID: <19990109050717.KQXM682101.mta1-rme@wocker>
next in thread | raw e-mail | index | archive | help
I was installing tcp_wrapper. So I did this: [root@ns:/usr/ports/security/donkey] # make >> donkey-0.5.tar.gz doesn't seem to exist on this system. >> Attempting to fetch from ftp://ftp.aist- nara.ac.jp/pub/Security/tool/donkey/. fetch: ftp://ftp.aist-nara.ac.jp/pub/Security/tool/donkey/donkey- 0.5.tar.gz: FTP error: fetch: Can't open data connection >> Attempting to fetch from ftp://ftp.freebsd.org/pub/FreeBSD/distfiles//. fetch: ftp://ftp.freebsd.org/pub/FreeBSD/distfiles//donkey-0.5.tar.gz: FTP error: fetch: Can't open data connection >> Couldn't fetch it - please try to retrieve this >> port manually into /usr/ports/distfiles/ and try again. *** Error code 1 OK. That tells me it's in passive mode. Now I could just drop the firewall rules and do it again, but that's not good enough. A read of man fetch tells about an environment variable: "FTP_PASSIVE_MODE force the use of passive mode FTP". So I did this: "set FTP_PASSIVE_MODE=Y" and tried again. same errors. A check of the mailing list archives found a message (http://www.freebsd.org/cgi/getmsg.cgi?fetch=528093+530443+/usr/local/www/d b/text/1996/freebsd-questions/19960901.freebsd-questions) which indicates that fetch.c doesn't check that environment variable. Any suggestions on how to force fetch to do ftp in passive mode that I can get my stuff through the firewall? -- Dan Langille The FreeBSD Diary http://www.FreeBSDDiary.com/freebsd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990109050717.KQXM682101.mta1-rme>