Is it possible to create FiddlerCoreStartupSettings to intercept requests for a specific host only? Or alternatively a specific program.exe?
I recognise there is a bypassHost options, but its not clear how to add multiple hostnames to that string?
Thanks
Methe
3 Answers, 1 is accepted
0
Nick Iliev
Telerik team
answered on 03 Jun 2020, 11:31 AM
Hello Methe Crain,
It sounds that in your case the most straight-forward solution would be to change the settings in your app (if that is possible) and let FIddlerCore listen for changes but without attaching it. Attaching means setting the system proxy settings to 127.0.0.1:8888 and all applications that are using the system proxy will effectively start using Fiddler as a proxy.
In your case, you could use the startup settings (base example):
var startupSettings = new FiddlerCoreStartupSettingsBuilder()
.ListenOnPort(FiddlerCoreListenPort)
.DecryptSSL();
FiddlerApplication.Startup(startupSettings);
Regards,
Nick Iliev
Progress Telerik
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.
Hi yeah I thought of that initially but the problem is I can't change the settings of the app, so I have to use a system-wide proxy at present. Is there a way to redirect an application or specific hostnames to use the fiddler proxy? I looked into using the windows hosts file but that doesn't work
0
Nick Iliev
Telerik team
answered on 08 Jun 2020, 05:08 AM
Hi Methe,
The only other option I could think of is to write your own implementation of Telerik.NetworkConnections but this is not a trivial job. See this thread for more details on how to work with Telerik.NetworkConnections .
Regards,
Nick Iliev
Progress Telerik
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.