STUN 情况下的 test1、test2 和 test3 是什么?
我不明白 STUN 情况下三个测试的重要性? STUN 服务器用于了解外部端口和 IP 地址,那么为什么要三个请求呢?
谢谢
I didn't understood importance of three tests in case of STUN ? STUN server is used for knowing external port and ip address so why three requests?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
sip 客户端使用这三个测试来确定 STUN 网关的运行模式
如果这三个测试算法最终处于后面三个状态之一无法进行 UDP 通信。
检查这个漂亮的维基媒体图形,了解 NAT 特征算法的流程图
The three tests are used by a sip client to determine in which mode the STUN-Gateway is operating
If the three tests algorithm ends up in one of the later three states no UDP communication is possible.
Check this nice wikimedia graphic for a flowchart of the NAT characterization algorithm