🔎 MITM proxies
A Man-In-The-Middle proxy (MITM) is a proxy which sits in between the client and the server.
That by itself is nothing special and is in fact what all proxies do. What defines this kind of
proxy is that it actively interprets the application layer packets. It might also
modify the packets as they pass, but more often then not inspecting and tracking
is all it does.
- /examples/http_mitm_proxy.rs:
Spawns a minimal http proxy which accepts http/1.1 and h2 connections alike,
and proxies them to the target host;
- Similar to /examples/http_connect_proxy.rs but MITM for both http and https requests alike.
Description
A MITM proxy is typically setup as an HTTP Proxy, but in case you want it can be setup as a SOCKS5 proxy instead.