Skip to content

Running mitmproxy's reverse-proxy mode locally #6737

@fsturmat

Description

@fsturmat

Problem Description

I have been trying to run mitmproxy's reverse proxy on the same machine that runs the application that is to be "mitm'd". Unfortunately, the good, old hosts-file approach fails because mitmproxy is also using the hosts file to resolve its domain names. I lost my sanity trying to solve this issue.

"How mitmproxy Sucks at Being a Proxy"

Proposal

Maybe some way to let mitmproxy ignore the hosts file... or maybe some way to specify which DNS config mitmproxy should use... or at least some way to have a script perform its own name resolution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureNew features / enhancements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions