-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hi,
I found that the DOS attack would be more efficient if the IDs and answers were gotten from serial port rather than generating locally. I noticed that the random() function was invoked 3 times in iClickerEmulator::randomId(). Thus, the arduino's implements of random() function seems to slow down the attack process.
Maybe it could be better if we only invoke random() once and use bit operations to its result to generate IDs?
I was testing this on my own-designed device with Atmega328p and CH340E, so I am not so sure that it is the problem of randomId() function.
By the way, I am now working on integration of the iSkipper. I am trying to put Atmega328p, CH340E, RFM69HW and a patch antenna on one small PCB. I hope you like this idea:)
(You could see my design in my fork: https://github.com/charlescao460/iSkipper/tree/dev/emulator/iSkipper/iSkipper-in-one-package)