TURN服务器中的“领域"是什么? [英] What is 'realm' in TURN server?

查看:366
本文介绍了TURN服务器中的“领域"是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为我的WebRTC项目托管TURN服务器,但是我不知道'realm'属性的作用.我看过土星和介子,它们似乎都要求我输入.有人可以解释它是什么吗?

I want to host a TURN server for my WebRTC project, but I don't know what the 'realm' attribute does. I've looked at coturn and pion and they both seem to require me to enter this. Can someone explain what it is?

推荐答案

这是访问具有共同所有者"地址的一组地址的钥匙". 这是一种隔离措施:TURN服务器在其数据库中可以有一个默认领域"或多个命名领域". 每个领域都有自己的用户,并且每个用户都有适当的登录名/密码对,以标识访问和工作会话. 当然,登录到命名领域"的计算机实际上对属于其他领域的其他计算机不可见". 如果仅在所有用户使用相同登录名/密码(通常使用公共" TURN服务器)的情况下登录默认领域",则由于该原因,所有计算机也可以从不知名的计算机轻松访问所有计算机

It is a "key" to access a group of address that have a common "owner". It is an isolating measure: a TURN server can have one "default realms" or more "named realms" in its database. And any realm has its own users and each of them have a proper login/password couple to identify access and working sessions. Of course, computers which made a login into a "named realm" are virtually "invisible" to other which belongs to other realm. If you simply log in the "default realm" where all users use same login/passwd ( tipically with "public" TURN servers ) your machine can be reached by all computers in a easy way also from unkown machines for this reason the "realm" was a useful thing to have

...这就是所有.. :)

... and that is all .. :)

这篇关于TURN服务器中的“领域"是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆