Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2007 00:27:19 -0400
From:      Chris Slothouber <chris@hier7.com>
To:        FreeBSD-questions@FreeBSD.org
Subject:   Re: Tell portupgrade to use passive ftp
Message-ID:  <45FE1127.1050001@hier7.com>
In-Reply-To: <0EE4A357-FB1C-410D-BDF2-AF3A8BC7736B@goldmark.org>
References:  <0EE4A357-FB1C-410D-BDF2-AF3A8BC7736B@goldmark.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Jeffrey,

Jeffrey Goldberg wrote:
> On my perimeter firewall, I default deny outbound traffic.  This cuts 
> off fetching using active FTP.  Is there some way that I can tell 
> portupgrade to pass the -p flag to fetch?
> 
> I know that I can temporarily change my firewall rules, but I think that 
> it would be a cleaner solution to just tell portupgrade to not use 
> active mode FTP.  (Or maybe fetch itself when it fails with active mode 
> ftp should try again with passive).

in /etc/make.conf:

FETCH_CMD?=          /usr/bin/fetch -ApRr

man fetch as well.

Hope this helps!

- Chris



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