zrm / snow

www.trustiosity.com/snow
Other
781 stars 28 forks source link

Does NAT traversal for snow include removing the need for p2p workarounds on ipv4? #9

Open timcoote opened 9 years ago

timcoote commented 9 years ago

Can snow be used as a replacement for stun/ice? If so, there's a single abstraction onto both ipv4 and ipv6 for many p2p approaches. This would be a huge win in IoT (eg controlling cameras in a home from a phone outside a home). stun/ice is particularly slow across multiple nat hops.

zrm commented 9 years ago

Snow uses a DHT like a STUN server, so yes.

Can you say more about the specific network configuration where you find STUN/ICE to be slow? Do you know the specific cause of it? Maybe we can avoid making a similar mistake.

timcoote commented 9 years ago

Configurations vary quite a lot. My reference text is this: http://bit.ly/1eW7VtL

which quotes up to 30 second set up times. Although it's looking at SIP set up, the same issues apply for things like trying to control a camera remotely.