arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0603074cs.NIcs.CR
收藏

跨网络地址转换器的对等通信

Peer-to-Peer Communication Across Network Address Translators

Bryan Ford, Pyda Srisuresh, Dan Kegel

摘要:

网络地址转换(NAT)导致众所周知的对等(P2P)通信的困难,因为所涉及的对等体可能无法在任何全局有效的IP地址处到达。有几种NAT穿越技术是已知的,但是它们的文档很少,关于它们的健壮性或相对优点的数据也很少。本文介绍和分析了一种最简单但最健壮实用的NAT穿越技术,即通常所说的“打孔”。“打孔对于UDP通信来说是相当好理解的,但我们也展示了它如何可靠地用于建立对等TCP流。在收集了各种各样的部署NAT的这种技术的可靠性的数据后,我们发现,约82%的NAT测试支持UDP打孔,约64%的TCP流支持打孔。随着NAT供应商越来越意识到重要的P2P应用程序(如IP语音和在线游戏协议)的需求,未来对打孔的支持可能会增加。

英文摘要:

Network Address Translation (NAT) causes well-known difficulties for peer-to-peer (P2P) communication, since the peers involved may not be reachable at any globally valid IP address. Several NAT traversal techniques are known, but their documentation is slim, and data about their robustness or relative merits is slimmer. This paper documents and analyzes one of the simplest but most robust and practical NAT traversal techniques, commonly known as "hole punching." Hole punching is moderately well-understood for UDP communication, but we show how it can be reliably used to set up peer-to-peer TCP streams as well. After gathering data on the reliability of this technique on a wide variety of deployed NATs, we find that about 82% of the NATs tested support hole punching for UDP, and about 64% support hole punching for TCP streams. As NAT vendors become increasingly conscious of the needs of important P2P applications such as Voice over IP and online gaming protocols, support for hole punching is likely to increase in the future.

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

↑