# These ACLs are to block virus attack (这些访问控制列表要堵塞病毒攻击) # You need to make sure all your expected network service are not blocked by these ACLs (你需要确定你的需要的网络服务中不备访问控制列表要堵塞) # These ACLs' precedence are within 1001 ~ 1500(访问控制列表优先在1001-1500) SQL Slammer/MS-SQL Server Worm(病毒) create access-list udp1434-d-de udp destination any ip-port 1434 source any ip-port any deny ports any precedence 1001(创建数据列表为udp1434-d-de,凡是来源于1434端口的数据包都优先于1001) #W32/Blaster worm (病毒) create access-list udp69-d-de udp destination any ip-port 69 source any ip-port any deny ports any precedence 1011(创建数据列表为udp69-d-de udp,凡是来源于69端口的数据包都优先于1011) create access-list udp135-d-de udp destination any ip-port 135 source any ip-port any deny ports any precedence 1013(创建数据列表为udp135-d-de udp,凡是来源于135端口的数据包都优先于1013) 端口隔离: 使用交换机system-guard检测功能、设置当前最大可检测染毒主机的数目、设置每次地址学习相关参数, system-guard enable ( 使能system-guard检测功能,在使用防火墙功能前,请确保端口的优先级配置处于缺省状态,即:端口的优先级为0,且交换机对于报文中的cos优先级不信任。) system-guard detect-maxnum 5 (设置当前最大可检测的染毒主机数目5台) system-guard detect-threshold IP-record-threshold record-times-threshold isolate-time (该命令可以设置地址学习数目的上限、重复检测次数的上限和隔离时间。) 举例来说,在设置了地址学习数目的上限为50、重复检测次数的上限为3、隔离时间为5后,系统如果连续3次检测到来自源IP的地址每次IP地址学习数目都超过了50,系统就认为受到了攻击,将此源IP检测出来,在5倍的老化周期内不学习来自此源IP的报文中的目的IP地址。