A-A+

Apache屏蔽YisouSpider(一搜蜘蛛神马)的方法

2015年02月05日 学习小计 暂无评论 阅读 1 次

最近网站被YisouSpider(一搜蜘蛛)频繁抓取导致服务器几乎瘫痪,而且是每天两次狂轰滥炸。最可气而这个垃圾的一搜却没带来一个ip访问。对于这种垃圾蜘蛛应当采取屏蔽的做法。

艹蛋是还有破坏行为

[Mon Jan 26 11:38:02 2015] [error] [client 42.156.139.54] WordPressxe6x95xb0xe6x8dxaexe5xbax93xe6x9fxa5xe8xafxa2DELETE FROM wp_statpress WHERE date < '20140126'xe6x97xb6xe5x8fx91xe7x94x9fLock wait timeout exceeded; try restarting transactionxe9x94x99xe8xafxafxefxbcx8cxe8xbfx99xe6x98xafxe7x94xb1require('/home/wordpress/wp-blog-header.php'), wp, WP->main, WP->send_headers, do_action_ref_array, call_user_func_array, iriStatAppendxe6x9fxa5xe8xafxa2xe7x9ax84xe3x80x82
[Mon Jan 26 11:38:02 2015] [error] [client 42.156.136.54] WordPressxe6x95xb0xe6x8dxaexe5xbax93xe6x9fxa5xe8xafxa2DELETE FROM wp_statpress WHERE date < '20140126'xe6x97xb6xe5x8fx91xe7x94x9fLock wait timeout exceeded; try restarting transactionxe9x94x99xe8xafxafxefxbcx8cxe8xbfx99xe6x98xafxe7x94xb1require('/home/wordpress/wp-blog-header.php'), wp, WP->main, WP->send_headers, do_action_ref_array, call_user_func_array, iriStatAppendxe6x9fxa5xe8xafxa2xe7x9ax84xe3x80x82
[Mon Jan 26 11:38:02 2015] [error] [client 42.156.138.54] WordPressxe6x95xb0xe6x8dxaexe5xbax93xe6x9fxa5xe8xafxa2DELETE FROM wp_statpress WHERE date < '20140126'xe6x97xb6xe5x8fx91xe7x94x9fLock wait timeout exceeded; try restarting transactionxe9x94x99xe8xafxafxefxbcx8cxe8xbfx99xe6x98xafxe7x94xb1require('/home/wordpress/wp-blog-header.php'), wp, WP->main, WP->send_headers, do_action_ref_array, call_user_func_array, iriStatAppendxe6x9fxa5xe8xafxa2xe7x9ax84xe3x80x82
[Mon Jan 26 11:38:13 2015] [error] [client 42.156.138.54] WordPressxe6x95xb0xe6x8dxaexe5xbax93xe6x9fxa5xe8xafxa2DELETE FROM wp_statpress WHERE date < '20140126'xe6x97xb6xe5x8fx91xe7x94x9fLock wait timeout exceeded; try restarting transactionxe9x94x99xe8xafxafxefxbcx8cxe8xbfx99xe6x98xafxe7x94xb1require('/home/wordpress/wp-blog-header.php'), wp, WP->main, WP->send_headers, do_action_ref_array, call_user_func_array, iriStatAppendxe6x9fxa5xe8xafxa2xe7x9ax84xe3x80x82
[Mon Jan 26 11:38:13 2015] [error] [client 42.120.161.54] WordPressxe6x95xb0xe6x8dxaexe5xbax93xe6x9fxa5xe8xafxa2DELETE FROM wp_statpress WHERE date < '20140126'xe6x97xb6xe5x8fx91xe7x94x9fLock wait timeout exceeded; try restarting transactionxe9x94x99xe8xafxafxefxbcx8cxe8xbfx99xe6x98xafxe7x94xb1require('/home/wordpress/wp-blog-header.php'), wp, WP->main, WP->send_headers, do_action_ref_array, call_user_func_array, iriStatAppendxe6x9fxa5xe8xafxa2xe7x9ax84xe3x80x82

以下分享本人屏蔽YisouSpider(一搜蜘蛛)的方法:

1.在网站日志中查看YisouSpider(一搜蜘蛛)的ip

2.利用服务器屏蔽YisouSpider(一搜蜘蛛)对应的ip.

本人服务器是Apache,只需要在网站目录下的.htaccess加入

Order allow,deny
Allow from all
Deny from 42.156.136.95

Deny from 42.156.137.67

以上红色表示禁止42.156.136.95和42.156.137.67访问。

下面是YisouSpider(一搜蜘蛛)的ip

Deny from 42.156.136.95
Deny from 42.156.137.67
Deny from 42.156.137.62
Deny from 42.156.137.63
Deny from 42.156.137.60
Deny from 42.156.138.113
Deny from 42.120.161.37
Deny from 42.120.161.32
Deny from 42.120.161.65
Deny from 42.156.139.95
Deny from 42.156.136.113
Deny from 42.156.136.44
Deny from 42.156.136.42
Deny from 42.156.136.40
Deny from 42.156.139.51
Deny from 42.156.139.53
Deny from 42.156.139.55
Deny from 42.156.139.54
Deny from 42.156.139.57
Deny from 42.156.138.63
Deny from 42.156.138.62
Deny from 42.156.138.61
Deny from 42.156.138.60
Deny from 42.156.138.67
Deny from 42.120.161.62
Deny from 42.156.138.65
Deny from 42.120.160.67
Deny from 42.120.161.95
Deny from 42.120.160.113
Deny from 42.120.160.63
Deny from 42.120.160.62
Deny from 42.120.160.61
Deny from 42.120.160.60
Deny from 42.156.138.81
Deny from 42.156.138.80
Deny from 42.156.138.83
Deny from 42.156.138.82
Deny from 42.156.136.23
Deny from 42.156.137.53
Deny from 42.156.137.51
Deny from 42.156.137.57
Deny from 42.156.138.104
Deny from 42.156.139.5
Deny from 42.156.139.4
Deny from 42.120.161.23
Deny from 42.120.161.24
Deny from 42.156.136.107
Deny from 42.156.137.61
Deny from 42.156.136.50
Deny from 42.156.136.51
Deny from 42.156.136.53
Deny from 42.156.136.54
Deny from 42.156.136.55
Deny from 42.156.136.57
Deny from 42.156.139.42
Deny from 42.156.138.75
Deny from 42.156.139.40
Deny from 42.156.138.77
Deny from 42.156.138.74
Deny from 42.120.160.74
Deny from 42.120.160.75
Deny from 42.120.160.109
Deny from 42.120.160.77
Deny from 42.156.137.40
Deny from 42.156.138.95
Deny from 42.120.160.16
Deny from 42.120.160.17
Deny from 42.120.160.15
Deny from 42.120.160.13
Deny from 42.120.160.10
Deny from 42.120.160.28
Deny from 42.156.139.77
Deny from 42.120.161.57
Deny from 42.156.139.74
Deny from 42.120.161.51
Deny from 42.120.161.53
Deny from 42.120.161.18
Deny from 42.156.136.83
Deny from 42.156.136.27
Deny from 42.120.160.81
Deny from 42.120.160.80
Deny from 42.120.160.83
Deny from 42.120.160.82
Deny from 42.156.136.28
Deny from 42.120.161.63
Deny from 42.156.137.32
Deny from 42.156.137.37
Deny from 42.120.160.23
Deny from 42.156.136.82
Deny from 42.156.136.81
Deny from 42.156.136.80
Deny from 42.120.160.24
Deny from 42.156.136.4
Deny from 42.156.136.5
Deny from 42.156.136.2
Deny from 42.120.160.9
Deny from 42.120.160.4
Deny from 42.120.160.5
Deny from 42.120.160.2
Deny from 42.156.139.60
Deny from 42.156.139.61
Deny from 42.156.139.62
Deny from 42.156.139.63
Deny from 42.120.161.42
Deny from 42.120.161.40
Deny from 42.156.139.67
Deny from 42.156.138.20
Deny from 42.156.138.16
Deny from 42.156.138.17
Deny from 42.156.138.15
Deny from 42.156.136.37
Deny from 42.120.160.95
Deny from 42.156.136.32
Deny from 42.156.136.31
Deny from 42.156.136.24
Deny from 42.156.137.23
Deny from 42.156.137.20
Deny from 42.120.160.37
Deny from 42.120.160.32
Deny from 42.156.137.28
Deny from 42.156.139.82
Deny from 42.156.139.83
Deny from 42.156.139.80
Deny from 42.156.139.81
Deny from 42.120.161.4
Deny from 42.156.138.107
Deny from 42.156.138.24
Deny from 42.156.138.23
Deny from 42.120.161.74
Deny from 42.120.160.19
Deny from 42.156.138.28
Deny from 42.156.139.15
Deny from 42.156.139.17
Deny from 42.156.139.19
Deny from 42.156.139.18
Deny from 42.120.160.40
Deny from 42.120.160.42
Deny from 42.120.161.20
Deny from 42.156.138.19
Deny from 42.120.161.68
Deny from 42.156.137.2
Deny from 42.120.161.66
Deny from 42.120.161.67
Deny from 42.120.161.60
Deny from 42.120.161.61
Deny from 42.156.137.5
Deny from 42.156.137.4
Deny from 42.156.138.32
Deny from 42.156.138.68
Deny from 42.156.136.18
Deny from 42.156.136.19
Deny from 42.156.138.37
Deny from 42.156.136.15
Deny from 42.156.136.16
Deny from 42.156.136.17
Deny from 42.156.136.13
Deny from 42.156.139.28
Deny from 42.120.160.53
Deny from 42.120.160.50
Deny from 42.120.160.51
Deny from 42.120.161.5
Deny from 42.120.160.57
Deny from 42.120.160.55
Deny from 42.120.161.9
Deny from 42.120.161.19
Deny from 42.156.139.107
Deny from 42.156.139.22
Deny from 42.120.161.15
Deny from 42.120.161.17
Deny from 42.156.137.24
Deny from 42.120.161.83
Deny from 42.156.136.61
Deny from 42.156.136.60
Deny from 42.156.136.63
Deny from 42.156.136.62
Deny from 42.156.136.67
Deny from 42.156.137.107
Deny from 42.156.139.32
Deny from 42.156.139.31
Deny from 42.120.161.81
Deny from 42.156.139.37
Deny from 42.156.138.40
Deny from 42.156.137.19
Deny from 42.156.138.42
Deny from 42.156.137.17
Deny from 42.156.137.15
Deny from 42.156.137.13
Deny from 42.156.137.10
Deny from 42.120.161.55
Deny from 42.120.161.113
Deny from 42.120.161.77
Deny from 42.156.137.74
Deny from 42.156.137.77
Deny from 42.156.137.95
Deny from 42.156.138.2
Deny from 42.156.138.4
Deny from 42.156.138.5
Deny from 42.156.139.113
Deny from 42.120.160.20
Deny from 42.156.137.80
Deny from 42.156.137.81
Deny from 42.156.137.82
Deny from 42.156.137.83
Deny from 42.156.137.113
Deny from 42.156.139.71
Deny from 42.156.139.24
Deny from 42.156.139.20
Deny from 42.156.136.77
Deny from 42.156.136.74
Deny from 42.156.139.23
Deny from 42.120.161.82
Deny from 42.156.138.57
Deny from 42.120.161.80
Deny from 42.156.138.55
Deny from 42.156.138.53
Deny from 42.156.138.50
Deny from 42.156.138.51

给我留言

Copyright © 浩然东方 保留所有权利.   Theme  Ality 07032740

用户登录