User-agent: Baiduspider
Disallow: /
User-agent: NaverBot
User-agent: Yeti
Disallow: /
User-agent: Baiduspider
User-agent: Baiduspider-video
User-agent: Baiduspider-image
Disallow: /
User-agent: YoudaoBot
Disallow: /
RewriteCond %{HTTP_USER_AGENT} ^Baiduspider.* [NC]
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://www.8thos.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.8thos.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://8thos.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://8thos.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
SetEnvIfNoCase User-Agent "^baiduspider" bad_bot
<limit get="" post="">
Order Allow,Deny
Allow from all
Deny from env=bad_bot
</limit>
That's a bit drastic!I'm closing my site from guests until this is fixed.
Little harder, you can ban them in your XenForo ACP:I don't have cpanel. I'll figure this stuff out later.
You may enter a partial IP, using * at the end to ban a range of IPs (example: 192.168.*).
Man I don't even care anymore. I'm just gonna keep the site private for now on.
Maybe you should ask why your site is not able to cope with Baidu spiders.
IP Address123.125.71.52
Hostbaiduspider-123-125-71-52.crawl.baidu.com
[Querying whois.apnic.net]
[whois.apnic.net]
% [whois.apnic.net]
% Whois data copyright terms http://www.apnic.net/db/dbcopyright.html
% Information related to '123.125.71.0 - 123.125.71.255'
inetnum: 123.125.71.0 - 123.125.71.255
Thanks for confirming this. Tried explaining this to @Slavik but he couldn't help which is why I decided to get a managed vps. I haven't done anything differently so I have no idea why they aren't attacking now. I'm just glad they aren't. @MattW did you add something to keep the Baidu bots out?The sites are fine. It is Baidu's bots that are abusive. They bombard a forum with enough requests to nearly qualify them as performing a denial of service attack on servers.
Baidu is bad, plain and simple.
123.125.71.0/24
This drama had me looking through my site to see if I or another user said something to upset China.
Baidu is the least of drama associated with having a public forum. It was the icing on the cake.
We use essential cookies to make this site work, and optional cookies to enhance your experience.