Thread: Connect through proxy: Authentication Required

  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    3

    Connect through proxy: Authentication Required

    Hello all,

    Can you help me in my little problem?
    I trying to write program that will be connect to the internet but, but there is a http proxy server in my network and I have problem with authentication on it... For more details you can see qoute below:

    GET http://www.google.com:80/index HTTP/1.1

    HTTP/1.0 407 Proxy Authentication Required
    Server: squid
    Date: Wed, 05 Aug 2009 05:43:17 GMT
    Content-Type: text/html
    Content-Length: 1095
    X-Squid-Error: ERR_LIMIT_DENIED 0
    Proxy-Authenticate: NTLM
    Proxy-Authenticate: Basic realm="MERA proxy-caching web server"
    X-Cache: MISS from proxy.te.mera.ru
    X-Cache-Lookup: NONE from proxy.te.mera.ru:8080
    Via: 1.0 proxy.te.mera.ru:8080 (squid)
    Connection: close
    I have a login and password on this proxy, but I don't know how I need to send it to proxy server... Can anybody help me? (8

  2. #2
    Registered User
    Join Date
    Jan 2008
    Posts
    45
    The NTLM Authentication Protocol and Security Support Provider
    The NTLM Authentication Protocol and Security Support Provider

  3. #3
    Registered User
    Join Date
    Aug 2009
    Posts
    3
    :'(
    this is an extreme measure
    At first I would like to know, could someone have similar problem and knows solution for that?
    I think it's impossible that tere is no any functions and librarys that helps to connect via http proxy server

  4. #4
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    This is why people use libcurl instead of writing their own HTTP protocol code.
    bit∙hub [bit-huhb] n. A source and destination for information.

  5. #5
    Registered User
    Join Date
    Aug 2009
    Posts
    3
    thanks man.... but.. is there another way to solve my problem? (8

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 09:13 AM
  2. Though implementation problem
    By Elysia in forum C++ Programming
    Replies: 296
    Last Post: 05-31-2008, 01:02 PM
  3. Replies: 28
    Last Post: 07-16-2006, 11:35 PM
  4. NAQ: Everything you never wanted to know about CPP
    By evildave in forum C Programming
    Replies: 21
    Last Post: 12-12-2005, 10:56 AM
  5. Client timed-out once on connect(), can never connect() again
    By registering in forum Networking/Device Communication
    Replies: 6
    Last Post: 10-28-2003, 03:46 PM