blob: d80a4321194311fd04d5684240990b8f1a8bc8c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
table ip testt {
set ssh_meter {
type ipv4_addr
size 65535
flags dynamic
}
chain testc {
type filter hook input priority filter; policy accept;
tcp dport 22 ct state new add @ssh_meter { ip saddr limit rate 10/second burst 5 packets } accept
}
}
|