ipfs / kubo

An IPFS implementation in Go
https://docs.ipfs.tech/how-to/command-line-quick-start/
Other
15.9k stars 2.98k forks source link

Spam/DoS protection #3380

Open JustinDrake opened 7 years ago

JustinDrake commented 7 years ago

I am writing a DHT crawler for go-ipfs. At the moment it seems I can repeatedly hit the network and not get kickbanned. Is there spam/DoS protection where abusive IPs are automatically removed?

whyrusleeping commented 7 years ago

@JustinDrake currently no, we havent had issues with it yet so we havent put much effort into adressing that problem.

JustinDrake commented 7 years ago

Ok. As side note my crawlers indicate there are about 200 nodes on the network. Realistically OpenBazaar is going to have 2,000 online nodes at any time, pushing the envelope forward.

jbenet commented 7 years ago

@JustinDrake hundreds of nodes come online and go offline periodically. from some measurements, most nodes are not long-lived. the network ebbs around 200-500 long lived and, i've observed 1000-3000 unique peer.IDs per week on different weeks i've tried it.

But yes, 2K nodes with OB will be good-- though note OB will be in a separate independent network for a while.