傻子一个

一路走来~~

 

Apache过滤掉bt请求


[Mon Apr 14 12:05:52 2008] [error] [client 218.79.136.89] request failed: error reading the headers
[Mon Apr 14 12:05:56 2008] [error] [client 58.246.236.71] Invalid URI
in request
z"x80"xe5"xe9"t"xd0"xe5"xc3@_:"xdbp"xc9~p;"x18"xa4"xa5"x02"x04"xbc2"xfc"xe9"x1c"xad"xb4"xeb3"xc3L"xf3*G
[Mon Apr 14 12:05:57 2008] [error] [client 58.51.89.149] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:01 2008] [error] [client 202.107.203.34] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:04 2008] [error] [client 58.51.89.149] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:11 2008] [error] [client 202.107.203.34] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:12 2008] [error] [client 218.80.159.66] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:15 2008] [error] [client 58.51.89.149] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:24 2008] [error] [client 121.229.58.185] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:26 2008] [error] [client 58.51.89.149] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:27 2008] [error] [client 202.107.203.34] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:32 2008] [error] [client 121.63.22.212] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:33 2008] [error] [client 116.7.41.4] request failed: error reading the headers
[Mon Apr 14 12:06:34 2008] [error] [client 220.173.34.46] request failed: error reading the headers
[Mon Apr 14 12:06:37 2008] [error] [client 58.51.89.149] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:42 2008] [error] [client 218.78.227.87] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:43 2008] [error] [client 202.107.203.34] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:48 2008] [error] [client 218.80.159.66] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:48 2008] [error] [client 218.78.227.87] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:49 2008] [error] [client 58.51.89.149] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:54 2008] [error] [client 218.78.227.87] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:55 2008] [error] [client 61.49.255.135] request failed: error reading the headers
[Mon Apr 14 12:06:57 2008] [error] [client 58.246.236.71] request failed: error reading the headers
[Mon Apr 14 12:06:58 2008] [error] [client 121.41.58.86] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:06:59 2008] [error] [client 218.78.227.87] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:07:07 2008] [error] [client 218.79.136.89] request failed: error reading the headers
[Mon Apr 14 12:07:09 2008] [error] [client 121.41.58.86] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:07:10 2008] [error] [client 218.78.227.87] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:07:10 2008] [error] [client 121.229.58.185] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:07:10 2008] [error] [client 58.51.89.149] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:07:19 2008] [error] [client 218.80.159.66] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:07:20 2008] [error] [client 218.78.227.87] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:07:26 2008] [error] [client 58.51.89.149] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:07:30 2008] [error] [client 121.41.58.86] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:07:40 2008] [error] [client 222.242.196.218] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:07:41 2008] [error] [client 218.80.159.66] Invalid URI in request "x13BitTorrent protocolex
[Mon Apr 14 12:07:43 2008] [error] [client 58.51.89.149] Invalid URI in request "x13BitTorrent protocolex
如上,这种BT行为该如何处理?
防火墙拦截?

解决:
SetEnvIfNoCase Request_URI "BitTorrent" BT

然后在对应 VH 的 Directory 容器的 Deny 里加

Deny from env=BT

意思就是httpd.conf里面用SetEnvIfNoCase Request_URI定义"BitTorrent" 为BT,然后在对应的虚拟机的Directory 选项中加上Deny from env=BT

posted on 2009-03-03 12:57 老文 阅读(1481) 评论(0)  编辑  收藏 所属分类: web服务器配置


只有注册用户登录后才能发表评论。


网站导航:
 

导航

常用链接

留言簿(2)

随笔分类(29)

收藏夹(1)

My Work

学习文章

软件使用

最新随笔

最新评论