Allowing Traffic from Specific Processes

With Fiddler Everywhere, you can create a rule that automatically allows traffic only from specific processes and forcibly closes HTTP connections triggered from any other process.

Creating an "Allow Traffic from Specific Processes" Rule

Create an "Allow Traffic from Specific Processes" rule by setting the following actions through the Rules Builder.

  1. Create a matching condition that uses the "When none of these conditions are met any number of times" pattern. This rule uses the negative statement none ... to apply the desired actions to everything but the matched entries.

  2. Match by a Process where the string value defines the targeted process by its name. The process name varies depending on the used operating system and version of the client application.
    The example below matches different browsers on macOS while using the following regular expression: com.apple.webkit|chrome|msedge.

  3. Create a Close Non Gracefully action.

This sample Fiddler rule matches all sessions where the processes contain one of the string literals set through the regular expression and then closes the connections made by any other unmatched process.

Creating "Allow Traffic from Specific Processes" rule

The blocking actions are not final and can be combined with other actions. Learn more about final and non-final actions here.

Once the rule is created, enable the Rules tab, toggle the rule switch, and start capturing traffic.

Activating the "Allow Traffic from Specific Processes" rule

Download a ready-to-use "Allow Traffic from Specific Processes" rule as a FARX file, which you can import through the Rules toolbar.

See Also