From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EDF89C433EF for ; Thu, 9 Dec 2021 10:26:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234357AbhLIKaD (ORCPT ); Thu, 9 Dec 2021 05:30:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234244AbhLIKaD (ORCPT ); Thu, 9 Dec 2021 05:30:03 -0500 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:12e:520::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C337C0617A1 for ; Thu, 9 Dec 2021 02:26:30 -0800 (PST) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1mvGdA-0005hY-9o; Thu, 09 Dec 2021 11:26:28 +0100 Date: Thu, 9 Dec 2021 11:26:28 +0100 From: Florian Westphal To: Vitaly Zuevsky Cc: netfilter-devel@vger.kernel.org Subject: Re: Fwd: conntrack -L does not show the full table Message-ID: <20211209102628.GF30918@breakpoint.cc> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Vitaly Zuevsky wrote: > Hi > > I have many conntrack entries: > # conntrack -C > 85380 > However, I can't see them all: > # conntrack -L > ... > conntrack v1.4.4 (conntrack-tools): 7315 flow entries have been shown. > > It is not in the man conntrack how to get the rest (85380-7315) > entries. Will it be a bug? Maybe. What happens if you do conntrack -C wc -l < /proc/net/nf_conntrack conntrack -C ?