diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-10-26 20:48:55 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-10-26 20:48:55 +0100 |
commit | c9fc2e7843e56eec84d92b5baa208afdb5b81d3c (patch) | |
tree | cbb815e7d2d3a715eaeb81d10866c5049df757f7 /include/conntrackd.h | |
parent | 367bd830bb88393a639f6f41c3f390f6dd3e120f (diff) | |
download | conntrack-tools-c9fc2e7843e56eec84d92b5baa208afdb5b81d3c.tar.gz conntrack-tools-c9fc2e7843e56eec84d92b5baa208afdb5b81d3c.zip |
ftfw: add option `-v' to output debugging information (if any)
This patch introduces the option `-v' to show useful debugging
information, if any. As for now, only sync-ftfw.c make use of it to
display the content and the length of the resent list/queue. This
is useful to check for message leaks. Other working modes or
synchronization approaches may use it to display debugging
information in the future.
This patch removes _SIGNAL_DEBUG in sync-ftfw.c that was used for
for the same purpose. However, it could only be enabled at compilation
time and it uses signalling instead of the standard UNIX socket
interface that conntrackd provides.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/conntrackd.h')
-rw-r--r-- | include/conntrackd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/conntrackd.h b/include/conntrackd.h index c0bb4bb..448d594 100644 --- a/include/conntrackd.h +++ b/include/conntrackd.h @@ -25,6 +25,7 @@ #define DUMP_INT_XML 24 /* dump internal cache in XML */ #define DUMP_EXT_XML 25 /* dump external cache in XML */ #define RESET_TIMERS 26 /* reset kernel timers */ +#define DEBUG_INFO 27 /* show debug info (if any) */ #define DEFAULT_CONFIGFILE "/etc/conntrackd/conntrackd.conf" #define DEFAULT_LOCKFILE "/var/lock/conntrackd.lock" |