大规模测量去中心化网络的NAT穿越:IPFS中DCUtR的案例研究
Large-Scale Measurement of NAT Traversal for the Decentralized Web: A Case Study of DCUtR in IPFS
AI总结:
本文通过大规模测量研究IPFS网络中去中心化NAT穿越协议DCUtR,揭示了现代P2P连接的实证分析,挑战了UDP在NAT穿越中的优势地位,并展示了协议在无许可环境中的高效性。
摘要:
去中心化对等(P2P)系统的承诺本质上受限于网络地址翻译(NAT)穿越的挑战,现有解决方案往往重新引入其试图避免的集中化。本文首次对基于libp2p的InterPlanetary File System(IPFS)网络中的完全去中心化NAT穿越协议Direct Connection Upgrade through Relay(DCUtR)进行了大规模测量研究。基于来自167个国家的85,000多个不同网络的440万次穿越尝试,我们提供了现代P2P连接的实证分析。我们确定了在预设的中继预留和公共地址发现成功的情况下,孔 punching阶段的条件成功率为70%±7.1%。关键的是,我们实证挑战了长期以来UDP在NAT穿越中的优势地位,证明DCUtR的高精度、基于往返时间(RTT)的同步方法在TCP和QUIC上具有统计上无法区分的成功率(约70%)。我们的分析进一步验证了该协议在无许可环境中的设计,表明成功与中继特性无关,并且该机制非常高效,97.6%的成功连接在首次尝试中建立。基于此分析,我们提出了一项具体的协议改进路线图,旨在实现全球连接,并贡献完整的数据集以促进该领域进一步研究。
英文摘要:
The promise of decentralized peer-to-peer (P2P) systems is fundamentally gated by the challenge of Network Address Translation (NAT) traversal, with existing solutions often reintroducing the very centralization they seek to avoid. This paper presents the first large-scale measurement study of a fully decentralized NAT traversal protocol, Direct Connection Upgrade through Relay (DCUtR), within the production libp2p-based InterPlanetary File System (IPFS) network. Drawing on over 4.4 million traversal attempts from 85,000+ distinct networks across 167 countries, we provide an empirical analysis of modern P2P connectivity. We establish a conditional success rate of $70\% \pm 7.1\%$ for the hole-punching stage, given that prerequisite relay reservation and public address discovery succeed, providing a crucial new benchmark for the field. Critically, we empirically challenge the long-held belief of UDP's superiority for NAT traversal, demonstrating that DCUtR's high-precision, RTT-based synchronization yields statistically indistinguishable success rates for both TCP and QUIC ($\sim70\%$). Our analysis further validates the protocol's design for permissionless environments by showing that success is independent of relay characteristics and that the mechanism is highly efficient, with $97.6\%$ of successful connections established on the first attempt. Building on this analysis, we propose a concrete roadmap of protocol enhancements aimed at achieving universal connectivity and contribute our complete dataset to foster further research in this domain.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。