Hi. Im using RB3011UiAS router as my core router in home network. Behind im using switch connected to my servers.
Several days ago ddos attacks started on my servers. Mostly to :80 port.
While ddos (mostly TCP-SYN flood) my core router RB3011UiAS not available from either the internal network or the external network. Also there is 100% cpu usage.
I’ll have a look if I can find a reasonably brief description without too much buzz.
It’t not very complicated. Basically it’s a scheduled script that downloads and inserts bunch of consolidated address lists (ie from firehol.org and like). Lists with frequent changes is advisable downloaded by the hour.
Since downloading and installing the address lists makes lot of changes on the filesystem you have to make sure that the built-in flash memory does not wear out prematurely depending on the design used in your particular device. If thats a problem and there is an USB-interface available, you can use an external USB drive for storing intermediate address lists before loading.
The rest are using more or less the same basic functionality but with different options how to download and manage the lists etc. Now, it’s your job to read and decide which one to use!
The problem is that e.g. this ip 78.179.247.233 (from my DDOS flow in Elasticflow) is not listed in any blacklists.
And there is TONNS of ip`s attacking me which not in blacklists. So the think is: is there any way to filter/accept ips and block them if there is too much flows from them (e.g. >5 request/sec)?
Because now my CPU in microtik is too high while DDOS
As long as you deal with the overload of the router’s CPU, and not with exhaustion of the bandwidth of the uplink, you can use the dst-limit match condition (the name is a bit misleading, it actually can track rates per source address) to add trespassing source addresses to a blacklist, and drop packets coming from the addresses on this blacklist using an action=drop rule in /ip firewall raw. Doing so will relieve the CPU from handling those packets in subsequent layers of firewall, most importantly in the connection tracking module.
78.179.247.233 is blacklisted at the usual places like barracuda sorbs spamhaus etc. If you combine the correct lists to get relevant updates you catch most of them but as @sindy told, dst-limit is a good tool to catch the rest in your own blacklist. For an extensive dnsbl control check out http://multirbl.valli.org/
As Larsa stated, the service provided works.
I recommend trying it for a week to see if it cleans up your issues, and not because I dont want to hear your complaints for another week
Without a doubt I would be using it if I didnt already use a different service (more expensive but written off as business expense)