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

Proxy question

3 Answers 36 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
Xu
Top achievements
Rank 1
Xu asked on 17 Aug 2014, 01:53 AM
Hi, all:

If URLMonInterop.SetProxyInProcess() set the proxy to a machine other than itself, will Fiddler capture the traffic?

What I need is after captureing the request, Fiddler throw it to a remote proxy server, and then waiting response. Is it possible? and how to fulfill?

3 Answers, 1 is accepted

Sort by
0
Xu
Top achievements
Rank 1
answered on 17 Aug 2014, 02:46 AM
I studied Chain Fiddler to an Upstream Proxy and The Fiddler Proxy, and other materials, 
It seems 
     oSession["X-OverrideGateway"]
could resolve my problem.

Does that mean I can set a after Fiddler proxy for every session?

I will try.
0
Eric Lawrence
Telerik team
answered on 18 Aug 2014, 05:19 PM
Fiddler will automatically adopt the system proxy (IE's Tools > Internet Options > Connections > LAN Settings) as its default when it starts up. To change this behavior, or manually specify a different proxy, inside Fiddler choose Tools > Fiddler Options > Gateway.

As you noted, you can manually set an upstream proxy on a single request using the X-OverrideGateway flag.

You only use URLMonInterop.SetProxyInProcess() when you are running a FiddlerCore based application and want to set only that one application containing FiddlerCore to use the FiddlerCore-based proxy. Stated another way, this API allows a FiddlerCore application to capture traffic from itself without needing to become the system proxy. That API is limited to controlling traffic from WinINET/URLMon. This is primarily useful if you have an application that hosts one or more of the IE WebBrowser controls within itself.

Regards,
Eric Lawrence
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Xu
Top achievements
Rank 1
answered on 18 Aug 2014, 11:25 PM
Eric, I see. Thx a lot! 
Tags
Fiddler Classic
Asked by
Xu
Top achievements
Rank 1
Answers by
Xu
Top achievements
Rank 1
Eric Lawrence
Telerik team
Share this question
or