Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2008 21:50:36 -0400
From:      John Almberg <jalmberg@identry.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Firewall and FreeBSD ports
Message-ID:  <DFCAFD1B-C8AB-437D-9D9E-59A493FDEF6F@identry.com>
In-Reply-To: <20081011013647.424ee485@gumby.homeunix.com.>
References:  <FC9CDE39-C162-45F6-9895-1202144AF927@identry.com> <E8801B03-A3A5-4F86-B66E-2F8894CE2D01@identry.com> <20081011013647.424ee485@gumby.homeunix.com.>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>>
>>>>> sh/bash: export FTP_PASSIVE_MODE=true
>>>>>     csh: setenv FTP_PASSIVE_MODE true
>>
>> First off, this did solve the problem. Thank you, Jeremy.
>>
>> Now, as to the why...
>
> That's odd, because if you are running  7.x with a default settings,
> FTP_PASSIVE_MODE should be irrelevant to fetching distfiles - even if
> it's set to "no".
>
> Do you have any FETCH_* variables defined?

No

> What happens if you cd to a
> port directory and type: make -V FETCH_CMD ?

[admin@dbs:~]> cd /usr/ports/shells/zsh
'[admin@dbs:zsh]> make -V FETCH_CMD
/usr/bin/fetch -ApRr
[admin@dbs:zsh]>

>> I then wanted to install NTP:
>>
>> cd /usr/ports/net/ntp
>> make config; make install clean
>>
>> This failed because the mirrors were not accessible.
>
> I just tried this port myself and it failed on all four servers
> configured in the Makefile, only succeeding on the fallback Freebsd
> server, (Freebsd's own cache for package building).
>
> Unless you turn-up something odd for FETCH_CMD, I think there's
> a good chance that you never had an FTP firewall problem in the first
> place, and that the file has simply been added to ftp.freebsd.org  
> since
> you got the original failure.

I just removed the FTP_PASSIVE_MODE variable from .bash_profile,  
logged out, and logged back in. I then tried to install another port  
and it installed without problem.

-- John




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DFCAFD1B-C8AB-437D-9D9E-59A493FDEF6F>