netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] conntrack: Add missing tables dying and unconfirmed to usage output.
@ 2016-04-04  9:43 Mart Frauenlob
  2016-04-07  9:45 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 4+ messages in thread
From: Mart Frauenlob @ 2016-04-04  9:43 UTC (permalink / raw)
  To: netfilter-devel

Signed-off-by: Mart Frauenlob <mart.frauenlob@chello.at>
---
 src/conntrack.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/conntrack.c b/src/conntrack.c
index d40f23f..b384e07 100644
--- a/src/conntrack.c
+++ b/src/conntrack.c
@@ -520,7 +520,7 @@ static const char usage_commands[] =
 	"  -S\t\t\t\tShow statistics\n";
 
 static const char usage_tables[] =
-	"Tables: conntrack, expect\n";
+	"Tables: conntrack, expect, dying, unconfirmed\n";
 
 static const char usage_conntrack_parameters[] =
 	"Conntrack parameters and options:\n"
-- 
1.7.2.5


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

* Re: [PATCH] conntrack: Add missing tables dying and unconfirmed to usage output.
  2016-04-04  9:43 [PATCH] conntrack: Add missing tables dying and unconfirmed to usage output Mart Frauenlob
@ 2016-04-07  9:45 ` Pablo Neira Ayuso
  2016-04-07 17:30   ` Mart Frauenlob
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Neira Ayuso @ 2016-04-07  9:45 UTC (permalink / raw)
  To: Mart Frauenlob; +Cc: netfilter-devel

also applied.

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

* Re: [PATCH] conntrack: Add missing tables dying and unconfirmed to usage output.
  2016-04-07  9:45 ` Pablo Neira Ayuso
@ 2016-04-07 17:30   ` Mart Frauenlob
  2016-04-07 17:47     ` Pablo Neira Ayuso
  0 siblings, 1 reply; 4+ messages in thread
From: Mart Frauenlob @ 2016-04-07 17:30 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: netfilter-devel

On 07.04.2016 11:45, Pablo Neira Ayuso wrote:
> also applied.
>

I'd update the man page also, but I'm unsure about the wording.
Is there a description of the tables dying and unconfirmed somewhere in 
the source? Or maybe someone can help me out with a brief description?

Thanks,
Mart

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

* Re: [PATCH] conntrack: Add missing tables dying and unconfirmed to usage output.
  2016-04-07 17:30   ` Mart Frauenlob
@ 2016-04-07 17:47     ` Pablo Neira Ayuso
  0 siblings, 0 replies; 4+ messages in thread
From: Pablo Neira Ayuso @ 2016-04-07 17:47 UTC (permalink / raw)
  To: Mart Frauenlob; +Cc: netfilter-devel

On Thu, Apr 07, 2016 at 07:30:57PM +0200, Mart Frauenlob wrote:
> On 07.04.2016 11:45, Pablo Neira Ayuso wrote:
> >also applied.
> >
> 
> I'd update the man page also, but I'm unsure about the wording.
> Is there a description of the tables dying and unconfirmed
> somewhere in the source? Or maybe someone can help me out with a
> brief description?

Let me give it a try:

'dying' shows the conntrack entries that have expired and that have been
destroyed by the connection tracking itself or via the conntrack
utility.

'unconfirmed' shows new entries that are not yet inserted into the
conntrack table, these entries are attached to packets that are
traversing the stack, but that did not reach the confirmation point at
the postrouting hook.

These two new tables are basically only useful for debugging purposes.
Under normal operation, it is hard to see entries in any of these two
tables.

Well, to be preciuse, there are still two "normal cases" where you
could see entries there: 1) when packets that are enqueued via
nfqueue, or 2) when conntrackd runs in event reliable mode. But these
are kind of corner cases where it is valid to see entries in the
unconfirmed table.

Feel free to reword/improve/adapt it for the manpage.

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

end of thread, other threads:[~2016-04-07 17:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-04  9:43 [PATCH] conntrack: Add missing tables dying and unconfirmed to usage output Mart Frauenlob
2016-04-07  9:45 ` Pablo Neira Ayuso
2016-04-07 17:30   ` Mart Frauenlob
2016-04-07 17:47     ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).