Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: How to use STUN? And other UDP-related problems.

by Neighbour (Friar)
on Jul 23, 2012 at 12:19 UTC ( #983161=note: print w/replies, xml ) Need Help??

in reply to How to use STUN? And other UDP-related problems.

If wireshark shows nothing, and your blocking recv blocks, and your non-blocking recv shows nothing then there can only be one conclusion:
The data is not arriving at the machine you are expecting it to.
Find out why (hardware firewalling/routers elsewhere?). Wireshark gets its data from the raw network device, so locally present iptables are not in effect.

Replies are listed 'Best First'.
Re^2: How to use STUN? And other UDP-related problems.
by aitap (Deacon) on Jul 23, 2012 at 12:52 UTC

    So, just asking STUN server for IP address and port should be enough to receive UDP traffic sent from anywhere (even from my machine) to that address and port? That's sad.

    Anyway, thanks for your answer. I'll search for some other way of bypassing NAT.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://983161]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2016-10-28 09:18 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (379 votes). Check out past polls.