dadmin@tkturn:/var/tmp$ sudo netstat -nao
Aktive Internetverbindungen (Server und stehende Verbindungen)
Proto Recv-Q Send-Q Local Address Foreign Address State Timer
tcp 0 0
0.0.0.0:80 0.0.0.0:* LISTEN aus (0.00/0/0)
tcp 0 0
0.0.0.0:22 0.0.0.0:* LISTEN aus (0.00/0/0)
tcp6 0 0 :::22 :::* LISTEN aus (0.00/0/0)
Aktive Sockets in der UNIX-Domäne (Server und stehende Verbindungen)
Proto RefCnt Flags Type State I-Node Pfad
unix 2 [ ACC ] STREAM HÖRT 9232 /var/run/acpid.socket
unix 2 [ ACC ] STREAM HÖRT 8466 /var/run/dbus/system_bus_socket
unix 2 [ ACC ] STREAM HÖRT 6464 @/com/ubuntu/upstart
unix 2 [ ACC ] STREAM HÖRT 9344 /var/run/mysqld/mysqld.sock
unix 2 [ ACC ] SEQPAKET HÖRT 6567 /run/udev/control
unix 8 [ ] DGRAM 7099 /dev/log
unix 3 [ ] STREAM VERBUNDEN 14095
unix 3 [ ] STREAM VERBUNDEN 8481
unix 3 [ ] STREAM VERBUNDEN 7885 @/com/ubuntu/upstart
unix 3 [ ] STREAM VERBUNDEN 6978
unix 3 [ ] STREAM VERBUNDEN 16436
unix 2 [ ] DGRAM 9231
unix 3 [ ] STREAM VERBUNDEN 16435
unix 3 [ ] STREAM VERBUNDEN 17100
unix 2 [ ] DGRAM 18189
unix 3 [ ] STREAM VERBUNDEN 8587 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM VERBUNDEN 6550
unix 3 [ ] STREAM VERBUNDEN 6979 @/com/ubuntu/upstart
unix 3 [ ] STREAM VERBUNDEN 8480
unix 3 [ ] STREAM VERBUNDEN 8490
unix 3 [ ] STREAM VERBUNDEN 14094
unix 3 [ ] STREAM VERBUNDEN 8491 /var/run/dbus/system_bus_socket
unix 2 [ ] DGRAM 16078
unix 3 [ ] DGRAM 7940
unix 3 [ ] STREAM VERBUNDEN 17099
unix 3 [ ] STREAM VERBUNDEN 16657
unix 3 [ ] STREAM VERBUNDEN 9293
unix 2 [ ] DGRAM 17964
unix 2 [ ] DGRAM 18192
unix 2 [ ] DGRAM 15623
unix 3 [ ] DGRAM 7939
unix 2 [ ] DGRAM 16579
unix 3 [ ] STREAM VERBUNDEN 16656
1. Command to start Turnserver:
2. Test Turnserver:
dadmin@tkturn:/$ sudo turnserver -a -b turnuser.conf -X 87.234.239.x -E 192.168.7.20 -L 192.1.7.20 -f -r 192.168.7.20 -v
0: log file opened: /var/log/turn_5128_2014-05-21.log
0:
RFC 3489/5389/5766/5780/6062/6156 STUN/TURN Server
Version Citrix-3.2.3.8 'Marshal West'
0:
Max number of open files/sockets allowed for this process: 4096
0:
Due to the open files/sockets limitation,
max supported number of TURN Sessions possible is: 2000 (approximately)
0:
==== Show him the instruments, Practical Frost: ====
0: TLS supported
0: DTLS supported
0: Redis supported
0: PostgreSQL supported
0: MySQL supported
0: OpenSSL compile-time version 0x1000103f: fresh enough
0: Default Net Engine version: 2 (UDP thread per network endpoint)
=====================================================
0: Config file found: //etc/turnserver.conf
0: Listener address to use: 192.168.7.20
0: Relay address to use: 192.168.7.20
0: log file opened: /var/tmp/turn_2014-05-21.log
0: ERROR: -X : Wrong address format: 87.234.239.x
0: Config file found: //etc/turnserver.conf
0: WARNING: Cannot find userdb file: turnuser.conf: going without flat file user database.
0:
CONFIGURATION ALERT: you did not specify any user account, (-u option)
but you did specified a long-term credentials mechanism option (-a option).
The TURN Server will be inaccessible.
Check your configuration.
0: WARNING: cannot find certificate file: turn_server_cert.pem (1)
0: WARNING: cannot start TLS and DTLS listeners because certificate file is not set properly
0: WARNING: cannot find private key file: turn_server_pkey.pem (1)
0: WARNING: cannot start TLS and DTLS listeners because private key file is not set properly
0: pid file created: /var/run/turnserver.pid
0: IO method (main listener thread): epoll (with changelist)
0: WARNING: I cannot support STUN CHANGE_REQUEST functionality because only one IP address is provided
0: Wait for relay ports initialization...
0: relay 192.168.7.20 initialization...
0: relay 192.168.7.20 initialization done
0: Relay ports initialization done
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=0 created
0: IO method (udp listener/relay thread): epoll (with changelist)
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=1 created
0: turn server id=128 created
0: IO method (cli thread): epoll (with changelist)
0: IO method (auth thread): epoll (with changelist)
16: IPv4. tcp or tls connected to: 87.234.239.x:48829
16: session 001000000000000001: user <>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: ERROR: check_stun_auth: Cannot find credentials of user <dadmin>
16: session 001000000000000001: user <dadmin>: incoming packet message processed, error 401: Unauthorised
16: session 001000000000000001: TCP socket closed remotely 87.234.239.x:48829
16: session 001000000000000001: closed (2nd stage), user <dadmin>, local
192.168.7.20:3478, remote 87.234.239.x:48829, reason: TCP connection closed by client (callback)