Support

Admin Tools

#24163 Any way to import IP Address Ranges?

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 Friday, 12 February 2016 17:20 CST

toad78
Is there any way to import IPs to the Site IPs blackist database table instead of having to create new IP address ranges to block?

I'm using https://www.ip2location.com/blockvisitorsbycountry.aspx, but it's a rather tedious job to have to insert each and every IP range. I've also tried posting the IP blocking in my .httaccess file but receive an error 500 each time. I'm just trying to block IPs outside of my country from accessing my site---quite an extensive list.

Any other ideas/options since the Admin Tools Geographic Blocking isn't completely reliable?

Thank you.

tampe125
Akeeba Staff
Hello,

you could "abuse" of the import/export feature. It was designed to backup and re-import Admin Tools settings, however it's just a plain text file. You could export your current settings, then manually edit it and every time import the new IP block list.

However, please keep in mind that blocking all users that aren't from your country is a bad decision. The problem isn't Admin Tools Geo Blocking feature being not reliable, but the whole concept of translating an IP into a country name.
So, whatever method you choose, you are going to face false positives and users that are blocked even if they should connect.
In our opinion, blocking IPs on a country basis is not a good solution.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

toad78
Thank you for the heads up, Davide. I was really hoping to find a solid solutions to lessen the time invested to maintain the blocking of IPs.

tampe125
Akeeba Staff
You're welcome!

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
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!