From owner-freebsd-questions Wed Feb 13 7:19:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id 22B9D37B417 for ; Wed, 13 Feb 2002 07:19:41 -0800 (PST) Received: from user-vcauhvl.dsl.mindspring.com ([216.175.71.245] helo=joeandlane.com) by scaup.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16b1C7-0004i0-00; Wed, 13 Feb 2002 07:19:39 -0800 Received: (from nobody@localhost) by joeandlane.com (8.11.6/8.11.6) id g1DFJNS02411; Wed, 13 Feb 2002 09:19:23 -0600 (CST) (envelope-from lane@joeandlane.com) Date: Wed, 13 Feb 2002 09:19:23 -0600 (CST) Message-Id: <200202131519.g1DFJNS02411@joeandlane.com> X-Authentication-Warning: joeandlane.com: nobody set sender to lane@joeandlane.com using -f From: "Lane Holcombe" To: "Kevin Kinsey" , freebsd-questions@freebsd.org Subject: Re: Freebsd and firewalls -- follow up X-Mailer: NeoMail 1.25 X-IPAddress: 207.203.42.36 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Well it didn't work. I used "setenv FTP_PASSIVE_MODE no" and retried "make all " in /usr/ports/samba but I only got "Internal Server Error". Then I tried with FTP_PASSIVE_MODE=yes and got the same error. At some point I logged out and then back in and retried with my unchanged environment. To my surprise I received a "Login:" prompt after the third "Internal Server Error" (This was the third source host in the Makefile list). I entered "anonymous" because I assumed it was the remote server and NOT my proxy server. Then I was prompted with "password:" so I entered that. Then I got "Internal Server Error" and I have not been able to reproduce that. How frustrating. > As I understand it from fetch(3), FTP passive move can be controlled by > the environment variable FTP_PASSIVE_MODE. When this variable is > anything but "no" then ftp passive mode is enforced. Otherwise it is > not. > > I thought that meant that if the variable exists then Passive mode is > enforced but that it it did not exist then passive mode was controlled > by command line or not enforced. But it seems like you are saying that > FreeBSD ALWAYS uses passive mode unless you specifically turn it off. > > I will try that first thing tomorrow and see what happens. > > Thanks for the tip. I'll let you know if it changes things. > > lane (holcombe) > > In FBSD, default is passive mode, which doesn't work > > behind many fw's and/or NAT setups. So.... > > > > elisha#ftp > > ftp>passive > > Passive Mode Off. > > ftp>open ftp.freebsd.org > > Connected to beastie.tdk.net > > > > etc. > > > > > > ----- Original Message ----- > > From: "Lane Holcombe" > > To: > > Sent: Monday, February 11, 2002 2:51 PM > > Subject: Freebsd and firewalls > > > > > > > I've recently installed Freebsd on an available PC at work. In > order > > > to do this I had to download the /bin subdirectory from > ftp.freebsd.org > > > using my Windows OS, reboot to freebsd boot disks and then install > from > > > a DOS filesystem. > > > > > > This is because I cannot seem to get FreeBSD to punch through the > > > firewall at work. > > > > > > Using sysinstall I have attempted ftp installation, ftp passive, and > > > ftp via http proxy but none have been able to connect. > > > > > > I am able to use FTP from Windows but not from the DOS Command > line. > > > Windows asks for user authentication but DOS just fails. > > > > > > I am able to use PPM (Perl Package Manager) from MSDos by setting > three > > > environment variables: HTTP_PROXY, HTTP_PROXY_USER, and > > > HTTP_PROXY_PASS. I am NOT able to use this technique to utilze CPAN > on > > > DOS nor does it seem to work for any network activity in Freebsd. > > > > > > If anyone has any ideas how to make FreeBSD negotiate with my > firewall > > > please help. > > > > > > thanks > > > > > > lane (holcombe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message