mitmproxy
mitmproxy copied to clipboard
mitmproxy allow-hosts is not working on domains only works on ip
Problem Description
In regular mode itself when we give domain name mitmweb --allow-hosts 'google.com' is not working. we give IP instead of domain mitmweb --allow-hosts '142.250.217.78' its working fine. mitmignore is working fine for both domain and ip. Can you please help us to do the allow-host with domain.
Steps to reproduce the behavior:
- starting mitmweb with command mitmweb --allow-hosts '142.250.217.78' (its working)
- starting mitmweb with command mitmweb --allow-hosts 'google.com' (it is not working)
System Information
Mitmproxy: 9.0.1 Python: 3.11.4 OpenSSL: OpenSSL 3.1.1 30 May 2023 Platform: Windows-10-10.0.22621-SP0
I have the same issue
Hi @srimanikandan-git , can you make sure you are using a recent version of mitmproxy?