I am trying to execute the sample blackhole program for ns3.25 I downloaded from
http://mohittahiliani.blogspot.com/2014/12/ns-3-blackhole-attack-simulation-in-ns-3.htmlAfter manual patching, updating the blackhole syntax with respect to ns3 changes, and execution, there is no compilation error however I do not get the expected result.
I am executing this on ns3.35, Ubuntu 20.04 but the patch and the sample code were written for ns3.25. I also checked changes from ns 3.25 to ns3.35 in changes.MD but I still cant figure this out. My guess is that the malicious behaviour of the evil node is not being enabled despite the declaration:
AodvHelper malicious_aodv;
malicious_aodv.Set("IsMalicious",BooleanValue(true));
Could someone please guide me how to sort this? Any help would be greatly appreciated.
Expected result :