Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Fiddler how can I see the list of filters added by "Filter Now"?

Tags:

fiddler

In Fiddler you can:

  1. Right click on a session
  2. Select Filter Now
  3. Show/hide domain/process

Filter Now

These filters do not show up in the Filters tab. Mine is empty:

Filters tab

How do you see the list of filters you've added? How a filter you've added?

like image 611
awilkinson Avatar asked Aug 20 '15 18:08

awilkinson


People also ask

How do I filter a session in Fiddler?

To search through captured requests and responses: Click Edit > Find Sessions... and specify search options in the dialog. Enter a command in the QuickExec box.


Video Answer


2 Answers

Once you've added filters, they show up below the list of sessions:

enter image description here

Each filter looks like a link. It is underlined when you mouse over it. But clicking on it does nothing which is a bit confusing.

Right clicking on a filter removes it. This means that future traffic will not be filtered. However, removing a filter does not restore "hidden" sessions to the list. Filtered sessions seem to be removed.

The number in parenthesis, Filters (8), is the count of how many sessions have been hidden.

Closing and restarting Fiddler also clears that list of filters.

like image 194
awilkinson Avatar answered Oct 14 '22 21:10

awilkinson


awilkinson's answer is correct, but I've found the best place to view the full list of filters is in the

%USERPROFILE%\Documents\Fiddler2\FilterNowRules.xml

file since I normally have a ton of filters and finding them in that tiny area on-screen is difficult.

The area below the Sessions block on-screen is good if you only have a couple, but once that list grows it's cumbersome and a pain to find one you're looking for.

Here's an example of the XML format, you can see that things are well organized. If opened in an editor you can quickly search for and find what you need to remove or add one. Note that you'll need to close Fiddler and re-open for any changes to be picked up since the file is not watched:

<?xml version="1.0"?>
<FilterNowRules xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ShowOnlyPID>-1</ShowOnlyPID>
  <BlockedPIDs />
  <BlockedProcessNames>
    <string>outlook:</string>
    <string>perfwatson2:</string>
    <string>fiddler:</string>
  </BlockedProcessNames>
  <BlockedHostNames>
    ...
    <string>www.youtube.com</string>
    <string>yt3.ggpht.com</string>
    <string>youtube.com</string>
    <string>fonts.googleapis.com</string>
    <string>static.doubleclick.net</string>
    <string>ad.doubleclick.net</string>
  </BlockedHostNames>
  <BlockedPaths>
    <string>/telemetry.request</string>
  </BlockedPaths>
  <BlockedMIMEs />
  <BlockedURLsContaining>
    <string>.google.com</string>
    <string>.office.com</string>
    ...
  </BlockedURLsContaining>
</FilterNowRules>
like image 41
Ed Williams Avatar answered Oct 14 '22 20:10

Ed Williams