3 ms·
I think the most frustrating part is that people don't know what NAT they are behind. I wish WebRTC easily told people the attributes of their NAT. Not sure if
by Sean-Der 6y ago
I think the most frustrating part is that people don't know what NAT they are behind. I wish WebRTC easily told people the attributes of their NAT. Not sure if it would help production deploys, but would make learning a lot easier.
Someone contributed a really cool tool to Pion stun-nat-behavior[0] that I use a lot. It prints out NAT details. It uses the modern/correct details. I see a lot of docs that still use symmetric NAT etc.. RFC 4787 [1] suggests against all that.
[0] https://github.com/pion/stun/tree/master/cmd/stun-nat-behaviour https://github.com/pion/stun/tree/master/cmd/stun-nat-behavi...
[1] https://tools.ietf.org/html/rfc4787#section-3 https://tools.ietf.org/html/rfc4787#section-3
- j1elo 6y agoThere is also pystun in pip, a comparatively old tool so it is probably much less sophisticated than newer options, but still nice to know about: https://pypi.org/project/pystun/ https://pypi.org/project/pystun/