MITM Proxy

Architecture

The Man in the middle proxy is configured to communicate with a set of Tezos nodes on multiple TCP sockets. Each Tezos node is started in private mode communicating with the other nodes of the network only through the proxy.

For instance, on the schema above, the node that is started on port 71 communicates with the node started on port 72 only through the proxy on port 82 and never directly. Basically, each node sees its peers through the Mitten proxy, which allows the latter to act on messages that go through.

In the forwarder mode, this allows e.g. Mitten to log all P2P (DDB) messages before forwarding them to their intended destination.