I have a good idea to reduce DDOS attack to RouterOS.
when DDOS attack happening , IP->Firewall->Connections from one src-address increasing very fast (more than 100 connections per a second) ,it makes cpu useage up to 99%!
My solution is write a script which check cpu useage ,when cpu up to 90% then check Connections count from every src-address..find out which address is the largest one,push it into black_list!!
the problem i have is :
How to check connections count from every src-address using Scripting???
Two weeks ago one of my customers was a target of DDoS attack.
They have 2Mbit DSL line and RB750.
Firewall is configured that every unwanted connection from WAN side is tarpitted, not dropped.
During four houres there was over one million connections from WAN.
Max CPU load was 9%, available RAM ~50%.
In this battle MikroTik was a winner