summaryrefslogtreecommitdiff
path: root/templates/system/conntrack/expect-table-size/node.def
diff options
context:
space:
mode:
authorDaniil Baturin <daniil.baturin@vyatta.com>2011-11-04 04:46:00 +0700
committerDaniil Baturin <daniil.baturin@vyatta.com>2011-11-04 04:46:00 +0700
commit410023fd604af49434ed5039c99c7ee6abc99b20 (patch)
tree74e703e1d778db8ace3796c3d1fdf528b302abe7 /templates/system/conntrack/expect-table-size/node.def
downloadvyatta-conntrack-410023fd604af49434ed5039c99c7ee6abc99b20.tar.gz
vyatta-conntrack-410023fd604af49434ed5039c99c7ee6abc99b20.zip
Initial commit.debian/0.1
Diffstat (limited to 'templates/system/conntrack/expect-table-size/node.def')
-rw-r--r--templates/system/conntrack/expect-table-size/node.def32
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/system/conntrack/expect-table-size/node.def b/templates/system/conntrack/expect-table-size/node.def
new file mode 100644
index 0000000..f9f1ae5
--- /dev/null
+++ b/templates/system/conntrack/expect-table-size/node.def
@@ -0,0 +1,32 @@
+#
+# Config template for: system conntrack expect-table-size
+#
+# This is the table of expectations. Connection tracking expectations are
+# the mechanism used to "expect" RELATED connections to existing ones.
+# Expectations are generally used by "connection tracking helpers" (sometimes
+# called application level gateways [ALGs]) for more complex protocols such as
+# FTP, SIP, H.323.
+#
+# default value when no conntrack options set - 2048
+# default value when no conntrack options set - 4096
+#
+
+type: u32
+
+help: Size of connection tracking expect table
+
+default: 4096
+
+val_help: u32: 1-50000000; Number of entries allowed in connection tracking expect table
+
+syntax:expression: ($VAR(@) >= 1 && $VAR(@) <= 50000000) ; "Value must be between 1 and 50000000"
+
+update:
+ sudo sysctl -q -w net/netfilter/nf_conntrack_expect_max=$VAR(@)
+
+
+
+
+
+
+