Blocked user names doesn’t work for certain http_user_agent
-
Hello,
My site is hammered with requests on wp-login.php since a couple of days.
All the user logins (like seller , shop, admin etc) should be immediatly blocked but are not.All those requests have the same http_user_agent which is :
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0and an empty http_referer (“-“)
Example :
Ismailia, Egypt /wp-login.php 11-2-2020 15:58:37 41.39.124.254 200
Activity Detail
Ismailia, Egypt attempted a failed login using an invalid username “admin”. https://www.freya.nl/wp-login.php
11-2-2020 15:58:37 (-470 seconds ago)
IP: 41.39.124.254
Human/Bot: Bot
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0?xample from access log :
200.68.137.219 – – [10/Feb/2020:14:55:11 +0100] “POST /wp-login.php HTTP/1.0” 200 3632 “-” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0”Most requests come from the far east.
Update:
Instead of blocking all the ip’s (ranges), I have now added to .htaccess the following :RewriteCond %{HTTP_USER_AGENT} “=Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0”
RewriteRule ^ – [F,L]This returns a 403 (forbidden) and i don’t see the endless stream of login attemps anymore under Life traffic (but they still are coming of course).
I’m very curious how this (bad bot) can do so many requests from so many countries and why they are not blocked on user login names which i would have expected.
Regards
The page I need help with: [log in to see the link]
- The topic ‘Blocked user names doesn’t work for certain http_user_agent’ is closed to new replies.