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
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值