0

I am trying to implement black hole attack using ONE simulator. How do I add malicious or black hole nodes in the simulator?

smriti
  • 1

1 Answers1

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.