[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

HELP: Mirror/wget over http-proxy with authorisation won't work



Hi,
the situation:

I want to mirror potato on my local maschine. Direct ftp and http requests
don't go through our companies proxy und firewalls.

For using our proxy I need authorisation (username/passwd) for any
http-application which accesses the proxy. ftp via netscape is working

After installing squid on my local machine I found a way that squid does the
authorisations for me, any http app no works without doing the
authoristion-procedure, any time I start it.

Then I've been trying to get the perl script 'mirror' working. It tries to
connect via squid, but get's a time out
(ftp via netscape to ftp.debian.org works fine)

Next try wget: Made the http-authorisation setting in /etc/wgetrc,
passive-ftp and so on,  it seems to work, it's downloading some stuff, but
if I try to use any of the parameters like -m (mirror)

Example with http-proxy set to company proxy

wget -Y -v -r --no-parent --passive-ftp  --http-user=my_user --http-passwd=m
y_pass ftp://ftp.rfc822.org:21/debian/dists/potato/main/binary-i386
---> no route to host

wget -Y -v -r --no-parent --passive-ftp  --http-user=my_user --http-passwd=m
y_pass ftp.rfc822.org/debian/dists/potato/main/binary-i386
Connecting to proxy.koogrp.globus.net:port... connected!
Proxy request sent, awaiting response... 407 Proxy authorization required
14:34:01 ERROR 407: Proxy authorization required.

wget -Y -v -r --no-parent --passive-ftp  --http-user=my_user --http-passwd=m
y_pass http.debian.org:21/debian/dists/potato/main/binary-i386
Connecting to proxy.koogrp.globus.net:port... connected!
Proxy request sent, awaiting response... 407 Proxy authorization required
14:34:01 ERROR 407: Proxy authorization required.

Example with http-proxy set to squid on local machine
Connecting to 126.1.53.251:3128... connected!
Proxy request sent, awaiting response...


Any hints??
Bye
Mark




Reply to: