blob: 8521e3f7c176eab77b88e9e2c22344b10fa220bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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
}
}
|