Support

Admin Tools

#26287 Admin 4.01 Sorting

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 on Saturday, 12 November 2016 17:20 CST

allenjj
 Since I updated to 4.01 I keep having problems with it defaulting to ID sort when i view the security execption log. Even when I try to sort it by descending date, it defaults to ascending. This is most frustrating . Any thoughts?

nicholas
Akeeba Staff
Manager
You are right about the default sort. That's something we'll fix.

However, I can't reproduce your issue for the date. Here's what I do. First I change the "Sort table by" dropdown to Date. The page reloads. Then I change the ordering dropdown to Descending. The page reloads again. Now I can go back and forth any number of pages and the sorting sticks to date descending.

Please note that every time you change a sorting parameter the page reloads. If you change the "sort table by" dropdown and, while the page is loading, also change the ordering dropdown then your second change will be ignored as it's not posted to the server. I agree that this is a bit confusing but that's how Joomla works :( I'd much rather changing the value in one dropdown blocking the interface but I can't implement this since it'd be inconsistent with how Joomla itself works.

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!

allenjj
When I first start the view security exception log, it starts in the current date then works backwards. If I click on #2 to move to the second page, it switches to some date in 2015. I do have a large exception file that I am adding to the black list, but this is problematic in part due to the time it takes to load my exceptions for me to deal with, then the amount of time it takes to reload so that I am working on the right date of exceptions that havent been addressed yet. If as an update you allowed users to set their version of how they would like data sorted it would help since your default selection (if you have the problem I am) is ID, instead of date.

nicholas
Akeeba Staff
Manager
You should NOT be adding IP addresses to the blacklist manually. Let Admin Tools handle automatic blocking. I have been saying that so many times over the years.

No hacker –wannabe or seasoned– would EVER use their own static IP address to attack your site. That's like a criminal leaving his business card on the crime scene for police to find. Instead they will use a bunch of hacked computers ("botnet") or otherwise someone else's Internet connection and they'll only use that IP address for a limited period of time. So you are NOT blocking the hackers by putting them on the blacklist.

Who are you blocking then? Virtually all ISPs use dynamic IP addresses. When you connect to them they assign you a random IP from their pool of IP addresses. Many ISPs also use a short lease time, i.e. they change your IP address every so often (mine does every hour) to make sure that you won't have an effectively static IP address. So the IP address you blacklisted will be inadvertently assigned to an innocent third party. If that innocent third party tries to access your site they will be blocked and will never attempt to visit your site again. You've lost a client.

Therefore it makes more sense to temporarily ban an IP address while it's attacking your site. That's exactly what Admin Tools does when you set up the automatic IP block in the Web Application Firewall page. Enable it and let the machine handle the task of blocking and unblocking IP addresses. It's easier.

Furthermore, every IP address you have in your blacklist requires a bit of memory and a bit of time to process on each and every page load. If you have more than ~300 entries you are adding over one second of page load time and a few Mb of memory usage on each and every page load. This makes your site slower which has an adverse impact on search engine ranking.

IP blacklisting should be reserved for the really stupid script kiddies (wannabe hackers who actually don't understand how all that works) who are are using their home connection's static IP address to pound on your site. They are annoying and blacklisting them is the only way to stop having to deal with them. Admin Tools can also do that automatically through the last few options of the automatic IP banning feature.

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!

allenjj
Your reply was really helpful even though I had auto banning enabled, I would still set other bans manually. This explanation had me change the settings to focus on the auto ban. As always thanks for a great set of products.

nicholas
Akeeba Staff
Manager
You're welcome!

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!