All of lore.kernel.org
 help / color / mirror / Atom feed
* Fwd: conntrack -L does not show the full table
       [not found] <CA+PiBLyAYMBw-TgdaqVZ_a2agbRcdKnpZjS9OvP02oPAGPb=+Q@mail.gmail.com>
@ 2021-12-08 13:47 ` Vitaly Zuevsky
  2021-12-09 10:26   ` Florian Westphal
  0 siblings, 1 reply; 3+ messages in thread
From: Vitaly Zuevsky @ 2021-12-08 13:47 UTC (permalink / raw)
  To: netfilter-devel

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?

Thank you.
Vitaly Zuevsky

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fwd: conntrack -L does not show the full table
  2021-12-08 13:47 ` Fwd: conntrack -L does not show the full table Vitaly Zuevsky
@ 2021-12-09 10:26   ` Florian Westphal
  2021-12-09 16:05     ` Vitaly Zuevsky
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Westphal @ 2021-12-09 10:26 UTC (permalink / raw)
  To: Vitaly Zuevsky; +Cc: netfilter-devel

Vitaly Zuevsky <vzuevsky@ns1.com> 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
?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fwd: conntrack -L does not show the full table
  2021-12-09 10:26   ` Florian Westphal
@ 2021-12-09 16:05     ` Vitaly Zuevsky
  0 siblings, 0 replies; 3+ messages in thread
From: Vitaly Zuevsky @ 2021-12-09 16:05 UTC (permalink / raw)
  To: Florian Westphal; +Cc: netfilter-devel

> Vitaly Zuevsky <vzuevsky@ns1.com> 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
> ?

File /proc/net/nf_conntrack does not exist. Default in latest kernels
is to not expose conntrack table via /proc
5.4.0-67-generic #75~18.04.1-Ubuntu SMP

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-09 16:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CA+PiBLyAYMBw-TgdaqVZ_a2agbRcdKnpZjS9OvP02oPAGPb=+Q@mail.gmail.com>
2021-12-08 13:47 ` Fwd: conntrack -L does not show the full table Vitaly Zuevsky
2021-12-09 10:26   ` Florian Westphal
2021-12-09 16:05     ` Vitaly Zuevsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.