Date: Sun, 10 Jan 1999 11:25:27 +1300 From: "Dan Langille" <junkmale@xtra.co.nz> To: Spike Gronim <spork@ix.netcom.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: fetch in passive mode Message-ID: <19990109222456.NMHF682101.mta1-rme@wocker> In-Reply-To: <Pine.BSF.4.05.9901091656001.346-100000@PigStuy.dyn.ml.org> References: <19990109050717.KQXM682101.mta1-rme@wocker>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9 Jan 99, at 16:57, Spike Gronim wrote: > On Sat, 9 Jan 1999, Dan Langille wrote: > > > 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. > > 0.5.tar.gz: FTP error: > > fetch: Can't open data connection > > > 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. > > You should set FTP_PASSIVE_MODE=YES in /etc/make.conf. Thanks. I've just tried the above. It seems to have nil effect. I'm positive this is a passive mode issue because of the following test I just performed: # fetch without specifying passive mode [root@orphil:/usr/ports/security/skip] # fetch ftp://ftp.replay.com/pub/replay/crypto/APPS/skip/skipsrc-1.0.tar.Z fetch: ftp://ftp.replay.com/pub/replay/crypto/APPS/skip/skipsrc-1.0.tar.Z: FTP error: fetch: Can't open data connection # fetch specifying passive mode [root@orphil:/usr/ports/security/skip] # fetch -P ftp://ftp.replay.com/pub/replay/crypto/APPS/skip/skipsrc-1.0.tar.Z Receiving skipsrc-1.0.tar.Z (1887889 bytes): 7%^C fetch: parsing URI: interrupted by signal: int [root@ns:/usr/ports/security/skip] # -- 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?19990109222456.NMHF682101.mta1-rme>