IP blocked multiple times in .htaccess
-
I keep getting lockout notifications for IP 151.80.41.241. This has been going on for weeks and I’ve had 18 lockout notifications for that IP in the last 30 minutes.
My wordpress is below public_html in directory “wp”. The .htaccess in the public_html directory has no reference to this IP address.
The .htaccess file in the “wp” directory currently has 51 (fifty-one) occurrences of the code below:
SetEnvIF REMOTE_ADDR "^151\.80\.44\.159$" DenyAccess
SetEnvIF X-FORWARDED-FOR "^151\.80\.44\.159$" DenyAccess
SetEnvIF X-CLUSTER-CLIENT-IP "^151\.80\.44\.159$" DenyAccess</p>
<p># BEGIN iThemes Security - Do not modify or remove this line
# iThemes Security Config Details: 2
# Quick ban IP. Will be updated on next formal rules save.
SetEnvIF REMOTE_ADDR "^151\.80\.44\.159$" DenyAccess
SetEnvIF X-FORWARDED-FOR "^151\.80\.44\.159$" DenyAccess
SetEnvIF X-CLUSTER-CLIENT-IP "^151\.80\.44\.159$" DenyAccess
<IfModule mod_authz_core.c>
<RequireAll>
Require all granted
Require not env DenyAccess
Require not ip 151.80.44.159
</RequireAll>
</IfModule>
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from env=DenyAccess
Deny from 151.80.44.159
Allow from all
</IfModule>
# END iThemes Security - Do not modify or remove this lineAny ideas how to resolve this? It looks like the IP is not being blocked — else why would iThemes Security keep adding it? And why is it repeating the lockout code?
- The topic ‘IP blocked multiple times in .htaccess’ is closed to new replies.