I am doing some work and having a hard time understanding some network traffic/coturnd code.
My current understanding of the relay server tied to an allocation is that can only do two things
* Otherwise it will relay via a data indication.
However with Wireshark I am seeing unparsable traffic flow in/out of my relay, does anyone know if wireshark is broken or this is to be expected maybe it is encrypted? Are there any cases where something besides STUN would enter the relay and anything besides STUN would exit?
-----
Also, I am seeing my client (Chromium) make binding requests and get responses from the relay. This only happens when one client has a iceTransportPolicy of 'all' and the other 'relay' when they both have 'relay' I don't see these STUN binding requests take place? Is this expected, I haven't found anywhere where the relay is expected to do anything besides route inbound traffic to the allocation src 5-Tuple
Would some mind pointing me to the part of the RFC that explains this, or even the code in coturnd? I don't see anything in peer_input_handler that does anything like this.
https://github.com/coturn/coturn/blob/master/src/server/ns_turn_server.c#L4656