nebula icon indicating copy to clipboard operation
nebula copied to clipboard

Does this crawler support crawler the node behind the NAT?

Open yourmoonlight opened this issue 3 years ago • 2 comments
trafficstars

Hi guys, this crawler looks amazing. I am curious about how do we crawl the node behind the nat?

yourmoonlight avatar Mar 14 '22 16:03 yourmoonlight

Hi @yourmoonlight, thanks!

Generally, this crawler does not crawl peers behind NATs as they are usually not publicly reachable.

If peers detect that they are behind a NAT device they start operating in DHT-Client mode. However, only DHT-Server nodes end up in routing tables which Nebula uses to recursively enumerate the DHT. So, the current implementation does not allow systematic crawling of DHT-Client nodes.

Please note, if there was a systematic approach to enumerate DHT-Client peers there are NAT hole punching mechanisms. See this recent blog post:

https://blog.ipfs.io/2022-01-20-libp2p-hole-punching/

I hope this has answered your question :)

dennis-tra avatar Mar 15 '22 09:03 dennis-tra

Oh I see,gracias~

yourmoonlight avatar Mar 15 '22 17:03 yourmoonlight