• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Administrator access Restriction not working

HaukeW

Basic Pleskian
Hi,

we have problems with the administrator access Restriction after Update to 10.4.4
If we login with "admin" the following error appears.

Error: Access for administrator from address '1.2.3.1' is restricted in accordance with IP Access restriction policy currently applied.

Here the Database tables.

mysql> select * from misc where param='access_policy';
+---------------+------+
| param | val |
+---------------+------+
| access_policy | deny |
+---------------+------+
1 row in set (0.00 sec)



mysql> select * from cp_access;
+----+-------+------------+-----------------+
| id | type | netaddr | netmask |
+----+-------+------------+-----------------+
| 8 | allow | 1.2.3.0 | 255.255.255.192 |
+----+-------+------------+-----------------+
1 row in set (0.00 sec)

I definitely come from one of the IP in this Subnet.

Has somebody an idea?

Regards
 
If I remove any entry in cp_access I can login but then I have no restriction!


mysql> select * from misc where param='access_policy';
+---------------+-------+
| param | val |
+---------------+-------+
| access_policy | allow |
+---------------+-------+
1 row in set (0.01 sec)

mysql> select * from cp_access;
Empty set (0.00 sec)


When I then go to the webfrontend (IP access restriction management) and add my IP, i get the following message.


Error: The access restriction policy and the list of networks are currently configured the way you will not be able to log in with administrator's rights from your IP address 'x.x.x.x'.

But this is exactly my IP !

If I add a Range I get the error Message:

Error: Some fields are empty or contain an improper value. ('netaddr' = 'x.x.x.0/26')

That makes no sense...
 
Back
Top