Subject: Re: CONFIG_NF_CONNTRACK_PROCFS

From: Florian Westphal <[email-masked]>
Date: Sun, 25 Jan 2015 12:22:09 +0100

Oleg <[email-masked]> wrote:
> net/netfilter/nf_conntrack procfs file is marked as obsolete in the recent
> kernels. What's wrong with it? Or it's simply a new fashion to replace
> simple file interface with anything else?

proc has several drawbacks vs. ctnetlink:
 - not extensible
 - doesn't have ability to query for particular items
 - no add/delete support
 - no event notification (e.g. conntrack -E)