我安装了开源TURN服务器(rfc5766-turn-server),我使用以下命令运行它
sudo turnserver -L my.domain.in -a -b /usr/local/etc/turnuserdb.conf -f -r domain.in
这是我在终端输入的输出,
RFC 3489/5389/5766/5780/6062/6156 STUN/TURN Server
Version Citrix-3.1.5.0 'Arch Lector'
0:
==== Show them the instruments, Practical Frost: ====
0: TLS supported
0: DTLS supported
0: Redis is not supported
0: PostgreSQL is not supported
0: MySQL is not supported
0: OpenSSL version: fresh enough
0: TURN Network Engine version: 2.5
=====================================================
0: Config file found: /usr/local/etc/turnserver.conf
0: ERROR: Cannot add a listener address: qeee.rtbi.in
0: Config file found: /usr/local/etc/turnserver.conf
0:
CONFIG: --no-udp-relay: UDP relay endpoints are not allowed.
0: ===========Discovering listener addresses: =========
0: Listener address to use: 127.0.0.1
0: Listener address to use: 10.7.3.129
0: Listener address to use: 203.134.253.129
0: Listener address to use: 10.0.0.1
0: Listener address to use: ::1
0: =====================================================
0: ===========Discovering relay addresses: =============
0: Relay address to use: 10.7.3.129
0: Relay address to use: 10.0.0.1
0: =====================================================
0: pid file created: /var/run/turnserver.pid
0: IO method (main listener thread): epoll
0: IO method (general relay thread): epoll
0: IO method (general relay thread): epoll
0: IPv4. TCP listener opened on : 127.0.0.1:49500
0: turn server id=2 created
0: IPv4. TCP listener opened on : 127.0.0.1:49501
0: IO method (general relay thread): epoll
0: IPv4. TCP listener opened on : 10.7.3.129:49500
0: turn server id=0 created
0: IPv4. TCP listener opened on : 10.7.3.129:49501
0: turn server id=3 created
0: IPv4. TCP listener opened on : 203.134.253.129:49500
0: IPv4. TCP listener opened on : 203.134.253.129:49501
0: IPv4. TCP listener opened on : 10.0.0.1:49500
0: IPv4. TCP listener opened on : 10.0.0.1:49501
0: IPv6. TCP listener opened on : ::1:49500
0: IPv6. TCP listener opened on : ::1:49501
0: IO method (auth thread): epoll
0: IO method (general relay thread): epoll
0: IO method (cli thread): epoll
0: turn server id=1 created
0: IPv4. CLI listener opened on : 127.0.0.1:5766`
当客户端连接或使用此TURN服务器时,我会在终端或其他任何地方获取任何日志吗?
答案 0 :(得分:2)
日志的默认路径似乎是:
/var/log/turn_*.log