arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.01791cs.NI
收藏

使用 QUIC 实现 NAT 打洞

Implementing NAT Hole Punching with QUIC

Jinyu Liang, Wei Xu, Taotao Wang, Qing Yang, Shengli Zhang

AI总结:

本文提出基于 QUIC 的 NAT 打洞与连接恢复方案,实验表明其打洞更快、弱网优势明显,且连接迁移比重新打洞更省 RTT 与资源。

摘要:

网络地址转换(NAT)技术的广泛采用导致大量网络端节点位于 NAT 设备之后的专用网络中,阻碍了这些节点之间的直接通信。为了解决这一问题,人们设计了一种称为“打洞”的技术用于 NAT 穿越,以促进位于不同专用网络中的端节点之间的对等通信。然而,随着网络对速度和安全性需求的不断增加,基于 TCP 的打洞方案逐渐暴露出性能缺陷。因此,我们提出了一种用于 NAT 穿越的基于 QUIC 的打洞方案。通过对基于 QUIC 与基于 TCP 协议的打洞时间进行比较分析,我们发现基于 QUIC 的方案有效缩短了打洞时间,并在弱网络环境中表现出明显优势。此外,在已打洞连接因网络切换或 NAT 超时等因素而中断的场景中,本文评估了两种恢复连接的方案:QUIC 连接迁移和重新打洞。结果表明,使用 QUIC 连接迁移进行连接恢复相比 QUIC 重新打洞可节省 2 RTT,相比 TCP 重新打洞可节省 3 RTT,有效降低了重新打洞的计算资源消耗。

英文摘要:

The widespread adoption of Network Address Translation (NAT) technology has led to a significant number of network end nodes being located in private networks behind NAT devices, impeding direct communication between these nodes. To solve this problem, a technique known as "hole punching" has been devised for NAT traversal to facilitate peer-to-peer communication among end nodes located in distinct private networks. However, as the increasing demands for speed and security in networks, TCP-based hole punching schemes gradually show performance drawbacks. Therefore, we present a QUIC-based hole punching scheme for NAT traversal. Through a comparative analysis of the hole punching time between QUIC-based and TCP based protocols, we find that the QUIC-based scheme effectively reduces the hole punching time, exhibiting a pronounced advantage in weak network environments. Furthermore, in scenarios where the hole punched connection is disrupted due to factors such as network transitions or NAT timeouts, this paper evaluates two schemes for restoring the connection: QUIC connection migration and re-punching. Our results show that QUIC connection migration for connection restoration saves 2 RTTs compared to QUIC re-punching, and 3 RTTs compared to TCP re-punching, effectively reducing the computational resources consumption for re-punching.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑