Support

Admin Tools

#32735 blocking IP's not working

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 Thursday, 30 April 2020 17:17 CDT

qclick
HI,

I have set up a block for the following range of IP's 5.188.210.0/100 for a site.

I did this 25/3/20 and have just checked visitors to the site via cpanel and it shows IP's within this range accessing the site - please see screenshot.

Please advise.

Kind regards
Leanne

nicholas
Akeeba Staff
Manager
The expression "5.188.210.0/100" is not an IP range. It's something invalid that doesn't make sense. The format IP/INTEGER is called a CIDR notation. Since you're talking IPv4 addresses the integer part can be 1 (all IP addresses) to 32 (just the one IP address you specified). That makes sense since IPv4 addresses are 32-bit integers and the integer part of a CIDR notation is a bit mask. Using an 100-bit mask for a 32 bit integer is an unspecified operation, therefore your input is considered junk and silently discarded when evaluating IP blocks.

If you meant to block 5.188.210.0 to 5.188.210.100 you should write it as 5.188.210.0-5.188.210.100 instead. There is no single CIDR notation which would cover all 100 IP addresses.

If you meant to block all addresses from 5.188.210.0 to 5.188.210.255 you can write it either as 5.188.210.0-5.188.210.255 or 5.188.210.0/255.255.255.0 or 5.188.210.0/24

If unsure please use a CIDR calculator tool such as https://www.ipaddressguide.com/cidr

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!

qclick
thanks heaps for your help

nicholas
Akeeba Staff
Manager
No problem! Have a great day and stay safe!

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!