From owner-freebsd-ports@FreeBSD.ORG Wed May 4 18:12:30 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A427716A4CE; Wed, 4 May 2005 18:12:30 +0000 (GMT) Received: from uucp.dinoex.sub.de (uucp.dinoex.sub.de [194.45.71.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B5E243D41; Wed, 4 May 2005 18:12:29 +0000 (GMT) (envelope-from pmc@citylink.dinoex.sub.org) Received: from uucp.dinoex.sub.de (uucp@uucp.dinoex.sub.de [194.45.71.2] (may be forged)) by uucp.dinoex.sub.de (8.13.3/8.13.3) with ESMTP id j44IC9Rv033841; Wed, 4 May 2005 20:12:10 +0200 (CEST) (envelope-from pmc@citylink.dinoex.sub.org) Received: from citylink.dinoex.sub.org (uucp@localhost) j44IC9tF033840; Wed, 4 May 2005 20:12:09 +0200 (CEST) (envelope-from pmc@citylink.dinoex.sub.org) Received: from gate.oper.dinoex.org (gate-e [192.168.98.2]) j44HILOW006380; Wed, 4 May 2005 19:18:21 +0200 (CEST) (envelope-from peter@gate.oper.dinoex.org) Received: from gate.oper.dinoex.org (gate-e [192.168.98.2]) by gate.oper.dinoex.org (8.13.1/8.13.1) with ESMTP id j44HH3wD006315; Wed, 4 May 2005 19:17:03 +0200 (CEST) (envelope-from peter@gate.oper.dinoex.org) Received: (from peter@localhost) by gate.oper.dinoex.org (8.13.1/8.13.1/Submit) id j44HH3Hv006314; Wed, 4 May 2005 19:17:03 +0200 (CEST) (envelope-from peter) Date: Wed, 4 May 2005 19:17:02 +0200 From: Peter Much To: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Message-ID: <20050504171702.GA3319@gate.oper.dinoex.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Milter: Spamilter (Reciever: uucp.dinoex.sub.de; Sender-ip: 194.45.71.2; Sender-helo: uucp.dinoex.sub.de;) Subject: port-fetch, ftp passive, and port priority X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2005 18:12:30 -0000 Hi all, some internet providers use a "feature" called "port priority" to slow down filesharing programs. The problem is, ftp transfers in passive mode are also slowed down by this "feature" (and ftp transfers in classical active mode are usually out of question because one has to open any firewall for them to work). There is a nice option for the "fetch" utilitiy, so that one can use passive ftp and still get around the providers "port priority" thruput throttle. One can put the variable FETCH_BEFORE_ARGS=-U into /etc/make.conf for this to work on port-builds, or when calling "fetch" from the commandline, use the option "-U". (Only the root user is allowed to use this option, otherwise permission is denied.) I'm posting this, because it seems no one knows about this option: it actually does not work: although the option exists and gets handed thru the various functions, the code to do the real work is missing! I have just added some necessary code, and now it works for me as intended, and I have sent a bug-report, so I hope this will be implemented soon. Interim, my fix is published in bugreport bin/80620 PMc