diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-27 08:32:34 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-05-27 08:32:34 +0200 |
commit | ff8c4aacff4e26b6cea43beeec184412369c5085 (patch) | |
tree | 294735892d841d6791124df761db97c1d443abd9 /templates-cfg/system/conntrack/timeout | |
parent | 9a220d534356b20587058e6f7f6455004b059c05 (diff) | |
download | vyatta-conntrack-ff8c4aacff4e26b6cea43beeec184412369c5085.tar.gz vyatta-conntrack-ff8c4aacff4e26b6cea43beeec184412369c5085.zip |
T3579: migrate sysctl settings to vyos-1x
Diffstat (limited to 'templates-cfg/system/conntrack/timeout')
15 files changed, 0 insertions, 159 deletions
diff --git a/templates-cfg/system/conntrack/timeout/icmp/node.def b/templates-cfg/system/conntrack/timeout/icmp/node.def deleted file mode 100644 index 952178e..0000000 --- a/templates-cfg/system/conntrack/timeout/icmp/node.def +++ /dev/null @@ -1,13 +0,0 @@ -type: u32 - -help: ICMP timeout in seconds - -default: 30 - -val_help: u32:1-21474836; ICMP 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_icmp_timeout=$VAR(@) - -delete: sudo sysctl -q -w net/netfilter/nf_conntrack_icmp_timeout=30 diff --git a/templates-cfg/system/conntrack/timeout/node.def b/templates-cfg/system/conntrack/timeout/node.def deleted file mode 100644 index 8696247..0000000 --- a/templates-cfg/system/conntrack/timeout/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Connection timeout options diff --git a/templates-cfg/system/conntrack/timeout/other/node.def b/templates-cfg/system/conntrack/timeout/other/node.def deleted file mode 100644 index a794bb7..0000000 --- a/templates-cfg/system/conntrack/timeout/other/node.def +++ /dev/null @@ -1,13 +0,0 @@ -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 diff --git a/templates-cfg/system/conntrack/timeout/tcp/close-wait/node.def b/templates-cfg/system/conntrack/timeout/tcp/close-wait/node.def deleted file mode 100644 index 0491b68..0000000 --- a/templates-cfg/system/conntrack/timeout/tcp/close-wait/node.def +++ /dev/null @@ -1,13 +0,0 @@ -type: u32 - -help: TCP CLOSE-WAIT timeout in seconds - -default: 60 - -val_help: u32:1-21474836; TCP CLOSE-WAIT 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_tcp_timeout_close_wait=$VAR(@) - -delete: sudo sysctl -q -w net/netfilter/nf_conntrack_tcp_timeout_close_wait=60 diff --git a/templates-cfg/system/conntrack/timeout/tcp/close/node.def b/templates-cfg/system/conntrack/timeout/tcp/close/node.def deleted file mode 100644 index 38317d5..0000000 --- a/templates-cfg/system/conntrack/timeout/tcp/close/node.def +++ /dev/null @@ -1,13 +0,0 @@ -type: u32 - -help: TCP CLOSE timeout in seconds - -default: 10 - -val_help: u32:1-21474836; TCP CLOSE 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_tcp_timeout_close=$VAR(@) - -delete: sudo sysctl -q -w net/netfilter/nf_conntrack_tcp_timeout_close=10 diff --git a/templates-cfg/system/conntrack/timeout/tcp/established/node.def b/templates-cfg/system/conntrack/timeout/tcp/established/node.def deleted file mode 100644 index 9e47f1e..0000000 --- a/templates-cfg/system/conntrack/timeout/tcp/established/node.def +++ /dev/null @@ -1,13 +0,0 @@ -type: u32 - -help: TCP ESTABLISHED timeout in seconds - -default: 432000 - -val_help: u32:1-21474836; TCP ESTABLISHED 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_tcp_timeout_established=$VAR(@) - -delete: sudo sysctl -q -w net/netfilter/nf_conntrack_tcp_timeout_established=432000 diff --git a/templates-cfg/system/conntrack/timeout/tcp/fin-wait/node.def b/templates-cfg/system/conntrack/timeout/tcp/fin-wait/node.def deleted file mode 100644 index 985a6a4..0000000 --- a/templates-cfg/system/conntrack/timeout/tcp/fin-wait/node.def +++ /dev/null @@ -1,13 +0,0 @@ -type: u32 - -help: TCP FIN-WAIT timeout in seconds - -default: 120 - -val_help: u32:1-21474836; TCP FIN-WAIT 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_tcp_timeout_fin_wait=$VAR(@) - -delete: sudo sysctl -q -w net/netfilter/nf_conntrack_tcp_timeout_fin_wait=120 diff --git a/templates-cfg/system/conntrack/timeout/tcp/last-ack/node.def b/templates-cfg/system/conntrack/timeout/tcp/last-ack/node.def deleted file mode 100644 index 3e07fe4..0000000 --- a/templates-cfg/system/conntrack/timeout/tcp/last-ack/node.def +++ /dev/null @@ -1,13 +0,0 @@ -type: u32 - -help: TCP LAST-ACK timeout in seconds - -default: 30 - -val_help: u32:1-21474836; TCP LAST-ACK 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_tcp_timeout_last_ack=$VAR(@) - -delete: sudo sysctl -q -w net/netfilter/nf_conntrack_tcp_timeout_last_ack=30 diff --git a/templates-cfg/system/conntrack/timeout/tcp/node.def b/templates-cfg/system/conntrack/timeout/tcp/node.def deleted file mode 100644 index fd1c34f..0000000 --- a/templates-cfg/system/conntrack/timeout/tcp/node.def +++ /dev/null @@ -1 +0,0 @@ -help: TCP connection timeout options diff --git a/templates-cfg/system/conntrack/timeout/tcp/syn-recv/node.def b/templates-cfg/system/conntrack/timeout/tcp/syn-recv/node.def deleted file mode 100644 index 50c5512..0000000 --- a/templates-cfg/system/conntrack/timeout/tcp/syn-recv/node.def +++ /dev/null @@ -1,13 +0,0 @@ -type: u32 - -help: TCP SYN-RECEIVED timeout in seconds - -default: 60 - -val_help: u32:1-21474836; TCP SYN-RECEIVED 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_tcp_timeout_syn_recv=$VAR(@) - -delete: sudo sysctl -q -w net/netfilter/nf_conntrack_tcp_timeout_syn_recv=60 diff --git a/templates-cfg/system/conntrack/timeout/tcp/syn-sent/node.def b/templates-cfg/system/conntrack/timeout/tcp/syn-sent/node.def deleted file mode 100644 index 5856ba7..0000000 --- a/templates-cfg/system/conntrack/timeout/tcp/syn-sent/node.def +++ /dev/null @@ -1,13 +0,0 @@ -type: u32 - -help: TCP SYN-SENT timeout in seconds - -default: 120 - -val_help: u32:1-21474836; TCP SYN-SENT 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_tcp_timeout_syn_sent=$VAR(@) - -delete: sudo sysctl -q -w net/netfilter/nf_conntrack_tcp_timeout_syn_sent=120 diff --git a/templates-cfg/system/conntrack/timeout/tcp/time-wait/node.def b/templates-cfg/system/conntrack/timeout/tcp/time-wait/node.def deleted file mode 100644 index f6bd1c8..0000000 --- a/templates-cfg/system/conntrack/timeout/tcp/time-wait/node.def +++ /dev/null @@ -1,13 +0,0 @@ -type: u32 - -help: TCP TIME-WAIT timeout in seconds - -default: 120 - -val_help: u32:1-21474836; TCP TIME-WAIT 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_tcp_timeout_time_wait=$VAR(@) - -delete: sudo sysctl -q -w net/netfilter/nf_conntrack_tcp_timeout_time_wait=120 diff --git a/templates-cfg/system/conntrack/timeout/udp/node.def b/templates-cfg/system/conntrack/timeout/udp/node.def deleted file mode 100644 index c6586b7..0000000 --- a/templates-cfg/system/conntrack/timeout/udp/node.def +++ /dev/null @@ -1 +0,0 @@ -help: UDP timeout diff --git a/templates-cfg/system/conntrack/timeout/udp/other/node.def b/templates-cfg/system/conntrack/timeout/udp/other/node.def deleted file mode 100644 index 0018f1c..0000000 --- a/templates-cfg/system/conntrack/timeout/udp/other/node.def +++ /dev/null @@ -1,13 +0,0 @@ -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 diff --git a/templates-cfg/system/conntrack/timeout/udp/stream/node.def b/templates-cfg/system/conntrack/timeout/udp/stream/node.def deleted file mode 100644 index d86e683..0000000 --- a/templates-cfg/system/conntrack/timeout/udp/stream/node.def +++ /dev/null @@ -1,13 +0,0 @@ -type: u32 - -help: UDP stream timeout in seconds - -default: 180 - -val_help: u32:1-21474836; UDP stream 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_stream=$VAR(@) - -delete: sudo sysctl -q -w net/netfilter/nf_conntrack_udp_timeout_stream=180 |