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/udp/other/node.def | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 templates/system/conntrack/timeout/udp/other/node.def (limited to 'templates/system/conntrack/timeout/udp/other/node.def') diff --git a/templates/system/conntrack/timeout/udp/other/node.def b/templates/system/conntrack/timeout/udp/other/node.def new file mode 100644 index 00000000..0018f1c0 --- /dev/null +++ b/templates/system/conntrack/timeout/udp/other/node.def @@ -0,0 +1,13 @@ +type: u32 + +help: UDP generic timeout in seconds + +default: 30 + +val_help: u32:1-21474836; UDP generic 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_udp_timeout=$VAR(@) + +delete: sudo sysctl -q -w net/netfilter/nf_conntrack_udp_timeout=30 -- cgit v1.2.3