Support

Admin Tools

#21924 Modify Automatic IP blocking email

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 nicholas on Friday, 23 January 2015 02:48 CST

emeryjay
I was reading the Admin Tools manual during a flight. I didn't fall fall asleep either.

I've seen requests for the ability to export the security exception log. Isn't that information already in the Admin Tools log file?

If I use the instructions in the manual to make a custom 403 error message and template over ride, won't that same info also show up in the web server error.log?
Emery

emeryjay
I also forgot to ask about modifying the automatic IP address email and are any of the tags in the custom email notifications available.
Emery

nicholas
Akeeba Staff
Manager
Regarding the security exceptions log: the requests we had were for sharing the exceptions log database table among several sites. That's a security risk on its own right, so we're not going to implement it. If you're wondering if the .log file contains all the security exceptions raised: yes, short of. The log file is rotated automatically after growing over 1Mb, meaning that the log file has only the last security exceptions which fit in 1Mb of text. The log table has all the exceptions unless you've set up automatic purging of old entries in the System - Admin Tools plugin's options.

Regarding the 403 custom message: the error page, no matter what the template or message is, is sent to the browser with an 403 Forbidden HTTP header. This means that the server access log always shows it as a 403 page, exactly as it should.

Regarding the email, I'm not sure which one you are referring to?

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!

emeryjay
Thanks. I agree with you. All the data I need is available without exporting anything other than a table.

For the email question, is it possible to modify the automatic IP blocking email text, and if so where is it?

Is it possible to add tags like IP lookup similar to the custom email templates. to jog my memory about the exception?

Also if I make mods to the automatic IP blocking email text, it would be overwritten with each new version of Admin Tools? I guess I could keep a backup copy? Is there another way?

I continue to be impressed at the depth of functionality in Admin Tools

Emery

nicholas
Akeeba Staff
Manager
You mean the email you are receiving when an IP of a repeat offender gets automatically blocked? That's not available in the custom email templates feature but you can use Joomla!'s language override feature and change the ATOOLS_LBL_WAF_AUTOIPBLOCKEMAIL_SUBJECT and ATOOLS_LBL_WAF_AUTOIPBLOCKEMAIL_BODY language strings. For detailed information on language overrides please consult Joomla!'s documentation on the subject. And yes, the overrides are NOT overwritten when you upgrade Admin Tools. That's the whole point of this Joomla! feature.

As for reason lookups, no, that's not possible. However, you don't really need it. If you go to Admin Tools, Web Application Firewall, IP Auto-ban administration and look up the blocked IP you'll see the reason printed there. Alternatively, you can download the PDF documentation and search the block reason you see in your email. As you can see, there's a handy index of all reasons leading you to the relevant WAF option's documentation page.

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!