From a7219d871d43893550dddb37a05b75959a778dca Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Tue, 1 Nov 2011 00:51:16 +0700 Subject: Rename "generic" timeout options to "other". --- templates/system/conntrack/timeout/other/node.def | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 templates/system/conntrack/timeout/other/node.def (limited to 'templates/system/conntrack/timeout/other') diff --git a/templates/system/conntrack/timeout/other/node.def b/templates/system/conntrack/timeout/other/node.def new file mode 100644 index 00000000..a794bb76 --- /dev/null +++ b/templates/system/conntrack/timeout/other/node.def @@ -0,0 +1,13 @@ +type: u32 + +help: Generic connection timeout in seconds + +default: 600 + +val_help: u32:1-21474836; Generic connection timeout in seconds + +syntax:expression: ($VAR(@) >= 1 && $VAR(@) <= 21474836) ; "Value must be between 1 and 21474836" + +update: sudo sysctl -q -w net/netfilter/nf_conntrack_generic_timeout=$VAR(@) + +delete: sudo sysctl -q -w net/netfilter/nf_conntrack_generic_timeout=600 -- cgit v1.2.3