Support

Admin Tools

#30067 404 Shield

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Saturday, 08 September 2018 17:17 CDT

gbqukt
Hi

I had an attack yesterday where a single IP address generated a large number of 404 errors (around 20/second). There was 776 unique URLs targeted.

The 404 shield is a great feature but I wondered if there was a way to automatically block an address if a certain number of 404 errors are generated (possibly within a certain timeframe), without needing to specify the URLs?

Kind regards
Dan

tampe125
Akeeba Staff
Hello,

there isn't such feature since a plugin in Joomla is not the correct tool for the job.
In order to block an URL after too many attempts, we need to track them down, writing in the database. This means that there are 2 database operations (read + write) for each URL.
In order to block such URL, the server has to load a massive amount of resources (CPU, memory, database connection, load Joomla core, load all system plugins and THEN we can decide to block it or no).
The best tool to protect yourself from too many queries is to setup a CDN for your site: in this way the traffic is handled by the CDN, blocking attackers.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!