udp2raw is a network tunneling tool designed to bypass firewalls and obfuscate UDP traffic. It wraps UDP packets in alternative headers and utilizes raw socket networking to move data through networks that otherwise block or throttle UDP traffic.
The project distinguishes itself by simulating TCP connections, mimicking the three-way handshake and sequence numbering to trick firewalls into treating UDP streams as TCP traffic. It further stabilizes these connections through heartbeat-driven port rotation, which automatically switches ports to recover sessions after detected failures.
The tool provides a comprehensive security suite including symmetric-key encryption, HMAC-based traffic authentication, and sliding-window replay protection. It also supports UDP connection multiplexing to route multiple independent conversations through a single shared raw tunnel.
Operational control is managed via a command-line interface and a FIFO-pipe for asynchronous process management, supported by a configurable system logging utility.