From owner-freebsd-questions@FreeBSD.ORG Thu May 20 16:10:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 860091065678 for ; Thu, 20 May 2010 16:10:03 +0000 (UTC) (envelope-from njm@njm.me.uk) Received: from smtp004.apm-internet.net (smtp004.apm-internet.net [85.119.248.54]) by mx1.freebsd.org (Postfix) with SMTP id 897658FC16 for ; Thu, 20 May 2010 16:10:02 +0000 (UTC) Received: (qmail 65877 invoked from network); 20 May 2010 15:43:21 -0000 Received: from unknown (HELO oberon.njm.me.uk) (86.129.192.55) by smtp004.apm-internet.net with SMTP; 20 May 2010 15:43:21 -0000 Received: from titania.njm.me.uk (titania.njm.me.uk [192.168.144.130]) by oberon.njm.me.uk (8.14.4/8.14.4) with ESMTP id o4KFhKmi031265; Thu, 20 May 2010 16:43:20 +0100 (BST) (envelope-from njm@njm.me.uk) Received: from titania.njm.me.uk (localhost [127.0.0.1]) by titania.njm.me.uk (8.14.4/8.14.4) with ESMTP id o4KFhKm5097971; Thu, 20 May 2010 16:43:20 +0100 (BST) (envelope-from njm@njm.me.uk) Received: (from njm@localhost) by titania.njm.me.uk (8.14.4/8.14.4/Submit) id o4KFhKn5097970; Thu, 20 May 2010 16:43:20 +0100 (BST) (envelope-from njm@njm.me.uk) Date: Thu, 20 May 2010 16:43:20 +0100 From: "N.J. Mann" To: gahn Message-ID: <20100520154320.GA96788@titania.njm.me.uk> Mail-Followup-To: gahn , freebsd security , freebsd general questions References: <111263.90106.qm@web52308.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <111263.90106.qm@web52308.mail.re2.yahoo.com> X-Operating-System: FreeBSD 7.3-STABLE User-Agent: mutt-NJM (2010-05-06) Cc: freebsd security , freebsd general questions Subject: Re: ftp passive mode 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: Thu, 20 May 2010 16:10:03 -0000 In message <111263.90106.qm@web52308.mail.re2.yahoo.com>, gahn (ipfreak@yahoo.com) wrote: > > I am behind firewall and only pass ftp sessions are allowed. With > that, most ftp sessions of portupgrade would not be able to connect to > remote FreeBSD sites. > > Could I reconfigure the my FreeBSD 7.3 in a way so that it would only > start ftp sessions in PASV mode? The on-line handbook in section 4.5.2 'Installing Ports' says: The ports system uses fetch(1) to download the files, which honors various environment variables, including FTP_PASSIVE_MODE, FTP_PROXY, and FTP_PASSWORD. So try setting FTP_PASSIVE_MODE in your environment. man ports and man fetch may also be worth a read. Cheers, Nick. --