Support

Admin Tools

#24216 Block IP's trying to access wp-admin or similar

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 Sigitas on Wednesday, 20 January 2016 05:36 CST

Sigitas
 Hi,
is it possible to automatically blacklist IP who's trying to access specific file or directory? In logs I see a lot requests from bots on /wp-admin, wp-login.php and sometimes /user (Drupal I guess). I've tried to achieve this using WAF Blacklist tool, but not sure how to use it for specific url or directory.

tampe125
Akeeba Staff
Hello,

that's not possible, since such kind of "attack" are outside Joomla.
Moreover that's not performance wise, since we should have to boot the whole Joomla environment (database connection, loading the whole configuration + all plugins etc etc).
The best way is to raise a simple 404 error, which your server is already doing.

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!

Sigitas
Ok, got it. 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!