I am trying to implement black hole attack using ONE simulator. How do I add malicious or black hole nodes in the simulator?
Asked
Active
Viewed 185 times
1 Answers
0
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.

Ari Keränen
- 26
- 3