path: root/include
diff options
authorPablo Neira Ayuso <>2008-09-17 13:07:54 +0200
committerPablo Neira Ayuso <>2008-09-17 13:07:54 +0200
commitfc5c992b7010a733250633d55c4a6ab4932a7125 (patch)
tree5526a56d9307359243fc51b21af205c59d5f2891 /include
parentbfa809f6c809f30706a9718506e7a575d44052a6 (diff)
filter: check if kernel-space filtering is available
Check if the Linux kernel is >= 2.6.26, otherwise it does not support kernel-space filtering. This is not clean but we have no choice, the BSF infrastructure does not return ENOTSUPP for unsupported operations. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include')
1 files changed, 1 insertions, 0 deletions
diff --git a/include/conntrackd.h b/include/conntrackd.h
index 23f5306..c0bb4bb 100644
--- a/include/conntrackd.h
+++ b/include/conntrackd.h
@@ -90,6 +90,7 @@ struct ct_conf {
unsigned int resend_queue_size; /* FTFW protocol */
unsigned int window_size;
int cache_write_through;
+ int kernel_support_netlink_bsf;
struct {
char logfile[FILENAME_MAXLEN];
int syslog_facility;