fetch: default to passive mode?
I have a really strong urge to submit a PR to make fetch default to passive mode, instead of requiring a command-line switch ... In this day and age, with firewalls and NAT abound, it's a bit odd that such a change has not already been made. Am I missing something? Is there a reason we haven't done this yet? Chuck Youse Director of Engineering CyberSites, Inc. To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message
fetch: default to passive mode?
I have a really strong urge to submit a PR to make fetch default to passive mode, instead of requiring a command-line switch ... In this day and age, with firewalls and NAT abound, it's a bit odd that such a change has not already been made. Am I missing something? Is there a reason we haven't done this yet? Chuck Youse Director of Engineering CyberSites, Inc. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: fetch: default to passive mode?
"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. d...@des /usr/freebsd/current% lcvs log -r1.31 src/etc/login.conf RCS file: /home/ncvs/src/etc/login.conf,v Working file: src/etc/login.conf head: 1.32 branch: locks: strict access list: symbolic names: RELENG_3_2_PAO: 1.26.2.3.0.2 RELENG_3_2_PAO_BP: 1.26.2.3 RELENG_3_2_0_RELEASE: 1.26.2.3 RELENG_3_1_0_RELEASE: 1.26.2.1 RELENG_3: 1.26.0.2 RELENG_3_BP: 1.26 RELENG_2_2_8_RELEASE: 1.9.2.7 RELENG_3_0_0_RELEASE: 1.22 RELENG_2_2_7_RELEASE: 1.9.2.7 RELENG_2_2_6_RELEASE: 1.9.2.7 RELENG_2_2_5_RELEASE: 1.9.2.3 RELENG_2_2_2_RELEASE: 1.9 RELENG_2_2: 1.9.0.2 keyword substitution: kv total revisions: 43;selected revisions: 1 description: revision 1.31 date: 1999/05/28 11:07:16; author: jkh; state: Exp; lines: +2 -2 Set FTP_PASSIVE_MODE=YES by default in the default login class. = DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message
Re: fetch: default to passive mode?
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) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum pgpaOS8s9MfwZ.pgp Description: PGP signature
Re: fetch: default to passive mode?
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 majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message
Re: fetch: default to passive mode?
On 06-Aug-99 John-Mark Gurney wrote: > 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... Hmm.. sneaky :) I should have read the man page more thoroughly it would seem. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum pgpAVH2wQu6Jt.pgp Description: PGP signature
Re: fetch: default to passive mode?
"Daniel O'Connor" writes: > Speaking of fetch features.. Are there any plans to make fetch use a > http proxy for ftp requests like ftp does? Yes. I intend to implement this in libfetch when I get around to rewriting the HTTP code. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message
Re: fetch: default to passive mode?
"Chuck Youse" <[EMAIL PROTECTED]> 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. des@des /usr/freebsd/current% lcvs log -r1.31 src/etc/login.conf RCS file: /home/ncvs/src/etc/login.conf,v Working file: src/etc/login.conf head: 1.32 branch: locks: strict access list: symbolic names: RELENG_3_2_PAO: 1.26.2.3.0.2 RELENG_3_2_PAO_BP: 1.26.2.3 RELENG_3_2_0_RELEASE: 1.26.2.3 RELENG_3_1_0_RELEASE: 1.26.2.1 RELENG_3: 1.26.0.2 RELENG_3_BP: 1.26 RELENG_2_2_8_RELEASE: 1.9.2.7 RELENG_3_0_0_RELEASE: 1.22 RELENG_2_2_7_RELEASE: 1.9.2.7 RELENG_2_2_6_RELEASE: 1.9.2.7 RELENG_2_2_5_RELEASE: 1.9.2.3 RELENG_2_2_2_RELEASE: 1.9 RELENG_2_2: 1.9.0.2 keyword substitution: kv total revisions: 43;selected revisions: 1 description: revision 1.31 date: 1999/05/28 11:07:16; author: jkh; state: Exp; lines: +2 -2 Set FTP_PASSIVE_MODE=YES by default in the default login class. = DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: fetch: default to passive mode?
On 05-Aug-99 Dag-Erling Smorgrav wrote: > "Chuck Youse" <[EMAIL PROTECTED]> 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) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum PGP signature
Re: fetch: default to passive mode?
Daniel O'Connor scribbled this message on Aug 6: > On 05-Aug-99 Dag-Erling Smorgrav wrote: > > "Chuck Youse" <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: fetch: default to passive mode?
On 06-Aug-99 John-Mark Gurney wrote: > 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... Hmm.. sneaky :) I should have read the man page more thoroughly it would seem. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum PGP signature
Re: fetch: default to passive mode?
"Daniel O'Connor" <[EMAIL PROTECTED]> writes: > Speaking of fetch features.. Are there any plans to make fetch use a > http proxy for ftp requests like ftp does? Yes. I intend to implement this in libfetch when I get around to rewriting the HTTP code. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message