Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any resource/codes on how fiddler works?

I need to track http/url requests & redirects from a windows forms application using C#. It should handle both IE & firefox. Not sure if Fiddler is open-source but if i'm not mistaken, it's written using .NET. Sample codes or online articles on how to listen to http/url requests & redirects will be appreciated.

Thanks!

like image 898
Leon Tayson Avatar asked Feb 14 '09 18:02

Leon Tayson


2 Answers

Fiddler works as standard HTTP proxy. There is no magic here. See HTTP protocol for details. In both IE/Firefox, you need to set Fiddler (or your custom program) as proxy, and then browser will use it for all outgoing requests. Proxy is responsible for forwarding request to correct server, and returning response. Proxies are typically used for 1) caching, 2) controlling access (and avoiding firewalls), 3) debugging.

See also Open Source Proxy Library for .Net for .NET proxy library (just quick googling... I have no experience with it).

like image 158
Peter Štibraný Avatar answered Sep 28 '22 00:09

Peter Štibraný


You'd probably be interested in the new FiddlerCore library: http://fiddler.wikidot.com/fiddlercore

like image 42
EricLaw Avatar answered Sep 27 '22 22:09

EricLaw