Reputation: 1
I am trying to implement black hole attack using ONE simulator. How do I add malicious or black hole nodes in the simulator?
Upvotes: 0
Views: 218
Reputation: 26
Make a new routing module that doesn't start any new transfers in the update method (see for example EpidemicRouter). Depending on which routing module you want to use for the non-malicious nodes, you may need to make your new module a subclass of that module.
Upvotes: 0