This repository contains mitmproxy's Rust bits, most notably:
src/
: The mitmproxy
crate containing most of the "meat".mitmproxy-contentviews/
: Pretty-printers for (HTTP) message bodies.mitmproxy-highlight/
: Syntax highlighting backend for mitmproxy and mitmdump.mitmproxy-rs/
: The mitmproxy-rs
Python package, which provides Python bindings for the Rust crate using PyO3.mitmproxy-macos/
: The mitmproxy-macos
Python package, which contains a macOS Network Extension to transparently intercept macOS traffic.mitmproxy-windows/
: The mitmproxy-windows
Python package, which contains the Windows traffic redirector based on WinDivert.mitmproxy-linux/
: The mitmproxy-linux
Python package, which contains the Linux traffic redirector based on Aya.mitmproxy-linux-ebpf/
: The eBPF program embedded in mitmproxy-linux
.mitmproxy-linux-ebpf-common/
: Data structures shared by user space and eBPF.