[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 6 May 2016 00:36:32 +0200
From: Florian Westphal <fw@...len.de>
To: Brian Haley <brian.haley@....com>
Cc: Florian Westphal <fw@...len.de>, netfilter-devel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH nf-next 0/9] netfilter: remove per-netns conntrack
tables, part 1
Brian Haley <brian.haley@....com> wrote:
> >>I've seen cases where certain users are attacked, where the CT table is
> >>filled such that we start seeing "nf_conntrack: table full, dropping packet"
> >>messages (as expected). But other users continue to function normally,
> >>unaffected. Is this still the case - each netns has some limit it can't
> >>exceed?
> >
> >The limit is global, the accounting per namespace.
>
> So this is a change from existing.
No, see __nf_conntrack_alloc():
if (nf_conntrack_max &&
unlikely(atomic_read(&net->ct.count) > nf_conntrack_max)) {
...
ct.count is whatever number of entries the namespace has allocated,
so max number of possible conntracks is always infinite if number
of net namespaces is unlimited (barring memory constraints, of course).
I did not change this.
Powered by blists - more mailing lists