Answer the question
In order to leave comments, you need to log in
How to protect yourself from a DDOS attack with the same type of requests to non-existent files?
Good afternoon.
Faced an attack on the site with the same type of requests to non-existent files, mainly jpg.
The attack lasts 24/7 at about 50 requests per second, the attacker's ip changes about once every 3 days.
Answer the question
In order to leave comments, you need to log in
fail2ban and you need to ban in the firewall, not in nginx
Have you tried google at all?
A bunch of instructions on the net for the request "ddos iptables"
client: 37.45.11.152
How to protect yourself from such attacks?
lir [собака] belpak [.] by
And what is the applied result of the attack you describe? Nginx, even on minimal hardware, can return 404 errors much faster than 50 rps. Disable logging of 404 responses and, as advised above, enable fail2ban.
IMHO, this can’t even be called an attack - so, pampering ...
Ban by IP:
iptables -I INPUT -s 37.45.11.152 -j DROP
Removing a block:
iptabled -D INPUT -s 37.45.11.152
50 files per second - do you think this is an attack?
don't make fun of more files on your page.
Do you have Bitrix vm? if yes then vm version
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question