first pass tcpproxy

This commit is contained in:
mfahampshire
2024-10-09 19:02:16 +02:00
parent 2919d4cee5
commit 5551612c8b
6 changed files with 388 additions and 0 deletions
@@ -1 +1,5 @@
# TcpProxy Module
This module exposes the `TcpProxyClient` and the `TcpProxyServer` which can be used to proxy traffic through the Mixnet in a way that is more familiar to developers than the methods exposed by the [`Mixnet` module](./mxinet).
Both `Client` and `Server` are intended to be initialised and then run in a background thread, exposing a configurable `localhost` socket which developers can read/write/stream to without having to worry about the [message-based](../concepts/messages) nature of sending and receiving traffic to/from the Mixnet.