Hi! I’m trying to upgrade mitmproxy from 0.18.2 to 2.0.2. This is my old configuration file (
transparent = true host = true script = [/opt/mitm/scripts/test.py] ignore = [220.127.116.11]
Using https://github.com/mitmproxy/mitmproxy/blob/master/mitmproxy/options.py as a reference, I wrote this configuration file for 2.0.2 (
mode: transparent showhost: true scripts: [/opt/mitm/scripts/test.py] ignore_hosts: [18.104.22.168]
showhost settings appear to be ignored. With 0.18.2, I could just stick the equivalent settings in the config file, and drop the
-T --host options when launching mitmproxy. This does not work for me on 2.0.2. If I launch it with
-T, proxying works, but the
showhost option is still not enabled. What am I doing wrong, how do I fix it?