summaryrefslogtreecommitdiffstats
path: root/extensions/libebt_limit.txlate
blob: b6af15d5c769213cab9e2b4b9975aec6037a1346 (plain)
1
2
3
4
5
6
7
8
ebtables-translate -A INPUT --limit 3/m --limit-burst 3
nft add rule bridge filter INPUT limit rate 3/minute burst 3 packets counter

ebtables-translate -A INPUT --limit 10/s --limit-burst 5
nft add rule bridge filter INPUT limit rate 10/second burst 5 packets counter

ebtables-translate -A INPUT --limit 10/s --limit-burst 0
nft add rule bridge filter INPUT limit rate 10/second counter