From owner-freebsd-questions Thu Jan 28 10:17:17 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA21374 for freebsd-questions-outgoing; Thu, 28 Jan 1999 10:17:17 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.symmetron.com (mail.symmetron.com [206.239.186.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA21365 for ; Thu, 28 Jan 1999 10:17:13 -0800 (PST) (envelope-from FreeBSD.lists@symmetron.com) Received: from mail (mail.symmetron.com [127.0.0.1]) by mail.symmetron.com (Netscape Mail Server v2.02) with SMTP id AAA376; Thu, 28 Jan 1999 13:23:22 -0500 Reply-To: From: FreeBSD.lists@symmetron.com (Symmetron's FreeBSD Mailing Lists) To: "Anthony Kim" , Subject: RE: Passive FTP Date: Thu, 28 Jan 1999 13:23:22 -0500 Keywords: FreeBSDemail Message-ID: <005201be4aeb$496a5d30$02baefce@mail.symmetron.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 In-Reply-To: <36B02878.F90BFB6F@enteract.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG There's a bug in the fetch code that is ignoring the FTP_PASSIVE_MODE environment variable. I submitted a patch to the fetch source code to the GNATS system (See PR bin/9464). Read all about it at: http://www.freebsd.org/cgi/query-pr.cgi?pr=9464 an alternative fix, if you don't want to fix fetch is to put: FETCH_BEFORE_ARGS=-p in your /etc/make.conf This works because fetch works properly in passive mode if it is passed the -p (passive mode) argument. -john -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Anthony Kim Sent: Thursday, January 28, 1999 4:06 AM To: freebsd-questions@FreeBSD.ORG Subject: Passive FTP 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 -- SYSADMIN(1) sysadmin takes care of everything, is generally harangued, must be supplied with coffee, chocolate, and alcohol in order to function properly, cannot be exposed to direct sunlight, and must not be allowed to have a life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message