smriti
smriti

Reputation: 1

How to add malicious or black hole nodes in ONE simulator?

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

Answers (1)

Ari Keränen
Ari Keränen

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

Related Questions