File: libebt_limit.txlate

package info (click to toggle)
iptables 1.8.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,684 kB
  • sloc: ansic: 53,529; sh: 8,343; xml: 772; python: 755; makefile: 271
file content (8 lines) | stat: -rw-r--r-- 395 bytes parent folder | download | duplicates (3)
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'