Stunner

A small and fast STUN server

1 min read

ยท
Blue dizzy gopher doing networking

Stunner was created for me to understand the entire WebRTC stack. Since STUN is one of the simplest servers to create, I decided to make this project to fully implement the STUN RFC.

I was also able to write documentation to teach myself STUN and all the small low level details such as the 20-byte header  and a magic cookie that tells us this message is a STUN message.

This project is production ready and has been verified with lots of automated and manual tests that prove it works. However most people will most likely stick to a more battle tested library such as Coturn which also supports the TURN RFC. I specifically did not work on TURN to keep the project simple and specialized.

Other Projects