Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Mar 2003 10:35:13 -0500
From:      "Brian J. McGovern" <bmcgover@cisco.com>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        qa@freebsd.org
Subject:   Re: Changes to libfetch in 5.0 break proxy support? 
Message-ID:  <200303041535.h24FZDae005215@bmcgover-pc.cisco.com>
In-Reply-To: Your message of "Tue, 04 Mar 2003 12:52:12 %2B0100." <xzpadgbcpsj.fsf@flood.ping.uio.no> 

next in thread | previous in thread | raw e-mail | index | archive | help
Here you go. This is done from a bash shell, having run a
export FETCH_BEFORE_ARGS=-vvv
export HTTP_PROXY=proxy-host.cisco.com:80
export FTP_PASSIVE_MODE=YES

The hostnames have been altered to protect my internal network :) In this
example, the proxy is running FreeBSD 5.0 with the stock apache 1.3 from
the ports. The config file was edited so that proxy module was enabled.
Verification of proxy was done by setting mozilla to use it for HTTP and
FTP proxy, and several web pages and ftp transfers were done. Similarly, some
4.7 clients were used with the last two of the three enviornment variables
set (above), and it worked.

I also have a Red Hat 7.2 box with Apache in a similar configuration. Test
results are similar to those described above, hence why I'm pointing at the
fetch command/library.

	-Brian

===>  Extracting for XFree86-4.2.0_1,1
>> No MD5 checksum file.
===>   XFree86-4.2.0_1,1 depends on shared library: Xft.1 - not found
===>    Verifying install for Xft.1 in /usr/ports/x11/XFree86-4-libraries
>> X420src-1.tgz doesn't seem to exist in /usr/ports/distfiles/xc.
>> Attempting to fetch from ftp://ftp.xfree86.org/pub/XFree86/4.2.0/source/.
scheme:   []
user:     []
password: []
host:     [proxy-host.cisco.com]
port:     [80]
document: [/]
---> proxy-host.cisco.com:80
looking up proxy-host.cisco.com
connecting to proxy-host.cisco.com:80
requesting ftp://ftp.xfree86.org/pub/XFree86/4.2.0/source/X420src-1.tgz
>>> GET ftp://ftp.xfree86.org/pub/XFree86/4.2.0/source/X420src-1.tgz HTTP/1.1
>>> Host: ftp.xfree86.org
>>> User-Agent: fetch libfetch/2.0
>>> Connection: close
>>> 
<<< HTTP/1.0 200 OK
<<< Cache-Control: no-store
<<< Pragma: no-cache
<<< Cache-Control: no-cache
<<< X-Bypass-Cache: Application and Content Networking Software 4.1.3
<<< Connection: Close
<<< 
offset 0, length -1, size -1, clength -1
fetch: ftp://ftp.xfree86.org/pub/XFree86/4.2.0/source/X420src-1.tgz: size of remote file is not known

147 bytes transferred in 0.0 seconds (1.45 MBps)
>> Wraphelp.gz doesn't seem to exist in /usr/ports/distfiles/xc.
>> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/anholt/.
scheme:   []
user:     []
password: []
host:     [proxy-host.cisco.com]
port:     [80]
document: [/]
---> proxy-host.cisco.com:80
looking up proxy-host.cisco.com
connecting to proxy-host.cisco.com:80
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/anholt/Wraphelp.gz: Operation timed out
>> Attempting to fetch from ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/anholt/.
scheme:   []
user:     []
password: []
host:     [proxy-host.cisco.com]
port:     [80]
document: [/]
---> proxy-host.cisco.com:80
looking up proxy-host.cisco.com
connecting to proxy-host.cisco.com:80
fetch: ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/anholt/Wraphelp.gz: Operation timed out
>> Attempting to fetch from ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/anholt/.
scheme:   []
user:     []
password: []
host:     [proxy-host.cisco.com]
port:     [80]
document: [/]
---> proxy-host.cisco.com:80
looking up proxy-host.cisco.com
connecting to proxy-host.cisco.com:80
fetch: ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/anholt/Wraphelp.gz: Operation timed out
>> Attempting to fetch from ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/anholt/.
scheme:   []
user:     []
password: []
host:     [proxy-host.cisco.com]
port:     [80]
document: [/]
---> proxy-host.cisco.com:80
looking up proxy-host.cisco.com
connecting to proxy-host.cisco.com:80
fetch: ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/anholt/Wraphelp.gz: Operation timed out
>> Attempting to fetch from ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/anholt/.
scheme:   []
user:     []
password: []
host:     [proxy-host.cisco.com]
port:     [80]
document: [/]
---> proxy-host.cisco.com:80
looking up proxy-host.cisco.com
connecting to proxy-host.cisco.com:80
fetch: ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/anholt/Wraphelp.gz: Operation timed out
>> Attempting to fetch from ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/anholt/.
scheme:   []
user:     []
password: []
host:     [proxy-host.cisco.com]
port:     [80]
document: [/]
---> proxy-host.cisco.com:80
looking up proxy-host.cisco.com
connecting to proxy-host.cisco.com:80
fetch: ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/anholt/Wraphelp.gz: Operation timed out
>> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/xc/.
scheme:   []
user:     []
password: []
host:     [proxy-host.cisco.com]
port:     [80]
document: [/]
---> proxy-host.cisco.com:80
looking up proxy-host.cisco.com
connecting to proxy-host.cisco.com:80
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/xc/Wraphelp.gz: Operation timed out
>> Couldn't fetch it - please try to retrieve this
>> port manually into /usr/ports/distfiles/xc and try again.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-libraries.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4.


 > "Brian J. McGovern" <bmcgover@cisco.com> writes:
 > > Anyone have any ideas if something has broken, or whether its pilot error?
 > 
 > Please show the output of "fetch -vvv <some-url-that-doesn't-work>"
 > 
 > DES
 > -- 
 > Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-qa" in the body of the message




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