commit | dba27ec1bc382014aa2ba46e96f421b5f6536dae | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Jul 31 14:10:22 2015 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Aug 07 11:49:49 2015 +0200 |
tree | 315ad68755c1dc85658effc89e56bc7235b1234e | |
parent | 09e4e42a00b99e94cfce27e63b06daca0c26e841 [diff] |
netfilter: nft_limit: convert to token-based limiting at nanosecond granularity Rework the limit expression to use a token-based limiting approach that refills the bucket gradually. The tokens are calculated at nanosecond granularity instead jiffies to improve precision. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>