ended3월 15일· 1 sources

A most elegant TCP hole punching algorithm

가장 우아한 TCP 홀 펀칭 알고리즘

Why it matters

TCP hole punching typically requires complex infrastructure like STUN, NTP, and metadata exchange channels to connect two computers behind NAT. This article presents a simplified algorithm that derives all needed metadata deterministically from a single parameter—a timestamp-based 'bucket'—allowing both sides to converge without communication. The bucket seeds a PRNG to generate shared port lists, relying on routers' equal delta mapping property to match local and external ports.

1
Sources
+0
24h
Growth
183d
Active
TCP hole punchingNAT traversalPRNGport predictionclock synchronization

Sources

Related Issues