Skip to content

Configuration

Erick Jung edited this page Jun 29, 2020 · 2 revisions

Configuration

  1. Proxy
  2. Server Context

Proxy

After enabling the proxy, all computer transactions will go through the mitmproxy/mockingbird and by that, all HTTPS connections will be using a fake certificate, so in order to give the opportunity to use mockingbird with a real device without affecting computer internet navigation we display two types of proxy:

  1. Default: Set proxy for the network with the highest priority on macOS
  2. Wi-Fi: Set proxy for Wi-Fi network on macOS

If the computer is only connected through Wi-Fi, there is no difference between those options, however, if the computer is connected through Cable and Wi-Fi, it will be possible to set proxy only for a real device using Wi-Fi to keep computer's internet untouchable.

If you want to use with simulators, set the Default option. In this case it's important to set the network with the highest priority.

Server Context

Generally we want to filter transactions by a domain (or multiples), so we can focus on really matters, and to accomplish this we should create a context filter on mockingbird.

Configuring a new context

  1. Go to Settings screen
  2. Tap on Open Data Folder
  3. Create a file called context.json on mockingbird root folder
  4. Save the file following this convention:
{
	"context": "your_company",
	"paths": [
		"domain1",
		"domain2"
	]
}
  1. Restart mockingbird
  2. Done!

Selecting contexts

  1. Go to Settings screen
  2. At Server Context area select the context

If a context.json is present, their content will always be set as default.

Clone this wiki locally