Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 May 2005 19:17:02 +0200
From:      Peter Much <pmc@citylink.dinoex.sub.org>
To:        freebsd-questions@freebsd.org, freebsd-ports@freebsd.org
Subject:   port-fetch, ftp passive, and port priority
Message-ID:  <20050504171702.GA3319@gate.oper.dinoex.org>

next in thread | raw e-mail | index | archive | help
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



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