diff options
authorAdrian Bridgett <>2012-03-20 13:02:54 +0100
committerPablo Neira Ayuso <>2012-03-20 13:02:54 +0100
commit36da3b40b821452d2d4607928ce54ced707541df (patch)
parent1de3034f8c4f597cbe4be35b2f84e2848e46e64e (diff)
src: manpage and help display improvements
This patch adds missing information regarding several conntrackd options to the manpage and the help info that is displayed in the command line. Signed-off-by: Pablo Neira Ayuso <>
3 files changed, 14 insertions, 3 deletions
diff --git a/conntrack.8 b/conntrack.8
index 6525123..a411fd4 100644
--- a/conntrack.8
+++ b/conntrack.8
@@ -6,17 +6,17 @@
conntrack \- command line interface for netfilter connection tracking
-.BR "conntrack -L [table] [-z]"
+.BR "conntrack -L [table] [options] [-z]"
.BR "conntrack -G [table] parameters"
-.BR "conntrack -D [table] paramaters"
+.BR "conntrack -D [table] parameters"
.BR "conntrack -I [table] parameters"
.BR "conntrack -U [table] parameters"
-.BR "conntrack -E [table] parameters"
+.BR "conntrack -E [table] [options]"
.BR "conntrack -F [table]"
diff --git a/conntrackd.8 b/conntrackd.8
index f07ad7a..131a7ac 100644
--- a/conntrackd.8
+++ b/conntrackd.8
@@ -41,10 +41,16 @@ Flush the internal and/or external cache
Flush the kernel conntrack table (if you use a Linux kernel >= 2.6.29, this
option will not flush your internal and external cache).
+.BI "-c "
+Commit external cache to conntrack table.
.BI "-B "
Force a bulk send to other replica firewalls. With this command, you will
ask conntrackd to send the state-entries that it owns to others.
+.BI "-n "
+Request resync with other node (only FT-FW and NOTRACK modes).
.BI "-k "
Kill the daemon
@@ -69,6 +75,10 @@ Display version information.
.BI "-h "
Display help information.
+.BI "-C config file"
+Configuration file path.
The exit code is 0 for correct function. Errors cause an exit code of 1.
diff --git a/src/main.c b/src/main.c
index 0850a29..f7803fd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -49,6 +49,7 @@ static const char usage_client_commands[] =
"dump statistics\n"
" -R [ct|expect], resync with kernel conntrack table\n"
" -n, request resync with other node (only FT-FW and NOTRACK modes)\n"
+ " -B, force a bulk send to other replica firewalls\n"
" -x, dump cache in XML format (requires -i or -e)\n"
" -t, reset the kernel timeout (see PurgeTimeout clause)\n"
" -v, display conntrackd version\n"