NTLM proxy auth: curl-loader disconnects after receiving 407 ( curl --proxy-ntlm ... works ok )
Status: Alpha
Brought to you by:
coroberti
From: Ivan <iva...@gm...> - 2010-09-27 05:32:55
|
Hi everyone, I am trying to test NTLM proxy authentication for an explicit proxy. I am aware about curllib's issues with NTLM; I believe it may not apply to my case, as I can authenticate successfully using plain CURL curl --proxy "http://web-cache.usyd.edu.au:8080" --proxy-ntlm --proxy-user 'mss\User:*********' www.google.com I get: <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"> <TITLE>302 Moved</TITLE></HEAD><BODY> <H1>302 Moved</H1> The document has moved <A HREF="http://www.google.com.au/">here</A>. </BODY></HTML> When I am using curl-loader connection, it disconnects after recieving 407 as ( see below ) # 1285564151266 Mon Sep 27 15:09:11 2010 # msec_offset cycle_no url_no client_no (ip) indic info 1 0 0 1 == About to connect() to proxy web-cache.usyd.edu.au port 8080 (#0) eff-url: url http://www.google.com 9 0 0 1 !! ERCL 407 HTTP/1.1 407 Proxy Authentication Required^M eff-url: url http://www.google.com 23 0 0 1 !! ERCL 407 HTTP/1.1 407 Proxy Authentication Required^M eff-url: url http://www.google.com 23 0 0 1 == Closing connection #0 eff-url: url http://www.google.com I suspect that my poor understanding of the topic is to blame; I would greatly appreciate if you have a quick look the configuration file and tell me if what is wrong. ########### GENERAL SECTION ################################ BATCH_NAME=proxy-test CLIENTS_NUM_MAX=10 #Same as CLIENTS_NUM CLIENTS_NUM_START=1 CLIENTS_RAMPUP_INC=1 INTERFACE = eth0 NETMASK=24 IP_ADDR_MIN=172.16.236.229 IP_ADDR_MAX=172.16.236.229 CYCLES_NUM = 100 #FRESH_CONNECT=1 URLS_NUM=1 ########### Login URL SECTION ####################### URL=http://www.google.com URL_SHORT_NAME="google" REQUEST_TYPE=GET PROXY_AUTH_METHOD = NTLM PROXY_AUTH_CREDENTIALS='mss\ivan:***********' TIMER_URL_COMPLETION = 1000 TIMER_AFTER_URL_SLEEP = 200 Thank you in advance. -- Ivan |