[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aIJQqacIH7jAzoEa@strlen.de>
Date: Thu, 24 Jul 2025 17:26:33 +0200
From: Florian Westphal <fw@...len.de>
To: Pablo Neira Ayuso <pablo@...filter.org>
Cc: lvxiafei <xiafei_xupt@....com>, coreteam@...filter.org,
davem@...emloft.net, edumazet@...gle.com, horms@...nel.org,
kadlec@...filter.org, kuba@...nel.org, linux-kernel@...r.kernel.org,
lvxiafei@...setime.com, netdev@...r.kernel.org,
netfilter-devel@...r.kernel.org, pabeni@...hat.com
Subject: Re: [PATCH V2] netfilter: nf_conntrack: table full detailed log
Pablo Neira Ayuso <pablo@...filter.org> wrote:
> > + net_warn_ratelimited("nf_conntrack: table full in netns %u, dropping packet\n",
> > + net->ns.inum);
>
> This is slightly better, but it still does not say what packet has
> been dropped, right?
>
> Probably a similar approach to nf_tcp_log_invalid() would better here.
>
> Thus, nf_log infrastructure could be used as logging hub.
>
> Logging the packet probably provides more context information than
> simply logging the netns inode number.
Hmm, the conntrack table is full, and packet creates a new flow.
What would logging the packet tell us what the printk message doesn't?
Powered by blists - more mailing lists