blob: 3b4f5a11a96ee91c3df7e6b2d09eae11b734161f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
table ip t {
set s {
type ipv4_addr
size 65535
flags dynamic
counter
elements = { 1.1.1.1 counter packets 1 bytes 11 }
}
chain c {
counter packets 0 bytes 0 update @s { ip saddr } accept
counter packets 0 bytes 0 drop
}
chain c2 {
counter packets 0 bytes 0 accept
counter packets 0 bytes 0 drop
}
}
table inet t {
chain c {
counter packets 0 bytes 0 accept
counter packets 0 bytes 0 drop
}
}
table ip t2 {
chain c2 {
counter packets 0 bytes 0 accept
counter packets 0 bytes 0 drop
}
}
|