blob: f23db53436fe1fb486691fde3d11634cc6756b18 (
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 counter
elements = { 1.1.1.1 limit rate 1/second counter packets 0 bytes 0, 4.4.4.4 limit rate 1/second counter packets 0 bytes 0,
5.5.5.5 limit rate 1/second counter packets 0 bytes 0 }
}
chain y {
type filter hook output priority filter; policy accept;
ip daddr @y
}
}
|