Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I filter Fiddler sessions to show only a specific remote computer

I've followed this http://fiddler2.com/documentation/Configure-Fiddler/Tasks/ConfigureForAndroid to allow me to view http traffic from my Android tablet on Fiddler installed on my PC. It works well.

However, I am seeing ALL traffic, including that from my local PC - which is still overly chatty despite closing down all my browsers. I would like to use a filter to show a specific device. The filters page doesn't appear to allow this.

Any ideas?

like image 914
Greg Woods Avatar asked Jun 06 '13 11:06

Greg Woods


1 Answers

Your first and simplest step is to untick the Capture Traffic option on Fiddler's File menu; this will unregister Fiddler as the system's proxy.

Beyond that, you could write a rule inside Rules > OnBeforeRequest:

if (!String.IsNullOrEmpty(oSession["x-ProcessInfo"])) { 
    oSession["ui-hide"] = "localprocess"; 
}

This will hide any traffic from a process on your local PC, thus showing only remote traffic.

If you had multiple remote computers and wanted only traffic from one of them, you'd write your rule to examine the oSession["X-CLIENTIP"] flag.

like image 79
EricLaw Avatar answered Sep 28 '22 03:09

EricLaw