设为首页 | 收藏本站
首页>IT学院>操作系统>正文
分布式拒绝攻击(DDOS)软件tfn2k攻防
WWW.DBIT.CN 2006-8-3 16:43:39 热度:
 

[-f hostlist] Filename containing a list of hosts with TFN servers to contact
[-h hostname] To contact only a single host running a TFN server
[-i target string] Contains options/targets separated by ‘@’, see below
[-p port] A TCP destination port can be specified for SYN floods
<-c command ID> 0 - Halt all current floods on server(s) immediately
1 - Change IP antispoof-level (evade rfc2267 filtering)
usage: -i 0 (fully spoofed) to -i 3 (/24 host bytes spoofed)
2 - Change Packet size, usage: -i
3 - Bind root shell to a port, usage: -i
4 - UDP flood, usage: -i victim@victim2@victim3@…
5 - TCP/SYN flood, usage: -i victim@… [-p destination port]
6 - ICMP/PING flood, usage: -i victim@…
7 - ICMP/SMURF flood, usage: -i victim@broadcast@broadcast2@…
8 - MIX flood (UDP/TCP/ICMP interchanged), usage: -i victim@…
9 - TARGA3 flood (IP stack penetration), usage: -i victim@…
10 - Blindly execute remote shell command, usage -i command

四.防守办法
就如同网上所有介绍DDOS的文章一样,DDOS防不胜防,我试着用防火墙过滤掉所有icmp包,来保护我的主机,但所实现的,只是我的主机晚

点儿崩溃而已.哎~,别指望我来防DDOS,要能防,我也不用不睡觉啊:(
  还是那句老话,我们能做的,就是尽量让我们的主机不成为别人攻击的代理,并对intranet 内出行的包进行严格限制,尽量不去危害别人

,只要大家都这样做,我们的网络环境才可以安全一些,至少,我可以安心睡几天觉.

附上我防火墙的一部分.主要是针对ICMP/PING的,不过用处不太大:(

/sbin/iptables -P INPUT DROP
/sbin/iptables -A INPUT -i lo -p all -j ACCEPT
/sbin/iptables -A INPUT -i eth1 -p icmp -j ACCEPT
/sbin/iptables -A INPUT -p icmp –icmp-type 8 -j DROP
/sbin/iptables -A INPUT -s 127.0.0.2 -i lo -j ACCEPT
/sbin/iptables -A INPUT -s 127.0.0.2 -i eth0 -j DROP
/sbin/iptables -A INPUT -s $LAN_NET/24 -i eth0 -j DROP
/sbin/iptables -A INPUT -s 172.16.0.0/12 -i eth0 -j DROP
/sbin/iptables -A INPUT -s 10.0.0.0/8 -i eth0 -j DROP
/sbin/iptables -A INPUT -i eth0 -m limit –limit 1/sec –limit-burst 5 -j ACCEPT/sbin/iptables -A INPUT -i eth0 -p udp -m

state –state NEW -j REJECT
/sbin/iptables -A INPUT -p tcp –dport 22 -j ACCEPT
/sbin/iptables -A INPUT -p tcp –dport 80 -j ACCEPT
/sbin/iptables -A INPUT -p tcp -i eth1 –dport 53 -j ACCEPT
/sbin/iptables -A INPUT -p udp -i eth1 –dport 53 -j ACCEPT
/sbin/iptables -A INPUT -p tcp -i eth0 -m state –state ESTABLISHED,RELATED -m tcp –dport 1024: -j ACCEPT
/sbin/iptables -A INPUT -p udp -i eth0 -m state –state ESTABLISHED,RELATED -m udp –dport 1024: -j ACCEPT
/sbin/iptables -A INPUT -p icmp –icmp-type echo-request -j LOG –log-level 2
/sbin/iptables -A INPUT -i eth0 -p icmp –icmp-type echo-request -j DROP
/sbin/iptables -A INPUT -p tcp -m multiport –destination-port 135,137,138,139 -j LOG
/sbin/iptables -A INPUT -p udp -m multiport –destination-port 135,137,138,139
-j LOG
/sbin/iptables -A INPUT -i eth0 -p tcp –dport 2000 -j ACCEPT
/sbin/iptables -A INPUT -i eth0 -p tcp –dport 2001 -j ACCEPT
/sbin/iptables -A INPUT -p tcp -i eth1 -m state –state ESTABLISHED,RELATED -m tcp –dport 1024: -j ACCEPT

本新闻共4页,当前在第4页  1  2  3  4  

 
上一篇:使用 Linux LiveCD
下一篇:用日志系统保护Linux安全
打印】【关闭
  相关文章:
·Windows系列操作系统密码的恢复方·让系统更快更稳定九大技巧
·三则妙招 谨防系统桌面“面目全非·用活你的F1~F12,一点小技巧
·在Linux操作系统中实现内部进程通·Windows XP 操作系统启动过程概述
·卸载双系统中的一个系统技巧·微软新操作系统明年发布 将刺激台
·依据操作系统声音判断故障全攻略·12招让你充分管理Windows操作系统
·菜鸟也玩重装 教你瞬间还原系统·轻松替换系统正在使用的文件!
·让系统更快更稳定九技巧·操作系统的一场革命 Linux风雨15
·系统故障排除,引导失败的解决办法·多项设置让硬盘抢抓“休息”时机
☆联姻学院☆

保养电脑的26个窍门
文件夹删除不掉怎么办?
教你如何用手工迅速剿灭QQ广告
“熊猫烧香”病毒的病毒描述和
在Excel中只打印图表以外区域
Excel中只选中包含文本的单元
Windows XP操作系统的几个实用
用XP系统自带网络诊断程序解决
风雨雷电→自然现象动画实战技
Flash遮罩特效之百叶窗效果
十二个Dreamweaver鲜为人知的
如何用 Dreamweaver 批量做we
JavaScript的系统函数学习
Java之父:关于Java我也有遗憾
排除网上邻居使用4大常见麻烦
解除上网限制IP和MAC捆绑的破