Re: [PATCH nf-next v2 2/2] nf_conncount: Support count only use case

2018-03-11 Thread Pablo Neira Ayuso
On Sun, Mar 04, 2018 at 03:29:52PM -0800, Yi-Hung Wei wrote: > Currently, nf_conncount_count() counts the number of connections that > matches key and inserts a conntrack 'tuple' with the same key into the > accounting data structure. This patch supports another use case that only > counts the num

Re: [PATCH nf-next v2 2/2] nf_conncount: Support count only use case

2018-03-05 Thread Florian Westphal
Yi-Hung Wei wrote: > Currently, nf_conncount_count() counts the number of connections that > matches key and inserts a conntrack 'tuple' with the same key into the > accounting data structure. This patch supports another use case that only > counts the number of connections where 'tuple' is not p