Dear ns3-users
I implement my own IP traceback solution in wireless mesh network (HWMP) using NS3-3.26. So, when the solution detects the attack, it blocks the attacks by setting down its interfaces based on this function:
void HwmpProtocol::TearDownLink (Ptr<Node> nodeA, uint32_t interfaceA)
{
nodeA->GetObject<Ipv4> ()->SetDown (interfaceA);
}
On the one hand, I don't understund why the attacker still send packets (this is deducted from throughputs, the throughput of the attacker is different to zero):
On the other hand, the packets loss rate of normal users becomes higher after using TearDownLink function , how can I update the structure of mesh network after setting down attacker interfaces in Hwmp-protocol.cc?Should I send a PREQ (sendPreq) ???? Please help me to resolve this issue and thanks in advance.