summaryrefslogtreecommitdiffstats
path: root/net/netfilter/ipvs
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2012-07-07 20:32:12 +0300
committerSimon Horman <horms@verge.net.au>2012-08-10 10:34:51 +0900
commitaaea4ed74d71dda1cf2cc19c206552d537201452 (patch)
tree6c54b251f2bb6ca3b14b2d6a0cc086a98b51941d /net/netfilter/ipvs
parent173f8654746c138a08f51a8a0db7747763a896a2 (diff)
downloadlinux-aaea4ed74d71dda1cf2cc19c206552d537201452.tar.gz
linux-aaea4ed74d71dda1cf2cc19c206552d537201452.tar.bz2
linux-aaea4ed74d71dda1cf2cc19c206552d537201452.zip
ipvs: ip_vs_ftp depends on nf_conntrack_ftp helper
The FTP application indirectly depends on the nf_conntrack_ftp helper for proper NAT support. If the module is not loaded, IPVS can resize the packets for the command connection, eg. PASV response but the SEQ adjustment logic in ipv4_confirm is not called without helper. Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/netfilter/ipvs')
-rw-r--r--net/netfilter/ipvs/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/Kconfig b/net/netfilter/ipvs/Kconfig
index f9871385a65e..8b2cffdfdd99 100644
--- a/net/netfilter/ipvs/Kconfig
+++ b/net/netfilter/ipvs/Kconfig
@@ -250,7 +250,8 @@ comment 'IPVS application helper'
config IP_VS_FTP
tristate "FTP protocol helper"
- depends on IP_VS_PROTO_TCP && NF_CONNTRACK && NF_NAT
+ depends on IP_VS_PROTO_TCP && NF_CONNTRACK && NF_NAT && \
+ NF_CONNTRACK_FTP
select IP_VS_NFCT
---help---
FTP is a protocol that transfers IP address and/or port number in