In the netflood.c (part of the rime protocol of Contiki SO) add more memory than the 1 position memory.
The code establish that cannot replay if the packet is in the memory, but that memory is only for 1 packet. We need to make a hundred packets memory.
The code has to run in the Cooja simulator.