Simulate TCP and TLS Proxy using SOcket CAT
SOCAT is a command line based utility that establishes two bidirectional byte streams and transfers data between them. We can leverage SOCAT’s support for different types of sources and sinks to simulate TCP and TLS proxies. This type of simulation helps us understand the impact of a proxy (between server and client) and establish a baseline for the latency and throughput. TCP Proxy using SOCAT SOCAT can be used to simulate a TCP proxy to proxy the data between the server and the client. TCP Proxy in this context is a sidecar process that proxies client or server data. ...