by api · 3y ago · 0 comments
The biggest weaknesses I saw were around DOS attack resistance, which I did not see addressed. There were good approaches for privacy and security but what if someone with resources (botnet or money) wants to just burn the network down?
Completely pure P2P systems are hard to protect against Sybil attacks whose goal is simply to degrade service. Just launch a ton of bots, have them act normal for a while, then have them start being tar pits or misbehaving in ways that are carefully designed to maximize errors and latency. Then have them randomly pretend to be normal for a while, toggling good/evil to blend in as much as possible.
Combined with strong privacy how do you identify and remove these? The alternative is to design a protocol so bulletproof that there is no viable DOS attack, or use tokenization to impose a high cost on such attacks. Of course the latter leads down the road to all the toxic craziness of the cryptocurrency ecosystem. Add a token and now you have a vector for pump and dump schemes even if you didn’t intend it as that.
I can think of many reasons someone might launch such an attack from troll wars all the way to nation states trying to kill comm vectors for espionage or uprisings.
All protocols really have to be designed as if your client is the defense department and they will be used in a war zone… because the Internet is a war zone.
As long as you hide the details in the depths of documentation of the protocol, make up alternative terms to those that have been tainted by cryptobros and don't mention any relation to cryptocurrency-originated technology, you would probably successfully avoid having parallels drawn between your project and cryptocurrencies.
Sure, someone might cobble together an API and put your token on a cryptocurrency exchange against your best wishes, but I think the risk of that is low. It's easy enough to launch your own crypto and if I'm looking to run a pump and dump scheme, why attach myself to a project that openly distances itself from the crypto scene?
Oh, my sweet summer child ;)
If it can be done, it will be done. Non-consenting projects have been hijacked for pump-and-dumps countless of times. Better design the economics of the token with that in mind rather than having them broken once the wrapped token inevitably hits DeFi markets and gets spammed across Discord and Telegram chats.
I’m happy to report that P2P systems resistant to all kinds of attacks are implemented already. There are many, many solutions in many OS projects. See the technicalities of I2P or Freenet 2023. Safe P2P is possible, although hella hard to get right.
Think nation states, organized crime, or groups of black hats with huge botnets and a desire to take down a platform to silence someone on it.
If you mean robustness against brute force volumetric and resource exhaustion attacks then yes large systems are going to be more resilient than small systems for the same reason a big boat is harder to swamp with waves than a small one. The whole business model of things like Cloudflare is to put your site behind a gigantic CDN that is just so damn big it can weather volumetric attacks. It's a brute force solution to a brute force problem.
In this case I was talking about more intelligent distributed attacks against distributed protocols. Those types of attacks are very hard to protect against in general.
Most systems deal with it by being closed and isolated or at least having fairly strict policies about who is allowed to participate (e.g. BGP). In an open P2P network you're going to have to figure out a way to permit resiliency in aggregate without a trust model, which is IMHO an unsolved open problem in protocol design. There's been some progress in countermeasures but no huge breakthroughs.