免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1978 | 回复: 5
打印 上一主题 下一主题

[Web] 这个Apache的 module据说可以防DOS。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-02-22 12:36 |只看该作者 |倒序浏览
有冇人愿意试一下,把效果说一下。

http://www.networkdweebs.com/stuff/mod_dosevasive.tar.gz


Apache DoS Evasive Maneuvers Module [v1.4-Stable]

A module for Apache 1.3 giving Apache the ability to fend off request-based DoS attacks conserving your system resources and bandwidth. This new tool maintains an internal table of IP addresses and URLs and will deny repeated requests for the same URL from the same IP address, blacklisting the address for 10-seconds per extraneous request. This is by no means designed to be a complete solution. In the event of a heavy distributed DoS attack, this module will not fend off attacks consuming all available bandwidth or more resources than are available to send 403's, but is very successful in typical flood attacks or cgi flood attacks.

This tool wasn't designed as an end-all be-all solution, it was designed as a starting point for cutting off extraneous requests (so you don't have a few thousand CGIs running on your server, or a few thousand page sends) and to provide a means of detection. You could easily take this code and have it talk to your firewalls or border routers to shut down the ip addresses that are being blacklisted. If you don't have decentralized content or at the very least a distributed design, you're going to be DoS'd regardless, but this tool can at least make it take more power to do it.

论坛徽章:
0
2 [报告]
发表于 2003-02-22 14:27 |只看该作者

这个Apache的 module据说可以防DOS。

Apache DoS Evasive Maneuvers Module 是一款mod_access的替代软件,可以对抗DOS攻击。该软件可以快速拒绝来自相同地址对同一URL的重复请求,这是通过内部一张各子进程的哈希表查询来实现的。

论坛徽章:
0
3 [报告]
发表于 2003-03-18 17:06 |只看该作者

这个Apache的 module据说可以防DOS。

那怎么安装呢?》》》

论坛徽章:
0
4 [报告]
发表于 2003-03-18 17:18 |只看该作者

这个Apache的 module据说可以防DOS。

tar zxvf mod_dosevasive.tar.gz
cd dosevasive/
/usr/local/apache/bin/apxs -i -c  mod_dosevasive.c
vi /usr/local/apache/conf/httpd.conf
加入
LoadModule dosevasive_module  libexec/mod_dosevasive.so
AddModule mod_dosevasive.c
<IfModule mod_dosevasive.c>;
    DOSHashTableSize    3097
    DOSPageCount        2
    DOSSiteCount        50
    DOSPageInterval     1
    DOSSiteInterval     1
    DOSBlockingPeriod   10
</IfModule>;
重起apache

论坛徽章:
0
5 [报告]
发表于 2003-03-21 10:17 |只看该作者

这个Apache的 module据说可以防DOS。

老大,现在有多少不改ip,mac的攻击呢?这东东有用么?要是固定的ip攻击,随便用个什么东西都能解决了。

论坛徽章:
0
6 [报告]
发表于 2003-06-09 14:12 |只看该作者

这个Apache的 module据说可以防DOS。

[quote]原帖由 "古"]老大,现在有多少不改ip,mac的攻击呢?这东东有用么?要是固定的ip攻击,随便用个什么东西都能解决了。[/quote 发表:
     

对付不固定的IP有何对策?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP