Re: windows binary
Lately there was some discussion on the list riguarding ssl and proxies. Anyone can confirm this to be a problem with that binary compiled for windows with msvc, against a more general problem with the cvs sources from yesterday ? Hi, i could not test it because i have no proxy. But after a fast look in the code, i would say definitly yes. Last change 18.5, becasue ssl is established only bevore the connection or not after an initial handshake. The other guy say he would look at it. But i it take to long i can also take an look at at. Cu Thomas smime.p7s Description: S/MIME Cryptographic Signature
proxy authentication with squid
Hello, since we use Squid as proxy here, I tried to use wget's proxy feature in order to mirror some webpages. But the authentication to the proxy always failed. I hope I have not missed some details in the configuration ... Here is the output of the console window: -- wget $ wget --proxy=on --proxy-user=USER --proxy-passwd=PASS -r -np -Dleutasch.com http://www.leutasch.com/i_topocm.htm --10:44:04-- http://www.leutasch.com/i_topocm.htm = `www.leutasch.com/i_topocm.htm' Connecting to 10.0.0.194:3128... connected. Proxy request sent, awaiting response... 1 HTTP/1.0 407 Proxy Authentication Required 2 Server: Squid/2.4.STABLE6 3 Mime-Version: 1.0 4 Date: Thu, 13 Jun 2002 08:51:56 GMT 5 Content-Type: text/html 6 Content-Length: 1001 7 Expires: Thu, 13 Jun 2002 08:51:56 GMT 8 X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0 9 Proxy-Authenticate: Basic realm=Squid proxy-caching web server 10 X-Cache: MISS from proxy.phion 11 Proxy-Connection: close 10:44:04 ERROR 407: Proxy Authentication Required. FINISHED --10:44:04-- Downloaded: 0 bytes in 0 files Thats's the .wgetrc file in my homedirectory: - http_proxy = http://10.0.0.194:3128/ server_response = on It's really a pitty that this does not work, since normally I use wget a lot ( under linux and windows ). It is really a great pogramm! Greetings, Arno Wilhelm -- _ __ ___ _ __ /_\ _ _ _ _ ___ \ \/ (_) | |_ ___| |_ __ / _ \| '_| ' \/ _ \ \ \/\/ /| | | ' \/ -_) | ' \ /_/ \_\_| |_||_\___/ \_/\_/ |_|_|_||_\___|_|_|_|_| tel://+43/512/394545/72 fax://+43/512/394545/20 mail:[EMAIL PROTECTED] http://www.phion.com
Re: proxy authentication with squid
Hello, Could you please send the debug output of Wget to the mailing list? It could be helpful. Does the [EMAIL PROTECTED] go to the mailinglist ? Here is the debug output: - $ wget -d --proxy=on --proxy-user=USER --proxy-passwd=PASS -r -np -Dleutasch.com http://www.leutasch.com/i_topocm.htm DEBUG output created by Wget 1.8.2 on linux-gnu. Enqueuing http://www.leutasch.com/i_topocm.htm at depth 0 Queue count 1, maxcount 1. Dequeuing http://www.leutasch.com/i_topocm.htm at depth 0 Queue count 0, maxcount 1. --11:25:48-- http://www.leutasch.com/i_topocm.htm = `www.leutasch.com/i_topocm.htm' Connecting to 10.0.0.194:3128... connected. Created socket 3. Releasing 0x807b5c8 (new refcount 0). Deleting unused 0x807b5c8. ---request begin--- GET http://www.leutasch.com/i_topocm.htm HTTP/1.0 User-Agent: Wget/1.8.2 Host: www.leutasch.com Accept: */* Proxy-Authorization: Basic YXdpbGhlbG06I0lkaWU0VSM= ---request end--- Proxy request sent, awaiting response... HTTP/1.0 407 Proxy Authentication Required Server: Squid/2.4.STABLE6 2 Server: Squid/2.4.STABLE6Mime-Version: 1.0 3 Mime-Version: 1.0Date: Thu, 13 Jun 2002 09:33:40 GMT 4 Date: Thu, 13 Jun 2002 09:33:40 GMTContent-Type: text/html 5 Content-Type: text/htmlContent-Length: 1001 6 Content-Length: 1001Expires: Thu, 13 Jun 2002 09:33:40 GMT 7 Expires: Thu, 13 Jun 2002 09:33:40 GMTX-Squid-Error: ERR_CACHE_ACCESS_DENIED 0 8 X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0Proxy-Authenticate: Basic realm=Squid proxy-caching web server 9 Proxy-Authenticate: Basic realm=Squid proxy-caching web serverX-Cache: MISS from proxy.phion 10 X-Cache: MISS from proxy.phionProxy-Connection: close 11 Proxy-Connection: close Closing fd 3 11:25:48 ERROR 407: Proxy Authentication Required. FINISHED --11:25:48-- Downloaded: 0 bytes in 0 files arno@geaeini arno $ P.S. Is your browser able to authenticate with the Squid? Yes, mozilla ( vers. 0.9.9 ) and IE is able to authenticate with the Squid. Though my version of konqueror ( vers. 2.1.1 ) cannot authenticate with Squid. Greetings, Arno -- _ __ ___ _ __ /_\ _ _ _ _ ___ \ \/ (_) | |_ ___| |_ __ / _ \| '_| ' \/ _ \ \ \/\/ /| | | ' \/ -_) | ' \ /_/ \_\_| |_||_\___/ \_/\_/ |_|_|_||_\___|_|_|_|_| tel://+43/512/394545/72 fax://+43/512/394545/20 mail:[EMAIL PROTECTED] http://www.phion.com
Re: different response to wget and IE
From: Guy CHEMLA [EMAIL PROTECTED] Date: 2002/06/13 Thu PM 12:27:00 EDT To: [EMAIL PROTECTED] Subject: different response to wget and IE Hello, Could someone please explain why does Apache issue a Connection: close when wget requests a cgi? Pasting below requests of IE and wget and Apache's responses to each. Does Apache have a reasons to suspect wget's ability to deal with chunks? Sincere thanks, Guy IE request GET /bugs/show_bug.cgi HTTP/1.1\r\n Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, Accept-Language: he,en-us;q=0.5\r\n Accept-Encoding: gzip, deflate\r\n User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)\r\n Host: host.dom.com\r\n Connection: Keep-Alive\r\n Cookie: ... Apache response HTTP/1.1 200 OK\r\n Date: Thu, 13 Jun 2002 11:35:23 GMT\r\n Server: Apache/1.3.3 (Unix)\r\n Keep-Alive: timeout=15, max=100\r\n Connection: Keep-Alive\r\n Transfer-Encoding: chunked\r\n Content-Type: text/html\r\n -- WGET request GET /bugs/show_bug.cgi HTTP/1.0\r\n User-Agent: Wget/1.8.1\r\n Host: host.dom.com\r\n Accept: */*\r\n Connection: Keep-Alive\r\n Apache response HTTP/1.1 200 OK\r\n Date: Thu, 13 Jun 2002 11:33:12 GMT\r\n Server: Apache/1.3.3 (Unix)\r\n Connection: close\r\n Content-Type: text/html\r\n Try the argument --user-agent=Mozilla/4.0 (compati ... and see if it make a difference.
Re: different response to wget and IE
On Thu, 13 Jun 2002, Guy CHEMLA wrote: Could someone please explain why does Apache issue a Connection: close when wget requests a cgi? Pasting below requests of IE and wget and Apache's responses to each. Does Apache have a reasons to suspect wget's ability to deal with chunks? It doesn't just suspect that, it knows. Wget issues a HTTP/1.0 request and then it (the server) can't reply with a chunked response. Since it doesn't know the size on beforehand, it can only send the response as Connection: close. -- Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77 ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol