Support

Admin Tools

#28063 Admin Tools access from a Dynamic 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 on Friday, 04 August 2017 17:17 CDT

jmcguirl
Please refer to ticket #27151...

Could this not be resolved with a cron job that updates the db with the "current" ip the resolves to a given hostname?

IE
my.random-dynamic-dns-service.example.com resolves to public ip of 123.123.123.2

cron job fires off and sees the ip address has changed to 123.123.123.5
cron job the updates the db to reflect the ip address change....

nicholas
Akeeba Staff
Manager
You are looking for Components, Admin Tools, Web Application Firewall, Configure WAF, Exceptions from Blocking, Whitelisted domains. The downside is that you need to do a reverse DNS lookup for every request. Moreover, using a dynamic DNS service it's not guaranteed that you'll get that subdomain as the reverse DNS lookup of your IP.

The other approach would require us to let you define a list of fixed, whitelisted hostnames. However, that would require making N DNS requests for every request made to your site, where N is the number of hostnames you have. With just 3 hostnames you'd get ~1 second page load time increase. Most hosts deal with that by caching the DNS queries for an arbitrary amount of time -typically around 1 hours- which would render that feature useless. Since such a feature would either kill your site's performance or not work due to no fault of ours I decided to not implement it.

What you could do for your use case is write a CRON script which performs a DNS query against a live DNS server (e.g. 8.8.8.8) and replace that result in #__admintools_adminiplist (the Administrator IP Whitelist feature's database), provided that you have turned on that feature in Admin Tools. However, this is very specific to your use case so we won't be making this into an Admin Tools 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!

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!