From owner-freebsd-questions Sat Jan 9 14:26:04 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA22999 for freebsd-questions-outgoing; Sat, 9 Jan 1999 14:26:04 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mta1-rme.xtra.co.nz (203-96-92-1.ipnets.xtra.co.nz [203.96.92.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA22994 for ; Sat, 9 Jan 1999 14:26:02 -0800 (PST) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker ([210.55.210.87]) by mta1-rme.xtra.co.nz (InterMail v04.00.02.07 201-227-108) with SMTP id <19990109222456.NMHF682101.mta1-rme@wocker>; Sun, 10 Jan 1999 11:24:56 +1300 From: "Dan Langille" Organization: The FreeBSD Diary To: Spike Gronim Date: Sun, 10 Jan 1999 11:25:27 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: fetch in passive mode Reply-to: junkmale@xtra.co.nz CC: freebsd-questions@FreeBSD.ORG References: <19990109050717.KQXM682101.mta1-rme@wocker> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.01d) Message-Id: <19990109222456.NMHF682101.mta1-rme@wocker> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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