I tried combinations of --ignore '(?!<domain or ip>|<domain2 or ip2>)' and --ignore '(?!<domain or ip>)(?!<domain2 or ip2>)', with and without leading ^ but no luck.
How do I ignore everything but a specific list of IPs or (sub)domains in transparent mode? Using v2.0.2
Just to add that ^(?!(.*)?\.?domain1\.com|(.*)?\.?domain2\.com).*$ matches everything but those two domains on regex101.com using the Python engine, but doesn’t seem to when used in mitmproxy with --ignore '<regex>'
I don’t know how to make sense of it. starting it with --verbose adds -> <ip>:443 for some IPs in the Event Log. What do I get from this, and how do I know if that means it’s a match or not?