计算机工程 ›› 2008, Vol. 34 ›› Issue (17): 114-116,.doi: 10.3969/j.issn.1000-3428.2008.17.041

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

基于端口探测的SIP穿透NAT的设计与实现

刘春燕,陈名松,冼莉莉   

  1. (桂林电子科技大学信息与通信学院,桂林 541004)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-09-05 发布日期:2008-09-05

Design and Realization of SIP Through NAT Based on Port Detection

LIU Chun-yan, CHEN Ming-song, XIAN Li-li   

  1. (Information and Communication College, Guilin University of Electronic Technology, Guilin 541004)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-09-05 Published:2008-09-05

摘要: 针对会话发起协议(SIP)穿越网络地址转换(NAT)的问题,提出一种基于端口探测的解决方案。该方案将SIP用户代理和简单UDP穿透NAT技术(STUN)客户端结合起来,以端口探测的方法有效预测对称NAT的下一个端口地址,使STUN可以穿越一部分对称NAT和所有其他类型的NAT。多种网络环境下的测试表明该方案达到了要求。

关键词: 网络地址转换, 会话发起协议, 简单UDP穿透NAT技术, 端口探测

Abstract: To solve the problem of Session Initiation Protocol(SIP) traversing Network Address Translator(NAT), this paper describes a new method based on port detection. The scheme combines SIP user agent and STUN client, and adopts a method named port detection to obtain next port allocated by symmetric NAT. It brings that STUN can traverse most symmetric NAT and all other types of NAT. Some tests are made in real situations and the results reaches the goal.

Key words: Network Address Translator(NAT), Session Initiation Protocol(SIP), STUN, port detection

中图分类号: