3 ms·
Detecting "DOS" by putting the packets into a Python buffer seems... counterproductive.
by lmz 2y ago
Detecting "DOS" by putting the packets into a Python buffer seems... counterproductive.
- thegoodduck 2y ago[dead]
- lmz 2y ago... for the reasons the other guy said: https://news.ycombinator.com/item?id=41011627 https://news.ycombinator.com/item?id=41011627 DoS attacks attempt to overwhelm your system or your system's connection by sheer amount of packets. And here you are capturing those packets and keeping them in memory - this just makes your system fall over faster.