-
Notifications
You must be signed in to change notification settings - Fork 16
Configuration
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:
-
Default
: Set proxy for the network with the highest priority on macOS -
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.
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.
- Go to
Settings
screen - Tap on
Open Data Folder
- Create a file called
context.json
on mockingbird root folder - Save the file following this convention:
{
"context": "your_company",
"paths": [
"domain1",
"domain2"
]
}
- Restart mockingbird
- Done!
- Go to
Settings
screen - At
Server Context
area select the context
If a context.json is present, their content will always be set as default.