Computer Engineering and Applications ›› 2009, Vol. 45 ›› Issue (2): 99-101.DOI: 10.3778/j.issn.1002-8331.2009.02.028

• 网络、通信、安全 • Previous Articles     Next Articles

Research combination of UPnP and STUN for NAT traversal

REN Hao1,2,WANG Jin-lin1,LU Yi-feng1,2   

  1. 1.National Network New Media Engineering & Technology Research Center,Institute of Acoustics,Chinese Academy of Sciences,Beijing 100190,China
    2.Graduate University of Chinese Academy of Sciences,Beijing 100190,China
  • Received:2008-07-07 Revised:2008-08-07 Online:2009-01-11 Published:2009-01-11
  • Contact: REN Hao

UPnP和STUN相结合的NAT穿越技术研究

任 浩1,2,王劲林1,鲁逸峰1,2   

  1. 1.中国科学院 声学研究所 国家网络新媒体工程技术研究中心,北京 100190
    2.中国科学院 研究生院,北京 100190
  • 通讯作者: 任 浩

Abstract: P2P streaming media application must realize NAT traversal.The UPUN algorithm is recommended in this paper to increase the success rate of NAT traversal,which is the combination of UPnP and STUN.This paper also presents the algorithm of Port-Adding Sample Estimation(PASE) and Peer Auxiliary-Relay(PAR) to improve traditional methods used in symmetric NAT traversal and the situations which both side peers are behind NATs.Experiments show that the algorithms achieve good performance.

Key words: NAT(Network Address Translation) traversal, UPnP, STUN, sample estimation, auxiliary-relay

摘要: NAT穿越是P2P(Peer-to-Peer)流媒体应用必须要解决的问题,目前已有的单一穿越方法由于各自的局限性造成穿越成功率不高。为此提出UPUN方法,将UPnP和STUN有效结合以提高穿越成功率;同时针对对称NAT的穿越以及通信节点都位于NAT后情况下的穿越提出端口添加样本估计算法PASE和外网节点辅助中继算法PAR,以改进现有算法的不足。实验证明了方法的有效性。

关键词: NAT(网络地址转换)穿越, 通用即插即用, NAT的UDP简单穿越, 样本估计, 辅助中继