Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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.


Comment on Re: How to use STUN? And other UDP-related problems.
Select or Download Code
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (13)
As of 2014-09-30 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (369 votes), past polls