计算机应用 ›› 2005, Vol. 25 ›› Issue (07): 1688-1691.DOI: 10.3724/SP.J.1087.2005.01688

• 典型应用 • 上一篇    下一篇

TURN服务器原型系统的设计与实现

李鸿彬1,2, 杨雪华1,2, 雷为民2   

  1. 1.中国科学院 研究生院,北京 100039; 2.中国科学院 沈阳计算技术研究所,辽宁 沈阳 110004
  • 收稿日期:2004-12-17 修回日期:2005-03-10 发布日期:2005-07-01 出版日期:2005-07-01
  • 作者简介:李鸿彬(1973-),男,河北邢台人,硕士研究生,主要研究方向:IP通信、软交换;杨雪华(1978-),女,辽宁营口人,硕士研究生,主要研究方向:软件工程、代码重用;雷为民(1969-),男,山西平遥人,研究员,博士,主要研究方向:IP通信、软交换

Design and implementation of a prototype system of TURN server

LI Hong-bin1,2,YANG Xue-hua1,2,LEI Wei-min2   

  1. 1. Graduate School,Chinese Academy of Sciences; 2. Shenyang Institute of Computing Technology, Chinese Academy of Sciences
  • Received:2004-12-17 Revised:2005-03-10 Online:2005-07-01 Published:2005-07-01

摘要:

TURN协议是一种穿越对称NAT的技术。以RFC3489技术为基础,对TURN协议草案进行了深入研究与分析,并在此基础上,改进和简化了草案中存放动态分配地址的地址映射表结构,设计了TURN技术的工作方式和应用模型。然后,借鉴了STUN方式的设计思想,设计并实现了TURN服务器原型系统,解决了SIP UA在STUN等方式下不能穿越对称性NAT问题。

关键词: 下一代网络, UDP对NAT的简单穿越, 通过中继方式穿越NAT, 实时传输协议, 中继

Abstract:

TURN protocol is a technique for simple traversal of UDP through NAT. On the basis of RFC3489, the draft for TURN protocol was researched and analyzed in detail. Its address translation table was modified and simplified, which stored dynamic allocated addresses, and the working mode and application model of TURN technology were designed. Then, consulted STUN design ideas, a prototype system of TURN server was designed and implemented, which solved the problem that SIP UA cant traverse symmetric NAT by STUN.

Key words: NGN, STUN, TURN, RTP, relay

中图分类号: