https://github.com/mitmproxy/mitmproxy_rs
The Rust bits in mitmproxy. 🦀
https://github.com/mitmproxy/mitmproxy_rs
mitmproxy
Last synced: about 1 month ago
JSON representation
The Rust bits in mitmproxy. 🦀
- Host: GitHub
- URL: https://github.com/mitmproxy/mitmproxy_rs
- Owner: mitmproxy
- License: mit
- Created: 2022-12-14T22:41:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-31T14:51:24.000Z (4 months ago)
- Last Synced: 2025-03-31T16:05:45.132Z (4 months ago)
- Topics: mitmproxy
- Language: Rust
- Homepage:
- Size: 11.1 MB
- Stars: 251
- Watchers: 14
- Forks: 34
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# mitmproxy_rs
[](https://autofix.ci)
[](https://github.com/mitmproxy/mitmproxy_rs/actions?query=branch%3Amain)
[](https://pypi.python.org/pypi/mitmproxy-wireguard)
[](https://pypi.python.org/pypi/mitmproxy)
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.## Contributing
[](https://github.com/mitmproxy/mitmproxy_rs/blob/main/CONTRIBUTING.md)
[](https://mitmproxy.github.io/mitmproxy_rs/)### Structure
- [`src/`](./src): The `mitmproxy` crate containing most of the "meat".
- [`mitmproxy-contentviews/`](./mitmproxy-contentviews):
Pretty-printers for (HTTP) message bodies.
- [`mitmproxy-highlight/`](./mitmproxy-highlight):
Syntax highlighting backend for mitmproxy and mitmdump.
- [`mitmproxy-rs/`](./mitmproxy-rs): The `mitmproxy-rs` Python package,
which provides Python bindings for the Rust crate using [PyO3](https://pyo3.rs/).
Source and binary distributions are available [on PyPI](https://pypi.org/project/mitmproxy-rs/).
- [`mitmproxy-macos/`](./mitmproxy-macos): The `mitmproxy-macos` Python package, which
contains a macOS Network Extension to transparently intercept macOS traffic.
Only a binary distribution is available [on PyPI](https://pypi.org/project/mitmproxy-macos/)
due to code signing and notarization requirements.
- [`mitmproxy-windows/`](./mitmproxy-windows): The `mitmproxy-windows` Python package, which
contains the Windows traffic redirector based on [WinDivert](https://github.com/basil00/WinDivert).
Only a binary distribution is available [on PyPI](https://pypi.org/project/mitmproxy-windows/)
due to build complexity.
- [`mitmproxy-linux/`](./mitmproxy-linux): The `mitmproxy-linux` Python package, which
contains the Linux traffic redirector based on [Aya](https://aya-rs.dev/).
Source and binary distributions are available [on PyPI](https://pypi.org/project/mitmproxy-linux/).
- [`mitmproxy-linux-ebpf/`](./mitmproxy-linux-ebpf): The eBPF program embedded in `mitmproxy-linux`.
- [`mitmproxy-linux-ebpf-common/`](./mitmproxy-linux-ebpf-common): Data structures shared by user space and eBPF.### Architecture
