mhddos_proxy icon indicating copy to clipboard operation
mhddos_proxy copied to clipboard

Pre-allocate random bytes for TCP flood packets

Open 0xffiber opened this issue 2 years ago • 2 comments

Instead of doing randbytes on each request, it's better to pre-allocate a few random Mb in a shared memoryview and loop over them (e.g. by moving index with +1 offset on each new request). In this case 1 Mb gives us roughly 1 mln different random packets.

0xffiber avatar May 12 '22 14:05 0xffiber