Do you know socat – Multipurpose relay?

Socat, evaluating possibilities

is another swiss army knife of networking. It incorporates an amazingly big set of use cases. There are yet some to be invented.

Socat’s README explains it function as follows:

socat is a relay for bidirectional data transfer between two independent data
channels. Each of these data channels may be a file, pipe, device (serial line
etc. or a pseudo terminal), a socket (UNIX, IP4, IP6 - raw, UDP, TCP), an
SSL socket, proxy CONNECT connection, a file descriptor (stdin etc.), the GNU
line editor (readline), a program, or a combination of two of these. 
These modes include generation of "listening" sockets, named pipes, and pseudo

So what do with socat?

Continue reading Do you know socat – Multipurpose relay?