亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: 求助, 碰到cc攻擊了,請教下怎么能有效的解決 [打印本頁]

作者: a842543374    時間: 2013-08-03 09:00
標(biāo)題: 求助, 碰到cc攻擊了,請教下怎么能有效的解決
情況是這樣的:

有人在他網(wǎng)站頁面了添加了幾句類似下面的內(nèi)容,來指向我們站的動態(tài)網(wǎng)頁
<iframe id='ifrmTrace' scrolling='no' height='0' frameborder='0' width='0' src='http://www.abc.com/search.php'></iframe>
動態(tài)網(wǎng)頁大量訪問數(shù)據(jù)庫,把網(wǎng)站搞的很卡, 請教下,怎么才能有效的防止這種攻擊呢?  
作者: bigzhanghy    時間: 2013-08-03 23:30
用iptables
防ddos cc
iptables -A RH-Firewall-1-INPUT -p TCP ! --syn -m state --state NEW -j DROP
iptables -A RH-Firewall-1-INPUT -f -m limit --limit 100/s --limit-burst 100 -j ACCEPT
iptables -A RH-Firewall-1-INPUT -p tcp --syn -m limit --limit 10/s -j ACCEPT




歡迎光臨 Chinaunix (http://www.72891.cn/) Powered by Discuz! X3.2