Overview of udp-over-tcp
mainThe udp-over-tcp project provides a library and binaries for tunneling UDP datagrams over a TCP stream. This is useful for protocols that require UDP in environments where only TCP traffic is permitted.
The project consists of two primary components:
udp2tcp: Forwards incoming UDP datagrams over a TCP stream. The return TCP stream is translated back into datagrams and sent out via UDP. It is designed to handle traffic from a single peer (the UDP socket connects to the peer address of the first incoming datagram). It can be used as a standalone binary or a Rust library.tcp2udp: A server component that accepts incoming TCP connections and translates the stream into UDP datagrams forwarded to a destination specified during setup. A singletcp2udpserver can service multipleudp2tcpclients by creating a new UDP socket for each incoming TCP connection.