Improving UDP Hole Punching
Peer-to-peer connections are increasingly valuable but often difficult to establish due to restrictive NAT behaviour or Carrier-Grade NAT (CG-NAT). Improving these techniques benefits applications such as online gaming and real-time audio or video communication.
The work began with an approach for NAT devices that support a TFTP Application-Level Gateway (ALG). More recent research explores ICMP-Oracle-assisted NAT traversal: using normal ICMP error-handling behaviour to reveal translation mappings without peer-to-peer port-scanning traffic.
- TFTP-assisted hole punching for restrictive NATs
- TFTP-assisted traversal for hard NAT pairs
- A safer alternative to birthday-paradox NAT traversal
- Assisted NAT traversal for hard NAT pairs
- TFTP-assisted hole-punching overview on LinkedIn
- GitHub project
I also used the independently developed ICMP-Oracle method, which I had not found described in public material, as a test of generative-AI reasoning: given the relevant RFCs and a concrete objective, could an LLM independently connect the necessary facts and arrive at the same new NAT-traversal method? The model came close, but needed specific hints to reach a practical design.