Support

Admin Tools

#41547 Reason: 404shield

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
5.2.5
PHP version
8.2
Admin Tools version
7.6.2

Latest post by nicholas on Friday, 31 January 2025 01:41 CST

g5_macdaddy

Hello,

I get over 100 attacks a nite "Reason: 404shield". I would love to set the "Trigger Limit" to define an auto-block function...

I can't seem to find a way to up the blocking attempts to auto-block. Can you provide information on how I can get to auto-blocking these attempts?

Block IP after this many blocked requests: 3

Time period: 5 minutes

Block duration: 999 Days

Add persistent offenders to the IP Disallow List: Yes

Permanently disallow IP after this many automatic blocks: 3

Thank you so much for any info.

nicholas
Akeeba Staff
Manager

Auto-ban tab:

  • IP blocking of repeat offenders: Yes
  • Block IP after this many blocked requests: 3
  • Time period: 5
  • Unit of time measurement: Minutes
  • Block duration: 15
  • Unit of time measurement for block duration: Minutes

This blocks an IP for 15' if there are any 3 blocked requests in a 5 minute period. I would actually change that to 3 blocked requests in 1 minute, but that's ultimately up to you; I am just adapting my reply to your stated parameters.

Then, we can proceed with permanently blocking IPs which keep triggering the protection:

  • Add persistent offenders to the IP Disallow List: Yes
  • Permanently disallow IP after this many automatic blocks: 3

This will block that IP if it gets temporarily blocked three times.

Also make sure that in the Logging & Reporting tab the "Do not log these reasons" does NOT have 404 Shield in it. Otherwise, 404 Shield blocked requests will not be logged, therefore the "IP blocking of repeat offenders" feature will not count them towards the limit to block an IP address temporarily. The "IP blocking of repeat offenders" feature works against the contents of your log.

For the same reason, if you have set up automatic deletion of older blocked requests please make sure that you allow at least 1000 blocked requests to stay, otherwise these features might not pick up that the same IP is getting repeatedly blocked requests, i.e. it will never be temporarily or permanently blocked.

Finally, do note that the IP must be an exact match to be blocked. If the blocked requests come from similar but not identical IP addresses they will not be automatically blocked. You can, however, block entire ranges of IP addresses manually in this case.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

g5_macdaddy

Hello Nicholas,

I think my issue was I had the Logging & Reporting toggle off for whatever reason.
I have followed your instructions and I'm sure it will be effective now.

Really appreciate your help today!

nicholas
Akeeba Staff
Manager

You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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!