This is a migrated thread and some comments may be shown as answers.

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

3 Answers 1095 Views
Windows
This is a migrated thread and some comments may be shown as answers.
Juliano
Top achievements
Rank 1
Juliano asked on 30 Sep 2016, 06:15 PM

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";

 

CONNECT www.telerik.com:443 HTTP/1.1
Host: www.telerik.com:443
User-Agent: Fiddler/4.6.2.32002 (.NET 4.6.2; WinNT 10.0.14393.0; en-US; 4xAMD64; Auto Update; Full Instance)
Proxy-Authorization: Negotiate TlRMTVNTUAABAAAAl4II4gAAAAAAAAAAAAAAAAAAAAAKADk4AAAADw==


HTTP/1.1 407 authenticationrequired
Via: 1.1 172.99.71.201 (McAfee Web Gateway 7.6.1.1.0.21006)
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?

3 Answers, 1 is accepted

Sort by
0
Tsviatko Yovtchev
Telerik team
answered on 05 Oct 2016, 01:37 PM
Hi,

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

Regards,
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
0
Juliano
Top achievements
Rank 1
answered on 05 Oct 2016, 06:51 PM
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.
0
Mcafee
Top achievements
Rank 2
answered on 30 Oct 2017, 09:24 AM
nice and informatory blog.. I like it..
Tags
Windows
Asked by
Juliano
Top achievements
Rank 1
Answers by
Tsviatko Yovtchev
Telerik team
Juliano
Top achievements
Rank 1
Mcafee
Top achievements
Rank 2
Share this question
or