blob: df68fcdf89e6b621c73509ce10ca5213d562ec2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
table ip x {
set y {
type ipv4_addr
limit rate 1/second burst 5 packets counter
elements = { 1.1.1.1 limit rate 1/second burst 5 packets counter packets 0 bytes 0, 4.4.4.4 limit rate 1/second burst 5 packets counter packets 0 bytes 0,
5.5.5.5 limit rate 1/second burst 5 packets counter packets 0 bytes 0 }
}
chain y {
type filter hook output priority filter; policy accept;
ip daddr @y
}
}
|