Support

Admin Tools

#12094 Activating honeypot option broke the firewall

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 Thursday, 26 April 2012 03:06 CDT

user62495
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? No
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 2.5.4
PHP version: (unknown)
MySQL version: (unknown)
Host: on PlanetHoster mutualized server
Admin Tools version: 2.2.5

Description of my issue: activating honeypot option broke the firewall

When i put this option on, the firewall stop totally to work : no more key on the admin url, no more security alert loggin, no more email notification, ...

I have create an account on project Honeypot site, and put my key on the firewall configuration.

Thanks,
Christophe

nicholas
Akeeba Staff
Manager
You have entered your IP address in the administrator IP whitelist or one of the "never block these IPs" lists in the Configure WAF page. As documented, this means that absolutely no protection is taking effect for your IP, including the administrator secret word protection. Therefore the honeypot didn't break your firewall.

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!

user62495
No, i don't put my IP in the whitelist, and i have made test with differents devices, with my phone by example which IP change so often...

When i saw the firewall didn't work, i have decided to unistall / reinstall AdminTools, and to activate the options one by one.
So i'm absolutely shure it was the honeypot which gave me those symptoms.
I'm not able to said if the firewall is totally desactivated, but i confirm that the key on the administrator URL, the loggin system and the notification system stop to work.
As soon as i remove this option, the firewall restart fine.

nicholas
Akeeba Staff
Manager
I have enabled the honeypot integration for this site ever since I introduced that feature and I am pretty darn sure that the firewall does work. Especially regarding the administrator key, please try accessing the administrator URL on this site. Do you see what I mean? Just for sanity's sake, I tried to reproduce your issue on another 7 servers. In all cases, enabling the Project Honeypot integration does not have any effect whatsoever on the operation of the firewall. Possible causes:
- You've entered your IP or a block of IP addresses in one of the whitelists I mentioned
- You have a partial installation of Admin Tools
- The Admin Tools system plugin is either disabled, or is not the first one to load (if unsure give it an order of -30000 or another very high negative number)
- Your site is behind a reverse proxy which doesn't forward the visitor's IP transparently. In this case, all visitors to the site are assigned the same IP and Admin Tools' IP-based protection features no longer work. This usually happens when you put Nginx in front of Apache without configuring the IP forwarding properly.
- The PH integration uses DNS lookups (that's how PH works). If, for any reason, that doesn't work it is possible that the page will time out. However, in this case, you would get a blank page or an error page. It would certainly not just turn off the firewall.

You can also try disabling the Project Honeypot integration and test if the firewall is still disabled. I can't replicate this issue on any other site (and nobody else has reported something like that), so I believe it's not a bug. Besides, looking at the code, there is no way enabling the PH integration could disable the firewall. It would be the equivalent of saying that your car's parking brake no longer working when you use the cigarette lighter. Just like these two subsystems are completely isolated from each other in a car, PH integration and all of the other features you mention are also separate from each other. The only way there could be an interference would be that PH reports the IP as belonging to a spammer/hacker. In this case no other firewall feature would run, but the request would be blocked. That's exactly how each individual feature of the WAF works; if an attack is identified, the request is blocked and nothing else runs on the site.

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!