summaryrefslogtreecommitdiffstats
path: root/src/read_config_lex.l
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-09-10 13:17:24 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-09-10 13:24:59 +0200
commitfebb3cceac1889fb6558b8ef40ac733072fdcd47 (patch)
tree30c4174e6ff8a83826d17928d0c9409d41dd4859 /src/read_config_lex.l
parent46faeab56cf4117f41cb6f1f1c40a9c18a81372f (diff)
conntrackd: cthelper: add QueueLen option
This patch adds the QueueLen option, that allows you to increase the maximum number of packets waiting in the nfnetlink_queue to receive a verdict from userspace. Rising the default value (1024) is useful to avoid hitting the following error message: "nf_queue: full at X entries, dropping packets(s)". Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/read_config_lex.l')
-rw-r--r--src/read_config_lex.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/read_config_lex.l b/src/read_config_lex.l
index 31fa32e..bec2d81 100644
--- a/src/read_config_lex.l
+++ b/src/read_config_lex.l
@@ -144,6 +144,7 @@ notrack [N|n][O|o][T|t][R|r][A|a][C|c][K|k]
"ErrorQueueLength" { return T_ERROR_QUEUE_LENGTH; }
"Helper" { return T_HELPER; }
"QueueNum" { return T_HELPER_QUEUE_NUM; }
+"QueueLen" { return T_HELPER_QUEUE_LEN; }
"Policy" { return T_HELPER_POLICY; }
"ExpectMax" { return T_HELPER_EXPECT_MAX; }
"ExpectTimeout" { return T_HELPER_EXPECT_TIMEOUT; }