This repository contains mitmproxy's Rust bits, most notably:
- WireGuard Mode: The ability to proxy any device that can be configured as a WireGuard client.
- Local Redirect Mode: The ability to proxy arbitrary macOS or Windows applications by name or pid.
src/: Themitmproxycrate containing most of the "meat".mitmproxy-contentviews/: Pretty-printers for (HTTP) message bodies.mitmproxy-highlight/: Syntax highlighting backend for mitmproxy and mitmdump.mitmproxy-rs/: Themitmproxy-rsPython package, which provides Python bindings for the Rust crate using PyO3.
Source and binary distributions are available on PyPI.mitmproxy-macos/: Themitmproxy-macosPython package, which contains a macOS Network Extension to transparently intercept macOS traffic.
Only a binary distribution is available on PyPI due to code signing and notarization requirements.mitmproxy-windows/: Themitmproxy-windowsPython package, which contains the Windows traffic redirector based on WinDivert.
Only a binary distribution is available on PyPI due to build complexity.mitmproxy-linux/: Themitmproxy-linuxPython package, which contains the Linux traffic redirector based on Aya.
Source and binary distributions are available on PyPI.mitmproxy-linux-ebpf/: The eBPF program embedded inmitmproxy-linux.mitmproxy-linux-ebpf-common/: Data structures shared by user space and eBPF.
