holepunchto / hyperswarm

A distributed networking stack for connecting peers.
https://docs.holepunch.to
MIT License
1.04k stars 84 forks source link

what the hell is 142.93.90.113 in the peer.referrals???! #21

Closed whatsdis closed 5 years ago

whatsdis commented 5 years ago

it's a digitalocean VPS that is connecting to my IP address when I echo out the Peer object from network().on('peers')!!! I've NEVER EVER used digitalocean with hyperswarm. I've used Google Compute Engine before to test hyperswarm but its not running.....

peer: { port: 67838, host: 'my.ip.address', local: false, referrer: { id: <Buffer .....>, port: 33352 , host: '142.93.90.113'}

mafintosh commented 5 years ago

It's one of the bootstrap servers

whatsdis commented 5 years ago

oh thank god....I had a small panic attack just now lol

whatsdis commented 5 years ago

is it possible to run my own bootstrap servers?

mafintosh commented 5 years ago

Yes, def. Just run https://github.com/hyperswarm/dht and pass your ip:port in the bootstrap option to the dht.

whatsdis commented 5 years ago

what exactly is the purpose of these bootstrap servers? is it for "punching holes"?

bcomnes commented 4 years ago

what exactly is the purpose of these bootstrap servers? is it for "punching holes"?

Yeah and finding other peers initially.

pfrazee commented 4 years ago

I think all peers can punch holes for each other, right? It's not just the bootstrap peers.

bcomnes commented 4 years ago

That’s my understanding

mafintosh commented 4 years ago

Yep just a series of preshared peers to help you connect. Any set of peers will do