From owner-freebsd-current Thu Oct 9 05:47:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA28199 for current-outgoing; Thu, 9 Oct 1997 05:47:36 -0700 (PDT) (envelope-from owner-freebsd-current) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA28191 for ; Thu, 9 Oct 1997 05:47:28 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.7/8.6.9) with ESMTP id FAA07709; Thu, 9 Oct 1997 05:45:47 -0700 (PDT) To: mika ruohotie cc: current@FreeBSD.ORG Subject: Re: cvs commit: src/etc make.conf In-reply-to: Your message of "Thu, 09 Oct 1997 14:49:05 +0200." <199710091249.OAA11268@shadows.aeon.net> Date: Thu, 09 Oct 1997 05:45:47 -0700 Message-ID: <7705.876401147@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > the make.conf 'FTP_PASSIVE_MODE= YES' means that behind a firewall > it's something to be used so that ftp makes passive requests and > thus "works", right? Right. It's used by the standard FTP: root@time-> cd /usr/src/usr.bin/ftp root@time-> grep FTP_PASSIVE_MODE * main.c: if (getenv("FTP_PASSIVE_MODE") || strcmp(cp, "pftp") == 0) Is documented by fetch: root@time-> cd /usr/src/usr.bin/fetch root@time-> grep FTP_PASSIVE_MODE * fetch.1:.Bl -tag -width FTP_PASSIVE_MODE -offset indent fetch.1:.It Ev FTP_PASSIVE_MODE And is implemented for fetch and other utilities in libftpio: root@time-> cd /usr/src/lib/libftpio root@time-> grep FTP_PASSIVE_MODE * ftpio.c: if (getenv("FTP_PASSIVE_MODE")) > as far as i can see, this is far better way to do it than > bloating the fetch to actually agree with FTP_PASSIVE_MODE. Fetch is already, through libftpio, supposed to agree with it. Unfortunately, I don't have a firewall'd machined handy to test at the moment but it's certainly worked in the past when I did. Jordan