Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2010 16:43:20 +0100
From:      "N.J. Mann" <njm@njm.me.uk>
To:        gahn <ipfreak@yahoo.com>
Cc:        freebsd security <freebsd-security@freebsd.org>, freebsd general questions <freebsd-questions@freebsd.org>
Subject:   Re: ftp passive mode
Message-ID:  <20100520154320.GA96788@titania.njm.me.uk>
In-Reply-To: <111263.90106.qm@web52308.mail.re2.yahoo.com>
References:  <111263.90106.qm@web52308.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
-- 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100520154320.GA96788>