From owner-freebsd-questions@FreeBSD.ORG Mon Nov 20 23:13:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C63BA16A412 for ; Mon, 20 Nov 2006 23:13:10 +0000 (UTC) (envelope-from plathrop@squaretrade.com) Received: from mail.squaretrade.com (mail.squaretrade.com [64.56.206.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DF6F43D5A for ; Mon, 20 Nov 2006 23:12:51 +0000 (GMT) (envelope-from plathrop@squaretrade.com) Received: from localhost (unknown [127.0.0.1]) by mail.squaretrade.com (Postfix) with ESMTP id 22FAA27A4C31; Mon, 20 Nov 2006 15:13:10 -0800 (PST) X-Virus-Scanned: amavisd-new at squaretrade.com Received: from mail.squaretrade.com ([127.0.0.1]) by localhost (knockout.prod.squaretrade.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id y+pj5CIM4OK8; Mon, 20 Nov 2006 15:13:05 -0800 (PST) Received: from [192.168.219.1] (unknown [192.168.219.1]) by mail.squaretrade.com (Postfix) with ESMTP id 0ADBA27A4C2C; Mon, 20 Nov 2006 15:13:05 -0800 (PST) Message-ID: <45623692.7040308@squaretrade.com> Date: Mon, 20 Nov 2006 15:13:22 -0800 From: Paul Lathrop Organization: SquareTrade, Inc. User-Agent: Thunderbird 1.5.0.7 (X11/20060918) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: FTP_PASSIVE_MODE stumper X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Nov 2006 23:13:10 -0000 I've been banging my head against this for 2 hours. My network lives behind an OpenBSD firewall which uses ftp-proxy to allow active mode FTP connections out to the world. Unfortunately, passive mode FTP just does not work in our current firewall configuration. I'm trying to install some ports on my shiny new FreeBSD 6.1 server. Unfortunately, the fetch operations time out because they are attempting to use passive mode FTP. So, I consult the man pages and discover that fetch obeys the FTP_PASSIVE_MODE environment variable. I check the environment and see that FTP_PASSIVE_MODE=YES! Excellent! The fetch(3) man page says I need to set this to 'no', so I do so and procedd to install... Still times out. Hrm. Okay, try 'NO'. No dice. Try removing it from login.conf, running cap_mkdb, and logging out then back in. Nope, that still doesn't do it. Try *changing* it to NO in login.conf, running cap_mkdb, logging out and back in. Nope. Set it by hand in the shell. Nope. Set it in /etc/make.conf. Still not working. The only conclusion I can come to is that fetch does not, in fact, obey this environment variable. So, how does one install software from ports in this environment? Any pointers would be much appreciated. Regards, Paul Lathrop