摘要: 网络地址转换是解决IPV4地址紧缺的有效方法,但对P2P技术的应用产生了负面影响。该文分析网络地址转换对P2P网络产生的负面影响,研究NAT端口映射类型及其检测方法,给出了一种用于P2P网络的穿越NAT协议。该协议可以解决P2P网内私网计算机之间建立直接UDP通信的问题,从而改善了P2P网络连通性。
关键词:
P2P网络,
网络地址转换,
端口映射
Abstract: Network Address Translation(NAT) is a method by which IP addresses are mapped from one realm to another, in an attempt to provide transparent routing to hosts. It is an efficient solution for the lack of IP address. However, it has negative impact on P2P. The negative impact on P2P caused by the NAT is pointed out. And a method of testing NAT port mapping is presented. A new NAT traversal protocol under P2P network environment is designed. The protocol describes how to establish direct UDP communication between two NAT computers. The performance of the network connectivity is improved.
Key words:
P2P network,
Network Address Translation(NAT),
port mapping
中图分类号:
张国印;叶在伟;曲丽君. 一种UDP穿越NAT的新方案[J]. 计算机工程, 2008, 34(12): 112-113.
ZHANG Guo-yin; YE Zai-wei; QU Li-jun. Novel Solution of Using UDP to Traverse NAT[J]. Computer Engineering, 2008, 34(12): 112-113.