🔎 MITM Proxies

artistic representation of rama MITM proxy as llama snooping into cargo packages
A Man-In-The-Middle (MITM) proxy is a proxy that sits between the client and the server. While this positioning is common to all proxies, what distinguishes an MITM proxy is its active interpretation of application layer packets. Although it may modify packets as they pass through, its primary function is typically to inspect and track the traffic.

Examples:

Description

%3clientclientproxy (rama)proxy (rama)client->proxy (rama)server Aserver Aproxy (rama)->server Aupstream proxyupstream proxyproxy (rama)->upstream proxyserver Bserver Bupstream proxy->server B

An MITM proxy is typically set up as an HTTP Proxy, but it can alternatively be configured as a SOCKS5 proxy.

Transparent Proxies

MITM proxies that only wish to inspect traffic without destructive modification can attempt to mirror the incoming client across various network layers (TCP, TLS, and HTTP). This approach is a form of User-Agent emulation, but it operates based on the original User-Agent rather than emulating a popular one with significant market share.

These proxies are often referred to as transparent proxies, and you may notice network inspection software offering options labeled as "transparent mode" or "hidden." If such software can still inspect your HTTPS traffic, it's likely operating as a "transparent proxy."