Hacker News new | ask | show | jobs
by Commander_lol 2357 days ago
I enjoyed having a skim through this code, as I didn't know about STUN before. I've built a similar utility for cloudflare-as-dynamic-dns [1], written in Node.js because it just runs on my home server and isn't performance critical.

I might have a shot at changing the IP retrieval from calling the ipify API into some STUN implementation; are there any pitfalls or gotchas you've come across when implementing STUN?

[1] https://github.com/Commander-lol/cfdns