...
As far as I can see when sniffing the packets using Wireshark the packets still seem to be UDP packets. In other words I have not had luck forcing chrome to use TURN-TCP for relaying (various posts on the internet seem to indicate that this is not currently implemented but that this will come in the future?).
So I proceed with trying UDP on port 80 under the assumption that it might be easier to pursuade the FW admin to open for UDP outbound on port 80 that is already open for TCP outbound.
When verifying that the port 80 is indeed listening and accesible from the outside I test using Microsofts
portqry.exe=============================================
Starting portqry.exe -n turn.XXXXXXXX -e 80 -p BOTH ...
Querying target system called:
turn.XXXX.XXX
Attempting to resolve name to IP address...
Name resolved to XXXXXXXXXXXX
querying...
TCP port 80 (http service): LISTENING
UDP port 80 (unknown service): LISTENING or FILTERED
portqry.exe -n turn.XXXXXXXXXX -e 80 -p BOTH exits with return code 0x00000002.
and the log on the turn server show
1375973894: IPv4. tcp or tls connected to: XXXXXX:7735
1375973898: TURN connection closed, user <>
So it seems like port is open and accepting connections.
Still when I try to establish a connection between 2 peers in WebRTC I do not see anything in the turnserver log.
I start the turnserver manually as root for testing purposes with the following command
1375972074: RFC 3489/5389/5766/5780/6062/6156 STUN/TURN Server
1375972074: version Citrix-2.5.1.2 'Shivers'
1375972074: =====================================================
1375972074: Multithreading supported
1375972074: TLS supported
1375972074: DTLS supported
1375972074: Multithreaded relay supported
1375972074: Redis is not supported
1375972074: PostgreSQL is not supported
1375972074: MySQL supported
1375972074: OpenSSL multithreading supported
1375972074: OpenSSL version: fresh enough
1375972074: =====================================================
1375972074: ===========Discovering listener addresses: =========
1375972074: Listener address to use: 127.0.0.1
1375972074: Listener address to use: 10.36.0.16
1375972074: Listener address to use: ::1
1375972074: =====================================================
1375972074: ===========Discovering relay addresses: =============
1375972074: Relay address to use: 10.36.0.16
1375972074: =====================================================
1375972074: IO method (main listener thread): epoll
1375972074: IO method (udp listener/relay thread): epoll
1375972074: IO method (udp listener/relay thread): epoll
1375972074: IO method (udp listener/relay thread): epoll
1375972074: IO method (udp listener/relay thread): epoll
1375972074: IO method (udp listener/relay thread): epoll
1375972074: IO method (udp listener/relay thread): epoll
1375972074: IO method: epoll
1375972074: IO method: epoll
1375972074: IO method: epoll
1375972074: IO method: epoll
1375972074: IO method: epoll
1375972074: IPv6. UDP listener opened on : ::1:80
1375972074: IO method: epoll
1375972074: IPv6. UDP listener opened on : ::1:81
1375972074: IPv6. TCP listener opened on : ::1:80
1375972074: IPv6. TCP listener opened on : ::1:81
1375972074: IO method (auth thread): epoll
1375972074: IO method (nonudp relay thread): epoll
The webrtc connection/relaying never seems to be established, at least there is no activity in the log and no video conference is established.
If I instead omit the -p 80 parameter and then remove :80 in the webrtc code it works again.
Thank you in advance.