Support

Admin Tools

#14848 Admin Tools blacklist is huge

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, 01 February 2013 03:34 CST

emeryjay

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, all
Joomla! version: 2.5.8
PHP version: 5.3.20
MySQL version: 5.1.666
Host: bytewriter.com via Rochen
Admin Tools version: 2.4.4

Description of my issue: The Site Admin IP blacklist is huge -- 800 entries. I could shorten it by blocking IPs by range and moving it to .htaccess. In another ticket I read that you believe long term black listing is a waste of time, and I understand your reasoning. Were you referring to the blacklist in Admin Tools or .htaccess?

A lot of the exceptions were for unauthorized access to the backend, so I changed to a whitelist and will soon implement two-factor authentication. I think that is working very well so far and I haven't had any problems testing two-factor.

Most of the security exceptions I get are from non-U.S. IP addresses. I've blocked many of the suspect countries via the GEO IP blocking function, but I have yet to see Geo IP blocking show up in any of the security exception messages, but I'm no longer getting traffic from some of the "bad" countries.

Here are my questions:

1. By using the admin white list and two factor authentircation, do I need to worry about keeping those IPs in the blacklist or security exception log?

2. Realisitcally, how many entries should I keep in the security exceptions log? Mine goes back to 2012.

3. Even though I'm not getting GEO Ip exceptions in the exceptions log, I'm no longer getting attempts from countires I've blocked. Is it safe to assume that it is working? I keep the Maxmind file updated.

I've learned a huge amount about security reading the support tickets.

Emery

nicholas
Akeeba Staff
Manager

Description of my issue: The Site Admin IP blacklist is huge -- 800 entries. I could shorten it by blocking IPs by range and moving it to .htaccess. In another ticket I read that you believe long term black listing is a waste of time, and I understand your reasoning. Were you referring to the blacklist in Admin Tools or .htaccess?

Both.

1. By using the admin white list and two factor authentircation, do I need to worry about keeping those IPs in the blacklist or security exception log?

No. In fact, as I told you before, you should enable and use the automatic IP banning feature of Admin Tools.

2. Realisitcally, how many entries should I keep in the security exceptions log? Mine goes back to 2012.

Depending on the traffic of the site, 100 to 1,000 is a good number. I would suggest deleting all of them by emptying the #__admintools_logs table. Then edit the System - Admin Tools plugin. The last option allows you to set the max number of log entries. Set it to 1000. Done :)

3. Even though I'm not getting GEO Ip exceptions in the exceptions log, I'm no longer getting attempts from countires I've blocked. Is it safe to assume that it is working? I keep the Maxmind file updated.

If a request is blocked because of GeoIP blocking it is not registered in the security exceptions log. I made this change a few versions ago on popular request.

I've learned a huge amount about security reading the support tickets.

Awesome! This is why I insist having tickets public unless login information is involved. One public ticket will help many more people than the one who originally asked the support question :)

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

I've been using auto ban since day one.

What is a good number for the Admin Tools blacklist?Now I understand the diff between public and private tickets, pls make this one public.

 

Emery

emeryjay

I started to empty #__admintools_logs table and it asked me if I wanted to truncate the table. I had never seen that one before so I left it alone.

Emery

nicholas
Akeeba Staff
Manager

What is a good number for the Admin Tools blacklist?

I'd say that 100 records are the upper limit on most hosts before you start experiencing very noticeable (> 1 second) delays in page load speed.

Now I understand the diff between public and private tickets, pls make this one public.

Done!

I started to empty #__admintools_logs table and it asked me if I wanted to truncate the table. I had never seen that one before so I left it alone.

Truncate practically means "Remove all contents"*. In your case, yes, use Truncate. 

* It actually means "Remove all contents and reset the auto number field" but for practical purposes it's sufficient to remember that truncate = remove all contents.

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!