全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 9042|回复: 20
打印 上一主题 下一主题

[经验] Litespeed限制单IP的速度成功

[复制链接]
跳转到指定楼层
1#
发表于 2010-10-7 17:20:46 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
首先设置这里
Configuration - Server -Security 设置 Outbound Bandwidth (bytes/sec)

这个应该是全局速度限制..0为没限制..我设置为100000

然后到Virtual Host,找到你要限制网速的网站再设置Outbound Bandwidth 就OK..我设置为20.大家测试下 补充,这次设置正确了...50KB

http://vps.imcat.in/diveintohtml5.tar.gz

感谢 小夜 和 sunday

最后,我发现这几个选项是可以设置抗ddos的..求详解


Per Client Throttling     
Per Client Throttling ControlThese are connection control settings based on client IP. These settings help to mitigate DoS (Denied of Service) and DDoS (Distributed Denied of Service) attacks.

           Edit
Static Requests/second       
Static Requests/Second Specifies the maximum number of requests to static content coming from a single IP address can be processed in each second regardless of number of connections established. When the limit is reached, all future requests are tar-pitted until the next second. Request limit for dynamically generated content is independent of this limit. Per client request limit can be set at server or virtual host level where virtual host level setting overrides server level setting.

Syntax: Integer number

Tip(s):

    * [Security] Trusted IP or sub-network is not effected.

        0
Dynamic Requests/second       
Dynamic Requests/Second Specifies the maximum number of requests to dynamically generated content coming from a single IP address can be processed in each second regardless of number of connections established. When the limit is reached, all future requests to dynamic content are tar-pitted until next second. Request limit for static content is independent of this limit. Per client request limit can be set at server or virtual host level where virtual host level setting overrides server level setting.

Syntax: Integer number

Tip(s):

    * [Security] Trusted IP or sub-network is not effected

        0

[ 本帖最后由 Cat 于 2010-10-7 17:58 编辑 ]

评分

参与人数 2威望 +20 收起 理由
mojave + 10 不是广告,不是炫耀……
暗の世界 + 10 精品文章

查看全部评分

21#
发表于 2010-10-7 20:48:38 | 只看该作者
限制了 为什么?
20#
发表于 2010-10-7 20:14:54 | 只看该作者

回复 19# 的帖子

杯具
19#
发表于 2010-10-7 20:14:21 | 只看该作者
原帖由 mojave 于 2010-10-7 20:09 发表
猫哥免费版做站没事?可以放几个?

数量没限制,关键看连接数了,连接数最大就150个.
18#
发表于 2010-10-7 20:09:22 | 只看该作者

回复 8# 的帖子

猫哥免费版做站没事?可以放几个?
17#
发表于 2010-10-7 20:05:22 | 只看该作者
很不错.
16#
发表于 2010-10-7 20:00:19 | 只看该作者
等技术帝
15#
发表于 2010-10-7 18:02:25 | 只看该作者

回复 13# 的帖子

不错 我用浏览器还是迅雷都是50~60KB
14#
发表于 2010-10-7 17:59:50 | 只看该作者
呵呵,只要SERVER那面一开启。虚拟主机里面,可以各种限制。功能非常非常非常强大。
13#
 楼主| 发表于 2010-10-7 17:58:54 | 只看该作者
补充,这次设置正确了...50KB
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-31 12:42 , Processed in 0.069653 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表