Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2006 13:19:31 +0000
From:      RW <list-freebsd-2004@morbius.sent.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: configuring fetch to passive mode
Message-ID:  <200603171319.33029.list-freebsd-2004@morbius.sent.com>
In-Reply-To: <441A9250.10103@locolomo.org>
References:  <441A9250.10103@locolomo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 17 March 2006 10:41, Erik Norgaard wrote:
> Hi:
>
> This ought to be a configuration tunable, but I can't find any
> documentaion on it: How to I force fetch to use passive mode?
>
> When I try "make fetch" of some port I get:
>
>    => Attempting to fetch from \
>        ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
>    fetch: \ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/file: \
>        Operation not permitted

I suspect this is a permission problem, not ftp.


You can set passive mode with:

  FETCH_CMD=          /usr/bin/fetch -ARrp

in make.conf. 

However I just noticed that I don't currently have the -p option set, and I've 
not had a problem, despite being behind a similar firewall, and an external 
NAT router. I'm not sure why it works; possibly fetch automatically 
fails-over into passive mode.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603171319.33029.list-freebsd-2004>