计算机工程 ›› 2007, Vol. 33 ›› Issue (23): 142-144.doi: 10.3969/j.issn.1000-3428.2007.23.049

• 网络与通信 • 上一篇    下一篇

不同内网中主机之间的互连方法

马溪骏,沈旭杰   

  1. (合肥工业大学计算机网络系统研究所,合肥 230009)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-12-05 发布日期:2007-12-05

Connection Approach Between Hosts Located Behind NATs

MA Xi-jun, SHEN Xu-jie   

  1. (Institute of Computer Network System, Hefei University of Technology, Hefei 230009)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-12-05 Published:2007-12-05

摘要: 公共IP地址的匮乏促使人们引入了网络地址转换技术(NAT),但是由于NAT只允许从内部网络往外发起的连接请求,丢弃了所有不是由内部发起的来自外部的连接,因此两个处于不同NAT后面的主机无法直接建立有效连接。该文分析了目前流行的利用UDP穿透NAT实现处于不同内网中的主机之间互连的技术,提出了一种依靠代理技术实现主机互连的方法,以提高端对端通信中的安全性。

关键词: P2P网络, 传输控制协议, 用户数据报协议, 网络地址转换, 连接

Abstract: Network address translators (NAT) can resolve the problem of globally unique IP address deficiency. But NAT causes difficulties for peer-to-peer (P2P) communication, since it drops any unsolicited incoming message. This paper analyzes the prevail solution that enables a connection between hosts located behind NATs based on UDP protocol , and provides a better solution based on proxies .

Key words: peer-to-peer network, transmission control protocol, user datagram protocol, network address translation, connection

中图分类号: