aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2011-09-09 04:07:43 -0400
committerPablo Neira Ayuso <pablo@netfilter.org>2011-11-01 04:19:25 -0400
commit7e777dd43d55a78c41c3498afaf3ef7edf157120 (patch)
tree9bb6e9ac6ddaf208912bb33e78e98408ab290645 /Documentation/networking
parent52669dfa8312b7f63b963df6d01dc5513398f4c4 (diff)
ipvs: Add documentation for new sysctl entries
Add missing documentation for conntrack, snat_reroute and sync_version. Also fix up a typo, IPVS_DEBUG should be IP_VS_DEBUG. Acked-by: Julian Anastasov <ja@ssi.bg> Acked-by Hans Schillstrom <hans@schillstrom.com> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/ipvs-sysctl.txt52
1 files changed, 51 insertions, 1 deletions
diff --git a/Documentation/networking/ipvs-sysctl.txt b/Documentation/networking/ipvs-sysctl.txt
index 4ccdbca03811..1dcdd49594c4 100644
--- a/Documentation/networking/ipvs-sysctl.txt
+++ b/Documentation/networking/ipvs-sysctl.txt
@@ -15,6 +15,23 @@ amemthresh - INTEGER
15 enabled and the variable is automatically set to 2, otherwise 15 enabled and the variable is automatically set to 2, otherwise
16 the strategy is disabled and the variable is set to 1. 16 the strategy is disabled and the variable is set to 1.
17 17
18conntrack - BOOLEAN
19 0 - disabled (default)
20 not 0 - enabled
21
22 If set, maintain connection tracking entries for
23 connections handled by IPVS.
24
25 This should be enabled if connections handled by IPVS are to be
26 also handled by stateful firewall rules. That is, iptables rules
27 that make use of connection tracking. It is a performance
28 optimisation to disable this setting otherwise.
29
30 Connections handled by the IPVS FTP application module
31 will have connection tracking entries regardless of this setting.
32
33 Only available when IPVS is compiled with the CONFIG_IP_VS_NFCT
34
18cache_bypass - BOOLEAN 35cache_bypass - BOOLEAN
19 0 - disabled (default) 36 0 - disabled (default)
20 not 0 - enabled 37 not 0 - enabled
@@ -39,7 +56,7 @@ debug_level - INTEGER
39 11 - IPVS packet handling (ip_vs_in/ip_vs_out) 56 11 - IPVS packet handling (ip_vs_in/ip_vs_out)
40 12 or more - packet traversal 57 12 or more - packet traversal
41 58
42 Only available when IPVS is compiled with the CONFIG_IPVS_DEBUG 59 Only available when IPVS is compiled with the CONFIG_IP_VS_DEBUG
43 60
44 Higher debugging levels include the messages for lower debugging 61 Higher debugging levels include the messages for lower debugging
45 levels, so setting debug level 2, includes level 0, 1 and 2 62 levels, so setting debug level 2, includes level 0, 1 and 2
@@ -141,3 +158,36 @@ sync_threshold - INTEGER
141 synchronized, every time the number of its incoming packets 158 synchronized, every time the number of its incoming packets
142 modulus 50 equals the threshold. The range of the threshold is 159 modulus 50 equals the threshold. The range of the threshold is
143 from 0 to 49. 160 from 0 to 49.
161
162snat_reroute - BOOLEAN
163 0 - disabled
164 not 0 - enabled (default)
165
166 If enabled, recalculate the route of SNATed packets from
167 realservers so that they are routed as if they originate from the
168 director. Otherwise they are routed as if they are forwarded by the
169 director.
170
171 If policy routing is in effect then it is possible that the route
172 of a packet originating from a director is routed differently to a
173 packet being forwarded by the director.
174
175 If policy routing is not in effect then the recalculated route will
176 always be the same as the original route so it is an optimisation
177 to disable snat_reroute and avoid the recalculation.
178
179sync_version - INTEGER
180 default 1
181
182 The version of the synchronisation protocol used when sending
183 synchronisation messages.
184
185 0 selects the original synchronisation protocol (version 0). This
186 should be used when sending synchronisation messages to a legacy
187 system that only understands the original synchronisation protocol.
188
189 1 selects the current synchronisation protocol (version 1). This
190 should be used where possible.
191
192 Kernels with this sync_version entry are able to receive messages
193 of both version 1 and version 2 of the synchronisation protocol.