level 1
大麦穗520
楼主
访问列表防御
1.创建访问列表
access-list 101 deny udp any any eq 1434
access-list 101 permit ip any any
2.匹配访问列表和数据包长度
class-map match-all slammer_worm
match access-group 101
match packet length min 404 max 404
3.丢弃所匹配的数据包
policy-map drop-slammer-worm
class slammer_worm
police 1000000 31250 31250 conform-action drop exceed-action drop violate-action drop
NBAR
1. Create custom protocol
ip nbar port-map custom-01 udp 1434
2. Create class-map
class-map match-all slammer_worm
match protocol custom-01
match packet length min 404 max 404
3. Use class-based policing to drop the matching packets at the ingress interface
policy-map drop-slammer-worm
class slammer_worm
police 1000000 31250 31250 conform-action drop exceed-action drop violate-action drop
NetFlow
Router# config t
Router# (config) interface serial 0/1
Router#(config-if) ip route-cache flow
Router#(config-if) exit
Router#(config) exit
Router#
输出统计表
Router# (config) ip flow-export 192.168.155.1 700
To view NetFlow statistics for port 1434:
Router# show ip cache flow | include 059A
CAR
Router# (config) access-list 150 deny udp any any eq 1434
2011年05月24日 02点05分
1
1.创建访问列表
access-list 101 deny udp any any eq 1434
access-list 101 permit ip any any
2.匹配访问列表和数据包长度
class-map match-all slammer_worm
match access-group 101
match packet length min 404 max 404
3.丢弃所匹配的数据包
policy-map drop-slammer-worm
class slammer_worm
police 1000000 31250 31250 conform-action drop exceed-action drop violate-action drop
NBAR
1. Create custom protocol
ip nbar port-map custom-01 udp 1434
2. Create class-map
class-map match-all slammer_worm
match protocol custom-01
match packet length min 404 max 404
3. Use class-based policing to drop the matching packets at the ingress interface
policy-map drop-slammer-worm
class slammer_worm
police 1000000 31250 31250 conform-action drop exceed-action drop violate-action drop
NetFlow
Router# config t
Router# (config) interface serial 0/1
Router#(config-if) ip route-cache flow
Router#(config-if) exit
Router#(config) exit
Router#
输出统计表
Router# (config) ip flow-export 192.168.155.1 700
To view NetFlow statistics for port 1434:
Router# show ip cache flow | include 059A
CAR
Router# (config) access-list 150 deny udp any any eq 1434