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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yi-Hung Wei <yihung.wei@xxxxxxxxx> wrote:
> Currently, nf_conncount_count() counts the number of connections that
> matches key and inserts a conntrack 'tuple' associated with the key into
> the accounting data structure.  This patch supports another use case that
> only counts the number of connections associated with the key without
> providing a 'tuple'.  Therefore, proper changes are made on
> nf_conncount_count() to support the case where 'tuple' is NULL.

Normal use case is to combine this with another match to only lookup
start of a connection (-p tcp --syn in iptables, or -m conntrack
--ctstate NEW and the like).

Could you perhaps illustrate how this is going to be used?

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux