From owner-freebsd-questions@FreeBSD.ORG Fri Mar 17 13:19:35 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEB8816A420 for ; Fri, 17 Mar 2006 13:19:35 +0000 (UTC) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 109FF43D5F for ; Fri, 17 Mar 2006 13:19:35 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from frontend1.internal (mysql-sessions.internal [10.202.2.149]) by frontend1.messagingengine.com (Postfix) with ESMTP id 3071ED40B94 for ; Fri, 17 Mar 2006 08:19:34 -0500 (EST) Received: from frontend3.messagingengine.com ([10.202.2.152]) by frontend1.internal (MEProxy); Fri, 17 Mar 2006 08:19:34 -0500 X-Sasl-enc: ZfhJpsuvYcJMuRdTUaXrd7XnXnAa3RBhf+RLCRAfLp1J 1142601569 Received: from gumby.localdomain (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by frontend3.messagingengine.com (Postfix) with ESMTP id D56EA71C for ; Fri, 17 Mar 2006 08:19:29 -0500 (EST) From: RW To: freebsd-questions@freebsd.org Date: Fri, 17 Mar 2006 13:19:31 +0000 User-Agent: KMail/1.9.1 References: <441A9250.10103@locolomo.org> In-Reply-To: <441A9250.10103@locolomo.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603171319.33029.list-freebsd-2004@morbius.sent.com> Subject: Re: configuring fetch to 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: Fri, 17 Mar 2006 13:19:36 -0000 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.