Comments (3)
FYI. I've updated the issue with more details (in case someone has already read it, it might contain more interesting concepts now)
from gon-evidence.
Instead filtering by events, it should be filtered by packet data, since in the GoN attack that occurred, packets were sent when IBC Recv, IBC Ack transactions were executed, where the sender is the relayer. Filtering the classId/contract that caused the spam, avoids validating multiple user addresses.
The difference with the spam that a normal user can send is that the attacker has to pay the fees for Transfer Tx, in the contract attack the fees were paid by the relayers themselves.
Although the solution for the GoN spam is to limit the gas consumed by a contract, so that the contract can no longer write packets. This is the way cw-ICS20 works, which has not suffered from this spam problem.
from gon-evidence.
@giansalex that might be possible to do as well, but it might not be a good idea. Downloading and parsing all packet data would be much harder, more resource heavy, and less flexible of a solution.
The GoN spam needs to be sorted on the contract level too, this is true, but the goal here wasn't just to solve that particular problem. The challenge was broad because this is a potential problem not just with that attack. You can still swamp IBC channels today without a hack - sure it will cost you a little more, but the cost of a manual attack like this (over a short period of time at least) is not high.
My goal with this challenge was to find a flexible solution that could be applied quickly during operation to quickly filter out packets (and events are what are most easily available to the relayer) so that when a new situation arises, it can be dealt with sooner.
from gon-evidence.
Related Issues (20)
- AWARD: Disperze Claim 3
- AWARD: Disperze Claim 5
- CLOSED
- AWARD: keyllli223 Claim 2
- AWARD: DAICers Claim 6
- AWARD: Xavier Team Claim 4 HOT 1
- AWARD: Ankaria Claim "6 - Best NFT Memes"
- AWARD: silent Claim 6
- AWARD: Stakeflow Claim 2 HOT 2
- AWARD: NSeven Projects Claim 4
- AWARD: LIVE.Node Claim 5
- AWARD: LIVE.Node Claim 6
- closed
- AWARD: Power//Team Claim 6 - MEME
- AWARD:xbdyhh Claim 6 - MEME
- AWARD:DreamGallery Claim 6 - MEME
- AWARD: Ping.pub Claim "2 - Public Good Awards"
- AWARD: NSeven Projects Claim 6
- AWARD: Disperze Claim 5
- AWARD: Disperze Claim 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gon-evidence.