| | #1 |
| Gameslopedy.com Join Date: 2011 Location: Gameslopedy.Com
Posts: 87
Thanks: 7
Thanked 1 Time in 1 Post
|
Hi Last time I added my links to dirtywarez.com and when I look after that my site gives lots of 503 error and CPU usage and Memory usage is at maximum level. They're sending lots of fake hits/visitors (they arent human ;I looked up from google analytics and nothing seen any of them as a human when 30-40 ip's visiting my pages) from a range of mostly China and Europe IP's.. How can I block them? I use wordfence plugin and manually blocking them but I cant handle it. Please help me. |
|
Traffic for Gaming Websites : Gameslopedy.com : Fixes for PC Game Errors, Crashes... | |
| |
| | #2 |
| Active Warrior Join Date: 2014 Location: New Delhi
Posts: 46
Thanks: 6
Thanked 9 Times in 8 Posts
|
Blocking users or sites that originate from a particular domain is another useful trick of .htaccess. Before I get to the code itself, it's important to note that blocking access by referrer in .htaccess requires the help of the Apache module mod_rewrite to make out the referrer first. This module is installed by default on most servers (ask your host if you're not sure). So, to deny access all traffic that originate from a particular domain (referrers) to your site, use the following code: Block traffic from a single referrer: RewriteEngine on # Options +FollowSymlinks RewriteCond %{HTTP_REFERER} badsite\.com [NC] RewriteRule .* - [F] Block traffic from multiple referrers RewriteEngine on # Options +FollowSymlinks RewriteCond %{HTTP_REFERER} badsite\.com [NC,OR] RewriteCond %{HTTP_REFERER} anotherbadsite\.com RewriteRule .* - [F] |
| |
| | #3 | |
| Gameslopedy.com Join Date: 2011 Location: Gameslopedy.Com
Posts: 87
Thanks: 7
Thanked 1 Time in 1 Post
|
| |
|
Traffic for Gaming Websites : Gameslopedy.com : Fixes for PC Game Errors, Crashes... | ||
| |
| | #4 |
| ɹoıɹɹɐʍ ǝʌıʇɔɐɹǝdʎɥ War Room Member Join Date: 2008 Location: Texas
Posts: 2,138
Thanks: 243
Thanked 453 Times in 382 Posts
Blog Entries: 3 |
You might be able to eliminate the error logs and send them away by redirecting instead of blocking. RewriteCond %{HTTP_REFERER} badsite.com [NC,OR] #by referrer RewriteCond %{REMOTE_ADDR} ^96\.47\. [OR] # by IP block RewriteCond %{REMOTE_ADDR} ^96\.47\.22\.153 [OR] # by IP RewriteCond %{HTTP_USER_AGENT} Baidu [NC,OR] RewriteCond %{HTTP_USER_AGENT} Yandex [NC,OR] # by user agent RewriteCond %{HTTP_USER_AGENT} YYSpider [NC] # by user agent RewriteRule .* http://%{REMOTE_ADDR} [L,R=403] # tells them what they are looking for is at their ip |
|
Robin | |
| |
| | #5 |
| IT Consultant Join Date: 2011 Location: Bangladesh
Posts: 142
Thanks: 11
Thanked 39 Times in 30 Posts
|
I hope you're not under a DDoS attack. I'd would strongly recommend you to use https://www.cloudflare.com to protect your site. It'll also make the site load much faster along with many of it's benefits. |
|
I'll solve your PHP, MySQL, WordPress or any website or server related problems. Hire me on Freelancer.com at an affordable rate with fast turnaround time. | |
| |
| | #6 | ||
| Gameslopedy.com Join Date: 2011 Location: Gameslopedy.Com
Posts: 87
Thanks: 7
Thanked 1 Time in 1 Post
|
But I saw every minute yandex bot tries to attempt my website pages: Code: .255.253.138 /forums/memberlist.php?sk=f&sd=a&first_char=s&sid=8dfe6f7cb016968205e016ca81f1d23e 7/29/14 10:36 AM 11125 success 200 GET HTTP/1.1 Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) 157.55.39.158 /resources-by-categories/ 7/29/14 10:36 AM 21182 success 200 GET HTTP/1.1 Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) 5.255.253.138 /forums/memberlist.php?sk=a&sd=a&first_char=j&sid=24369d2c9ff6eed78612810777249724 7/29/14 10:36 AM 11209 success 200 GET HTTP/1.1 Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) 66.249.79.128 /tag/playstation-3-2/feed/ 7/29/14 10:36 AM 2182 success 200 GET HTTP/1.1 Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) 5.255.253.138 /forums/viewtopic.php?f=4&t=430&p=736&sid=b538f7a36756e716402e8eafdc019998 7/29/14 10:36 AM 12276 success 200 GET HTTP/1.1 Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) 85.106.69.73 /favicon.ico 7/29/14 10:36 AM 0 success 200 GET HTTP/1.1 Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36 5.255.253.138 /forums/memberlist.php?sk=c&sd=d&first_char=e&sid=200ea961e4ddc39f8e298a4c72689b29 7/29/14 10:36 AM 11153 success 200 GET HTTP/1.1 Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) 85.106.69.73 /?custom-css=1&csblog=1&cscache=6&csrev=17 7/29/14 10:35 AM 110 success 200 GET HTTP/1.1 http://www.chemicalsubjects.com/forums/ Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36 5.255.253.138 /forums/memberlist.php?sk=d&sd=a&first_char=k&sid=b11c3457b54b738d6e193bf69560110e 7/29/14 10:36 AM 11124 success 200 GET HTTP/1.1 Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) 85.106.69.73 /forums/style.php?id=7&lang=en&sid=191e947d43bfa7e0eb0e9272ba9bf272 7/29/14 10:35 AM 26894 success 200 GET HTTP/1.1 http://www.chemicalsubjects.com/forums/ Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36 85.106.69.73 /forums/cron.php?cron_type=tidy_cache&sid=191e947d43bfa7e0eb0e9272ba9bf272 7/29/14 10:35 AM 57 success 200 GET HTTP/1.1 http://www.chemicalsubjects.com/forums/ Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36 5.255.253.138 /forums/memberlist.php?sk=b&sd=d&first_char=t&sid=b33bc0078e952eb4a9e8757e021f05ce 7/29/14 10:35 AM 11155 success 200 GET HTTP/1.1 Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) 85.106.69.73 /forums/ 7/29/14 10:35 AM 16793 success 200 GET HTTP/1.1 Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36
| ||
|
Traffic for Gaming Websites : Gameslopedy.com : Fixes for PC Game Errors, Crashes... | |||
| |
| | #7 | |
| ɹoıɹɹɐʍ ǝʌıʇɔɐɹǝdʎɥ War Room Member Join Date: 2008 Location: Texas
Posts: 2,138
Thanks: 243
Thanked 453 Times in 382 Posts
Blog Entries: 3 |
I was just presenting an example of different ways to eliminate traffic, User agent is one of three techniques, IP/IP range and referrer that I use. | |
|
Robin | ||
| |
| | #8 |
| VIP Warrior War Room Member Join Date: 2006 Location: , , USA.
Posts: 1,795
Thanks: 70
Thanked 287 Times in 259 Posts
|
You listed your site on a place called "dirty warez" and didn't expect bad things to happen?
|
| |
| | #9 | ||
| Gameslopedy.com Join Date: 2011 Location: Gameslopedy.Com
Posts: 87
Thanks: 7
Thanked 1 Time in 1 Post
|
I had talked with them . They said:
How come bots /spiders like that overloads my site like this? | ||
|
Traffic for Gaming Websites : Gameslopedy.com : Fixes for PC Game Errors, Crashes... | |||
| |
| | #10 |
| ɹoıɹɹɐʍ ǝʌıʇɔɐɹǝdʎɥ War Room Member Join Date: 2008 Location: Texas
Posts: 2,138
Thanks: 243
Thanked 453 Times in 382 Posts
Blog Entries: 3 |
As previously mentioned, use cloudflare and block unwanted countries.
|
|
Robin | |
| |
| | #11 |
| Web Dev / Automation Guru Join Date: 2014 Location: Wisconsin
Posts: 23
Thanks: 2
Thanked 4 Times in 4 Posts
|
+1 for Cloudflare
|
| |
| | #12 |
| Gameslopedy.com Join Date: 2011 Location: Gameslopedy.Com
Posts: 87
Thanks: 7
Thanked 1 Time in 1 Post
| |
|
Traffic for Gaming Websites : Gameslopedy.com : Fixes for PC Game Errors, Crashes... | |
| |
| | #13 | |
| Active Warrior Join Date: 2014
Posts: 42
Thanks: 1
Thanked 3 Times in 3 Posts
|
i think he is right | |
| |
| | #15 |
| Senior Warrior Member War Room Member Join Date: 2010 Location: USA, Europe
Posts: 1,163
Thanks: 57
Thanked 266 Times in 213 Posts
|
CloudFlare will likely slow your site down.
|
| FAQ: Need a Site5/Arvixe/Hostgator alternative? And who is EIG? Reviews: Need a good VPS, dedicated server, or unlimited host? (This is NOT a fake "top 10" list!) | |
| |
| | #16 |
| VIP Warrior War Room Member Join Date: 2008
Posts: 1,768
Thanks: 4,644
Thanked 1,335 Times in 894 Posts
|
you don't have to use Cloudflare - I never have. block by IP or by referrer on your .htaccess site. here's all the info you need: Deny visitors by IP address - Apache .htaccess Guide, Tutorials & Examples Deny visitors by referrer - Apache .htaccess Guide, Tutorials & Examples It is quite easy to add stuff to your htaccess file How to use .htaccess - Apache .htaccess Guide, Tutorials & Examples good luck! |
| --------------- | |
| |
|
| Bookmarks |
| Tags |
| ddl, fake, lots, makes, sending, site, visitors, wordpress |
| |