enobufs / stun

STUN server using node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't connect using stun in some cases that google's stun server can facilitate

fresheneesz opened this issue · comments

commented

I did a test with 3 different node.js stun servers: stun, node-stun, and ministun. All had the same properties on the cases I tested on. The case they all failed was when I tried to connect a phone on its mobile network to a desktop client (which was also the machine hosting the stun server and coordination server). This case worked fine when I used stun:stun.l.google.com:19302 however, so I'm not sure if there's some functionality these modules aren't implementing, if they all have similar bugs, or if something else is going on. In any case, it feels like a rather large hole in the abilities of all of these stun server modules and finding a way to support that case would be a great way to differentiate this module vs the rest.

Here's the code I was testing with, and a readme that detailed the cases and the restults for each module:

node-stun-code.zip

I created similar issues on the other repos as well: