From owner-freebsd-questions Thu Jan 28 02:13:36 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA21444 for freebsd-questions-outgoing; Thu, 28 Jan 1999 02:13:36 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [212.110.138.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA21374 for ; Thu, 28 Jan 1999 02:12:25 -0800 (PST) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.2/8.9.2/UCB) id MAA21606; Thu, 28 Jan 1999 12:11:17 +0200 (EET) Date: Thu, 28 Jan 1999 12:11:17 +0200 From: Ruslan Ermilov To: Anthony Kim Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Passive FTP Message-ID: <19990128121117.C20139@ucb.crimea.ua> Mail-Followup-To: Anthony Kim , freebsd-questions@FreeBSD.ORG References: <36B02878.F90BFB6F@enteract.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.17i In-Reply-To: <36B02878.F90BFB6F@enteract.com>; from Anthony Kim on Thu, Jan 28, 1999 at 03:06:00AM -0600 X-Operating-System: FreeBSD 2.2.8-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Jan 28, 1999 at 03:06:00AM -0600, Anthony Kim wrote: > I have a 2.2.8-STABLE box running IPFW & NATD. > > I have FTP_PASSIVE_MODE= YES in /etc/make.conf on my workstation > (4.0-CURRENT) and am successfully using passive mode ftp with ncftp and > cvsup. However, when I do a make install in /usr/ports/dir/port-name I > do not get a successful transfer and get a logged src TCP port 20 > attempt in syslog. > > I thought uncommenting the above in make.conf would do it but it has > not. Fetch has a -p option to use passive mode. How do I get the > convenient use of "make install && make clean" in ports to work through > ipfw without adding "allow tcp from any 20..."? Please save me from > downloading all the src by hand! > > tia > -- cd /usr/ports/dir/port && make fetch FETCH_BEFORE_ARGS=-p -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message