From owner-freebsd-hackers Thu Aug 5 21:52:55 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from metriclient-1.uoregon.edu (metriclient-1.uoregon.edu [128.223.172.1]) by hub.freebsd.org (Postfix) with ESMTP id A991A14F12 for ; Thu, 5 Aug 1999 21:52:51 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by metriclient-1.uoregon.edu (8.9.1/8.8.7) id VAA11824; Thu, 5 Aug 1999 21:50:11 -0700 (PDT) Message-ID: <19990805215011.45032@hydrogen.fircrest.net> Date: Thu, 5 Aug 1999 21:50:11 -0700 From: John-Mark Gurney To: "Daniel O'Connor" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: fetch: default to passive mode? References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: ; from Daniel O'Connor on Fri, Aug 06, 1999 at 10:29:24AM +0930 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 3.0-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Daniel O'Connor scribbled this message on Aug 6: > On 05-Aug-99 Dag-Erling Smorgrav wrote: > > "Chuck Youse" writes: > > > I have a really strong urge to submit a PR to make fetch default to passive > > > mode, instead of requiring a command-line switch ... > > > > fetch(1) honors FTP_PASSIVE_MODE. > > Speaking of fetch features.. Are there any plans to make fetch use a http proxy > for ftp requests like ftp does? At the moment I usually do 'make FETCH_CMD=ftp' > when making ports since it honours ftp_proxy (like wget, netscape and lynx) hmmm... are you sure it doesn't? metriclient-1,ttype,/tmp,509$echo $HTTP_PROXY localhost:3128 metriclient-1,ttype,/tmp,507$fetch ftp://ftp.cdrom.com/config.txt Receiving config.txt: 3 Kbytes 3575 bytes transfered in 0.7 seconds (5.15 Kbytes/s) metriclient-1,ttype,/tmp,501#tail squid.access 933914913.491 3750 127.0.0.1 TCP_MISS/200 3816 GET ftp://ftp.cdrom.com/config.txt - DIRECT/ftp.cdrom.com text/plain sure looks like it uses the http proxy, and this is on 3.0-R... -- John-Mark Gurney Voice: +1 541 684 8449 Cu Networking P.O. Box 5693, 97405 "The soul contains in itself the event that shall presently befall it. The event is only the actualizing of its thought." -- Ralph Waldo Emerson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message