diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-08-03 15:56:27 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-09-23 12:16:53 +0200 |
commit | 174f4a120ec7644531728621cfab5ce7fdb481c3 (patch) | |
tree | 4b62dd210a739c7ac067044e63b7d34f6b4901bd /src/scanner.l | |
parent | 6615676d825e02d271fe7a9ca78a77ac3773ab93 (diff) |
src: add burst parameter to limit
... limit rate 1024 mbytes/second burst 10240 bytes
... limit rate 1/second burst 3 packets
This parameter is optional.
You need a Linux kernel >= 4.3-rc1.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l index 2d9871d0..bd8e5726 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -309,6 +309,7 @@ addrstring ({macaddr}|{ip4addr}|{ip6addr}) "limit" { return LIMIT; } "rate" { return RATE; } +"burst" { return BURST; } "nanosecond" { return NANOSECOND; } "microsecond" { return MICROSECOND; } |