Hostname blocking doesn’t work
-
I am unable to block a few hostnames I am having severe problems with. They act like DDOS attacks constantly hammering the website. amazonaws.com bglan.net poneytelecom.eu and your-server.de
Out of all those 4 the most aggressive are amazonaws.com and bglan.net
They are shown in Live Traffic as this:United States Ashburn, United States was blocked for Manual block by administrator at http://www.website.com/bla-bla-url
7/22/2018 2:08:26 PM (51 seconds ago)
IP: 54.237.125.34 Hostname: ec2-54-237-125-34.compute-1.amazonaws.com
Human/Bot: Bot
Browser: undefined
Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.8) Googlebot-Compatible Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8and
Bulgaria Sofia, Bulgaria was blocked for Manual block by administrator at http://www.website.com/bla-bla-url
7/22/2018 2:08:14 PM (1 minute ago)
IP: 151.237.25.65 Hostname: 151.237.25.65.bglan.net
Human/Bot: Bot
Browser: Edge version 16.0 running on Win10
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299I went to Wordfence, Firewall, Blocking and under Hostname I said amazonaws.com but nothing. It does not block the entire domain. Then I said in Referrer amazonaws still nothing. It only works when I manually block their IPS but no matter how many I block they always come with new IPs. This is perhaps the most inefficient way to block such an attack, by IP… I know I can block IP ranges but I still find this highly inefficient as they can always come up with new IP ranges. So I want to block their entire hostnames.
I am running Apache 2.4 and I even tried adding various blocking codes in .htaccess but still nothing, their hits show up in live traffic. Why?
Here’s what I tried:
<RequireAll>
Require all granted
Require not host amazonaws.com
Require not host bglan.net
Require not host poneytelecom.eu
Require not host your-server.de
</RequireAll>And this code doesn’t work because since they are blocked in .htaccess directly by Apache, they shouldn’t even show up in Wordfence live traffic. Since they DO show up I guess my blocking codes from .htaccess don’t work for some reason. Does anyone have a correct .htaccess blocking code for blocking these bots from ever accessing the site or an explanation why Wordfence isn’t blocking their hostnames? Please help. Thank you
The topic ‘Hostname blocking doesn’t work’ is closed to new replies.