summaryrefslogtreecommitdiff
path: root/templates/firewall/conntrack-expect-table-size/node.def
blob: 1fb060c83587d2d63379e28d2ce6b6d1db3da553 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# Config template for: firewall 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 firewall is not set - 2048
# default value when firewall is set - 4096
#

type: u32

help: Size of connection tracking expect table

default: 4096

comp_help:Possible completions:
  <1 - 50000000>\tNumber of entries allowed in connection tracking expect table

syntax:expression: ($VAR(@) >= 1 && $VAR(@) <= 50000000) ; "Value must be between 1 and 50,000,000"

update:
	sudo sh -c "echo $VAR(@) > \
    	 		/proc/sys/net/netfilter/nf_conntrack_expect_max"