holepunchto / hyperdht

The DHT powering Hyperswarm
https://docs.holepunch.to
MIT License
323 stars 46 forks source link

Holepunching on local networks #125

Closed LuKks closed 1 year ago

LuKks commented 1 year ago

@kasperisager Ready for review!

kasperisager commented 1 year ago

Looks good to me! If there are reasonable bounds on the number of local addresses then I don't think this needs to be further complicated.

mafintosh commented 1 year ago

Yea, just a couple (only the external ones). We always move to some fancier also, like sorting them