+ Reply to Thread
Results 1 to 7 of 7
-
10-06-2008 08:47 PM #1
- Join Date
- Aug 2004
- Location
- London
- Posts
- 4,286
- Downloads
- 0
- Uploads
- 0
- Blog Entries
- 30
What to you do about Proxy attack?
One of my sites seem to be experiencing proxy attack, how do I solve this issue?
-
10-06-2008 09:41 PM #2
I am not sure but are you talking about AdminQuest because I can not get on it at all?
-
10-06-2008 09:47 PM #3
- Join Date
- Aug 2004
- Location
- London
- Posts
- 4,286
- Downloads
- 0
- Uploads
- 0
- Blog Entries
- 30
-
10-06-2008 09:57 PM #4
Senior Member





- Join Date
- May 2007
- Posts
- 148
- Downloads
- 0
- Uploads
- 0
Temi, this attack method could do serious demages because the weaker websites can be remove from search engine listings due to the duplicated content. The problem is when a proxy website does not restrict the indexing activity of search engines regarding the proxified content.
How can you protect your website?
You need this code
included to the very beginning of the script or add this to the .htaccess file as php_value auto_prepend_file value. The code will validate the search bots in accordance with their host, if they try to index the proxified content they will get 403 server error.:rolleyes:PHP Code:<?php
$ua = $_SERVER['HTTP_USER_AGENT'];
if(stristr($ua, 'msnbot') || stristr($ua, 'Googlebot') || stristr($ua, 'Yahoo! Slurp')){
$ip = $_SERVER['REMOTE_ADDR'];
$hostname = gethostbyaddr($ip);
if(!preg_match("/\.googlebot\.com$/", $hostname) &&!preg_match("/search\.live\.com$/", $hostname) &&!preg_match("/crawl\.yahoo\.net$/", $hostname)) {
$block = TRUE;
header("HTTP/1.0 403 Forbidden");
exit;
} else {
$real_ip = gethostbyname($hostname);
if($ip!= $real_ip){
$block = TRUE;
header("HTTP/1.0 403 Forbidden");
exit;
} else {
$block = FALSE;
}
}
}
?>
More information about the topic can be found in my earlier blogpost.
-
10-06-2008 10:03 PM #5
- Join Date
- Aug 2004
- Location
- London
- Posts
- 4,286
- Downloads
- 0
- Uploads
- 0
- Blog Entries
- 30
Fantastic Zoli, rep added.
-
10-08-2008 01:46 PM #6
Senior Member
- Join Date
- Sep 2008
- Posts
- 323
- Downloads
- 0
- Uploads
- 0
sir can I ask something?
what do you mean by proxy attack?
-
10-08-2008 01:59 PM #7
- Join Date
- Aug 2004
- Location
- London
- Posts
- 4,286
- Downloads
- 0
- Uploads
- 0
- Blog Entries
- 30
Some unscrupulous people can get you site content tangled in proxy site, search engines will then penalise you for duplicate content.
Similar Threads
-
The ultimate guide to earning money from proxy sites
By Sabre in forum Site MonetizationReplies: 5Last Post: 05-24-2011, 09:08 AM -
Marketing Basics
By dungdm004 in forum UK Business ForumsReplies: 12Last Post: 04-17-2009, 03:50 PM -
Free proxy server what do you use them for?
By temi in forum General Webmaster DiscussionsReplies: 2Last Post: 03-12-2009, 05:43 AM -
Baby mauled to death in dog attack is named
By TeamPlayer in forum Forum LobbyReplies: 1Last Post: 02-07-2009, 09:56 PM -
Proxy List
By dungdm004 in forum Buy, Sell or TradeReplies: 0Last Post: 04-30-2008, 05:55 PM


LinkBack URL
About LinkBacks
Reply With Quote




Bookmarks