uProxy/turn-relay — pull request #11 by trevj (2014-05-30 19:28:46+00:00)
Title: functionality for the TURN server

This adds sufficient functionality to the TURN server for it to be used successfully with standard TURN clients, e.g. from the rfc5766-turn-server suite.

The TURN server is structured much like our SOCKS proxy: a client-facing side implements the RFC and communicates via Freedom message passing with a separate module, which may be on a different machine, which handles the creation and operation of sockets. I think we can merge this net-facing module with the net-facing module in socks-rtc but I would like to tackle that at a later time.

I've also changed the sample app a little. Although I've been able to use this TURN server with WebRTC to establish a data channel, there are a couple of subtle gotchas to tackle before we can safely hook this into uProxy. Instead, the sample app just starts a TURN relay which can be exercised with the help of a tool such as turnutils_uclient. I've updated the README to reflect this.

This seemed like a major milestone, though, so I will tackle those issues next week.