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, longitudinal measurement study of a fully decentralized NAT traversal protocol, Direct Connection Upgrade through Relay (DCUtR), within the production libp2p-based IPFS network. Drawing on over 4.4 million traversal attempts from 85,000+ distinct networks across 167 countries, we provide a definitive empirical analysis of modern P2P connectivity. We establish a contemporary baseline success rate of $70\% \pm 7.1\%$ for the hole-punching stage, providing a crucial new benchmark for the field. Critically, we empirically refute the long-held 'tribal knowledge' 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.
翻译:去中心化点对点(P2P)系统的实现前景从根本上受限于网络地址转换(NAT)穿透的挑战,现有解决方案往往重新引入了它们试图避免的中心化问题。本文首次对完全去中心化的NAT穿透协议——基于中继的直接连接升级(DCUtR)——在生产环境下的基于libp2p的IPFS网络中进行了大规模纵向测量研究。基于来自167个国家、超过8.5万个独立网络的440万次穿透尝试数据,我们对现代P2P连接性提供了权威的实证分析。我们确立了打洞阶段成功率的最新基准为$70\% \pm 7.1\%$,为该领域提供了关键的新基准。重要的是,我们通过实证反驳了长期存在的关于UDP在NAT穿透中具有优越性的“部落知识”,证明DCUtR基于往返时间(RTT)的高精度同步机制在TCP与QUIC协议上取得了统计无差异的成功率(约$70\%$)。我们的分析进一步验证了该协议在无许可环境中的设计合理性,表明成功率与中继节点特性无关,且机制效率极高——$97.6\%$的成功连接在首次尝试即建立。基于此分析,我们提出了旨在实现普遍连接性的具体协议增强路线图,并贡献完整数据集以推动该领域的进一步研究。