Re: [PATCH 2/2] netfilter/libxt_hashlimit: new feature/algorithm for xt_hashlimit

2017-09-08 Thread Pablo Neira Ayuso
On Fri, Aug 18, 2017 at 04:59:06PM -0400, Vishwanath Pai wrote: > This patch adds a new feature to hashlimit that allows matching on the > current packet/byte rate without rate limiting. This can be enabled > with a new flag --hashlimit-rate-match. The match returns true if the > current rate of

[PATCH 2/2] netfilter/libxt_hashlimit: new feature/algorithm for xt_hashlimit

2017-08-18 Thread Vishwanath Pai
This patch adds a new feature to hashlimit that allows matching on the current packet/byte rate without rate limiting. This can be enabled with a new flag --hashlimit-rate-match. The match returns true if the current rate of packets is above/below the user specified value. The main difference