Support

Admin Tools

#16704 Repeated notifications of an already blocked IP

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 gbulian on Tuesday, 09 July 2013 04:18 CDT

gbulian
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 2.5.11
PHP version: 5.3.26
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Admin Tools version: 2.5.6

Description of my issue:
In WAF I have enabled the automatic blocking of IPs in case of repeated security exceptions.
The blocking is set to last for one day.
The email notification was set in order to notify in case of a blocked IP.

What is happen is this:
- An IP is blocked by the autoblock
- An e-mail is sent
- Despite the IP is already blocked (it appears in the list of auto-blocked IPs) I receive repeated notifications of blocking.

It looks like the IP is blocked but, for some reason, after a while, due to additional exceptions raised by the same IP, the blocking is reset, and a new updated notification email is sent.

Is this a normal behaviour? I would have expected the blocking to stop notifying about the same address until the block is lifted.

Am I wrong?

Thank you.
Gabriele

nicholas
Akeeba Staff
Manager
This sounds like normal behaviour. The automatic IP block only places a block on that IP for a limited amount of time (you get to configure it). After that time has elapsed the block is lifted and you will start receiving emails about that IP again. Until, of course, it is blocked again.

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!

gbulian
Hi Nicholas,
thank you for your reply.

The problem is that I receive new notifications **before** the blocking has expired.

For instance, the blocking is now 1 day, but I receive notifications every about 25min regarding the same IP...this does not sound normal, isn't it?

nicholas
Akeeba Staff
Manager
There is some rounding done to the block time. If the time difference is very small it could be the result of this rounding.

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!

gbulian
Maybe rounding could be a problem, but I do not think it could be in this case, because the blocking is set to last for 1 day, but notifications come every 25 min...which is quite different...

any way to solve this?

Thanks,
Gabriele

nicholas
Akeeba Staff
Manager
No, this is not normal. Can you confirm that the IP is blocked in the Auto IP Blocking Administration page of the component? Can you also check that it's the exact same IP address?

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!

gbulian
Yes, the IP is blocked in the auto IP blocking page.
The IP is exactly the same.

Gabriele

nicholas
Akeeba Staff
Manager
After thorough testing we could only reproduce this issue when the timezone of the server was set incorrectly and did not match the setting in the site's Global Configuration. That is, as long as the System - Admin Tools plugin is published and its access is set to Public.

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!

gbulian
Hi Nicholas,
thank you for taking care of the issue.

Actually joomla time zone was inconsistent with respect to server time zone.
Now I have corrected it.

Let's see if, with this new setting, the problem will be solved.

Thanks,
Gabriele

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!