Le mercredi 05 juillet 2006 à 19:31 -0700, Lemon Obrien a écrit :
> When two processes are running on the same machine; different port
> numbers, using their known global ip address, can not talk to each
> other, yet be able to find and communicate with all other peers.

Yes I've seen it happen behind a NAT too. I've been explained it's a
security measure: if this was allowed, an external host could use IP
spoofing to simulate traffic between machines on the LAN (while LAN
traffic is supposed to be trustable), and then do all kinds of nasty
things.

The solution is to detect that the two processes are behind the same NAT
(i.e. they share the same public IP address), then use the private
IP/port instead of the public one. There may be corner cases but I doubt
they're really important...

Regards

Antoine.


_______________________________________________
p2p-hackers mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/p2p-hackers

Reply via email to