Date: Thu, 28 Jan 1999 13:23:22 -0500 From: FreeBSD.lists@symmetron.com (Symmetron's FreeBSD Mailing Lists) To: "Anthony Kim" <anthony@enteract.com>, <freebsd-questions@FreeBSD.ORG> Subject: RE: Passive FTP Message-ID: <005201be4aeb$496a5d30$02baefce@mail.symmetron.com> In-Reply-To: <36B02878.F90BFB6F@enteract.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005201be4aeb$496a5d30$02baefce>