Proxy automatic authentication not working with code 407 for McAfee Web Gateway

4 posts, 0 answers
  1. Juliano
    Juliano avatar
    5 posts
    Member since:
    Aug 2008

    Posted 30 Sep 2016 Link to this post

    I used to change Fiddler script to add the automatic authentication to make console based applications work with NTLM authentication, however my company has moved from TMG to McAfee Web Gateway and now the code below is not working. 


    oSession["X-AutoAuth"] = "domain\user:mypass";


    User-Agent: Fiddler/ (.NET 4.6.2; WinNT 10.0.14393.0; en-US; 4xAMD64; Auto Update; Full Instance)

    HTTP/1.1 407 authenticationrequired
    Via: 1.1 (McAfee Web Gateway
    Date: Fri, 30 Sep 2016 18:11:09 GMT
    Content-Type: text/html
    Cache-Control: no-cache
    Content-Length: 3007
    Proxy-Connection: Keep-Alive
    Proxy-Authenticate: NTLM
    Proxy-Support: Session-Based-Authentication

    Can you help me?

  2. Tsviatko Yovtchev
    Tsviatko Yovtchev avatar
    549 posts

    Posted 05 Oct 2016 Link to this post


    You can try oSession["X-AutoAuth"] = "default" or you could use the Automatically Authenticate menu entry in the rules menu. Does this change something?

    Tsviatko Yovtchev
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Juliano
    Juliano avatar
    5 posts
    Member since:
    Aug 2008

    Posted 05 Oct 2016 in reply to Tsviatko Yovtchev Link to this post

    I tried both with oSession["X-AutoAuth"] = "(default)" (which is the default code on Fiddler rules) and  oSession["X-AutoAuth"] = "MyPassword".For both cases, I receive http error 407.
  4. Mcafee
    Mcafee avatar
    1 posts
    Member since:
    Oct 2017

    Posted 30 Oct 2017 Link to this post

    nice and informatory blog.. I like it..
Back to Top