Karel Rericha wrote: > 2008/10/22 Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>: > >> When you mean "delete all marks", you refer to resetting the connection >> marks to zero? This command should be enough. > > Yes, resetting all marks to zero, sry for not being clear enough. Never mind. >> # conntrack -U -m 0 This is only supported by conntrack-tools >= 0.9.7 as you have noticed. > Works great from conntrack-tools 0.9.7 (0.9.6 complains about missing > parameters), "man conntrack" does not show -U command and thats why I > missed it. "conntrack --help" shows much more information. I have committed the following patch. Thank you for the report. -- "Los honestos son inadaptados sociales" -- Les Luthiers
diff --git a/conntrack.8 b/conntrack.8 index bfb2de0..cbf8434 100644 --- a/conntrack.8 +++ b/conntrack.8 @@ -1,4 +1,4 @@ -.TH CONNTRACK 8 "May 6, 2007" "" "" +.TH CONNTRACK 8 "Oct 22, 2008" "" "" .\" Man page written by Harald Welte <laforge@xxxxxxxxxxxxx (Jun 2005) .\" Maintained by Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx (May 2007) @@ -14,6 +14,8 @@ conntrack \- command line interface for netfilter connection tracking .br .BR "conntrack -I [table] parameters" .br +.BR "conntrack -U [table] parameters" +.br .BR "conntrack -E [table] parameters" .br .BR "conntrack -F [table]" @@ -62,6 +64,9 @@ Delete an entry from the given table. .BI "-I, --create " Create a new entry from the given table. .TP +.BI "-U, --update " +Update an entry from the given table. +.TP .BI "-E, --event " Display a real-time event log. .TP