Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Firewalls are going to impede this from being used for widespread p2p apps. Is there a practical way to do UDP/TCP hole punching ala skype?



http://samy.pl/pwnat/ allows to establish a bidirectional connection between two machines behind NATs, but one of them must know the IP of the other's NAT, so this still requires a peer discovery system.

Also, I don't know if Chrome's socket API is sufficiently low level to craft ICMP packets. If I understand properly, it only offers a TCP socket.


We can't do ICMP. Only TCP and UDP


As a matter of fact you don't need socket API or webRTC or whatsoever, Chrome has established an XMPP and jingle p2p connection for sync bookmarks, etc. It's not open API for Javascript yet, but I defintely see the potential.


How do apps like bit torrent do it today?


  Universal Plug and Play
  Manual Rule Adding
  Third Party Server




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: