Menu

cntlm + squid proxy = 407 error

Help
2011-03-17
2013-05-23
  • Elvis Morales

    Elvis Morales - 2011-03-17

    @mavey this foum seems like a ghost town please i would appeciate your help to get work cntlm with the squid proxy of my work.

    the issue is that firefox connects fine, and Jdownloader also with java works perfect specifiying them my proxy details, but in synaptic or pidgin i got the 407 authentication error, so for this application is what for i need the help of cntlm but still wont work for me and appears the 407 error when i send the command "cntlm -v -M http://www.google.com¨

    nerdhacker@Satellite-M45:~$ sudo cntlm -v -M http://www.google.com
    section: global, Username = 'yoan'
    section: global, Password = 'yoan09'
    section: global, Proxy = '192.168.0.1:3128'
    section: global, Listen = '3129'
    Default config file opened successfully
    cntlm: Proxy listening on 127.0.0.1:3129
    cntlm: Resolving proxy 192.168.0.1...
    cntlm: Workstation name used: Satellite-M45
    cntlm: Using proxy 192.168.0.1:3128
    Config profile  1/4... NTLM Request:
           Domain: 
         Hostname: Satellite-M45
            Flags: 0xA208B205
    Sending PROXY auth request...
    Proxy-Connection               => keep-alive
    Host                           => www.google.com
    Proxy-Authorization            => NTLM TlRMTVNTUAABAAAABbIIogAAAAAtAAAADQANACAAAABTQVRFTExJVEUtTTQ1
    Content-Length                 => 0
    Reading PROXY auth response...
    HEAD: HTTP/1.0 407 Proxy Authentication Required
    Server                         => squid/3.0.STABLE8
    Mime-Version                   => 1.0
    Date                           => Thu, 17 Mar 2011 02:18:17 GMT
    Content-Type                   => text/html
    Content-Length                 => 1333
    Expires                        => Thu, 17 Mar 2011 02:18:17 GMT
    X-Squid-Error                  => ERR_CACHE_ACCESS_DENIED 0
    Proxy-Authenticate             => Digest realm="Servidor Proxy UNAICC", nonce="aW+BTQAAAABI5LYAAAAAAMpcc3IAAAAA", qop="auth", stale=false
    X-Cache                        => MISS from proxy.unaicc.cu
    Via                            => 1.0 proxy.unaicc.cu (squid/3.0.STABLE8)
    Proxy-Connection               => close
    Discarding 1333 bytes.
    cntlm: Proxy returning invalid challenge!
    headers_send: fd 5 warning -999 (connection closed)
    Connection closed
    Config profile  2/4... NTLM Request:
           Domain: 
         Hostname: Satellite-M45
            Flags: 0xB207
    Sending PROXY auth request...
    Proxy-Connection               => keep-alive
    Host                           => www.google.com
    Proxy-Authorization            => NTLM TlRMTVNTUAABAAAAB7IAAAAAAAAtAAAADQANACAAAABTQVRFTExJVEUtTTQ1
    Content-Length                 => 0
    Reading PROXY auth response...
    HEAD: HTTP/1.0 407 Proxy Authentication Required
    Server                         => squid/3.0.STABLE8
    Mime-Version                   => 1.0
    Date                           => Thu, 17 Mar 2011 02:18:17 GMT
    Content-Type                   => text/html
    Content-Length                 => 1333
    Expires                        => Thu, 17 Mar 2011 02:18:17 GMT
    X-Squid-Error                  => ERR_CACHE_ACCESS_DENIED 0
    Proxy-Authenticate             => Digest realm="Servidor Proxy UNAICC", nonce="aW+BTQAAAAAgwbYAAAAAAF13L1IAAAAA", qop="auth", stale=false
    X-Cache                        => MISS from proxy.unaicc.cu
    Via                            => 1.0 proxy.unaicc.cu (squid/3.0.STABLE8)
    Proxy-Connection               => close
    Discarding 1333 bytes.
    cntlm: Proxy returning invalid challenge!
    headers_send: fd 5 warning -999 (connection closed)
    Connection closed
    Config profile  3/4... NTLM Request:
           Domain: 
         Hostname: Satellite-M45
            Flags: 0xB206
    Sending PROXY auth request...
    Proxy-Connection               => keep-alive
    Host                           => www.google.com
    Proxy-Authorization            => NTLM TlRMTVNTUAABAAAABrIAAAAAAAAtAAAADQANACAAAABTQVRFTExJVEUtTTQ1
    Content-Length                 => 0
    Reading PROXY auth response...
    HEAD: HTTP/1.0 407 Proxy Authentication Required
    Server                         => squid/3.0.STABLE8
    Mime-Version                   => 1.0
    Date                           => Thu, 17 Mar 2011 02:18:17 GMT
    Content-Type                   => text/html
    Content-Length                 => 1333
    Expires                        => Thu, 17 Mar 2011 02:18:17 GMT
    X-Squid-Error                  => ERR_CACHE_ACCESS_DENIED 0
    Proxy-Authenticate             => Digest realm="Servidor Proxy UNAICC", nonce="aW+BTQAAAADQo/MAAAAAAGj5XxYAAAAA", qop="auth", stale=false
    X-Cache                        => MISS from proxy.unaicc.cu
    Via                            => 1.0 proxy.unaicc.cu (squid/3.0.STABLE8)
    Proxy-Connection               => close
    Discarding 1333 bytes.
    cntlm: Proxy returning invalid challenge!
    headers_send: fd 5 warning -999 (connection closed)
    Connection closed
    Config profile  4/4... NTLM Request:
           Domain: 
         Hostname: Satellite-M45
            Flags: 0xA208B207
    Sending PROXY auth request...
    Proxy-Connection               => keep-alive
    Host                           => www.google.com
    Proxy-Authorization            => NTLM TlRMTVNTUAABAAAAB7IIogAAAAAtAAAADQANACAAAABTQVRFTExJVEUtTTQ1
    Content-Length                 => 0
    Reading PROXY auth response...
    HEAD: HTTP/1.0 407 Proxy Authentication Required
    Server                         => squid/3.0.STABLE8
    Mime-Version                   => 1.0
    Date                           => Thu, 17 Mar 2011 02:18:17 GMT
    Content-Type                   => text/html
    Content-Length                 => 1333
    Expires                        => Thu, 17 Mar 2011 02:18:17 GMT
    X-Squid-Error                  => ERR_CACHE_ACCESS_DENIED 0
    Proxy-Authenticate             => Digest realm="Servidor Proxy UNAICC", nonce="aW+BTQAAAAA41rYAAAAAAM/Kx1YAAAAA", qop="auth", stale=false
    X-Cache                        => MISS from proxy.unaicc.cu
    Via                            => 1.0 proxy.unaicc.cu (squid/3.0.STABLE8)
    Proxy-Connection               => close
    Discarding 1333 bytes.
    cntlm: Proxy returning invalid challenge!
    headers_send: fd 5 warning -999 (connection closed)
    Connection closed
    Wrong credentials, invalid URL or proxy doesn't support NTLM nor BASIC.
    cntlm: Terminating with 0 active threads
    
     
  • David Kubicek

    David Kubicek - 2012-03-19

    Local misconfiguration. Set Cntlm's service port as HTTP(S) proxy in global system setting and in every application that doesn't make use of it.

    BTW, this place might look like a ghost town to you but all relevant and important requests are handled right away, plus "Help" discussion forum is for users. If you need to report a bug or a support request you the appropriate tracker instead of discussion forums.

     

Log in to post a comment.