Sharing data, only if you share too and bootstraping - SentryPeer

Hi all,

I’m currently doing a prototype of my small project called SentryPeer - GitHub - SentryPeer/SentryPeer: A distributed peer to peer list of bad IP addresses and phone numbers collected via a SIP Honeypot.

I’m thinking about the best why to bootstrap the nodes and what protocols to use for only sharing data with another peer that will / has opted to share data with you. I think libp2p has most of what I’d like, but as this is all via a WAN, I’m trying my best to not run any “well known” points to bootstrap, but don’t think it’s possible.

What is the best practice for finding other nodes in a WAN/public Internet use case?

Thanks,
Gavin.

Hi Gavin,

Interesting project!

what protocols to use for only sharing data with another peer that will / has opted to share data with you.

Sounds a bit like the tit for tat algorithm used in BitTorrent.

What is the best practice for finding other nodes in a WAN/public Internet use case?

There are many discovery mechanisms for libp2p, e.g.:

In the end you would still need some kind of bootstrapping infrastructure. Do note however that this infrastructure does not need to be owned by a single entity.

1 Like

Thanks @mxinden I’ll have a look at that algorithm. I knew there’d be something. If I’ve thought of it, usually someone else has done it years ago :slight_smile: