lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <alpine.LFD.2.00.1207122238220.1831@ja.ssi.bg> Date: Thu, 12 Jul 2012 22:43:22 +0300 (EEST) From: Julian Anastasov <ja@....bg> To: Pablo Neira Ayuso <pablo@...filter.org> cc: Simon Horman <horms@...ge.net.au>, lvs-devel@...r.kernel.org, netdev@...r.kernel.org, netfilter-devel@...r.kernel.org, Wensong Zhang <wensong@...ux-vs.org>, Hans Schillstrom <hans.schillstrom@...csson.com>, Jesper Dangaard Brouer <brouer@...hat.com> Subject: Re: [PATCH 1/2] ipvs: ip_vs_ftp depends on nf_conntrack_ftp helper Hello, On Thu, 12 Jul 2012, Pablo Neira Ayuso wrote: > On Wed, Jul 11, 2012 at 09:25:26AM +0900, Simon Horman wrote: > > From: Julian Anastasov <ja@....bg> > > > > 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@....bg> > > Signed-off-by: Simon Horman <horms@...ge.net.au> > > --- > > net/netfilter/ipvs/Kconfig | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/net/netfilter/ipvs/Kconfig b/net/netfilter/ipvs/Kconfig > > index f987138..8b2cffd 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 > > If you require FTP NAT support, then this depends on NF_NAT_FTP > instead of NF_CONNTRACK_FTP. No, I just checked again, it works without nf_nat_ftp, only nf_nat, nf_conntrack_ftp and iptable_nat are needed. We use packet mangling part from nf_nat (nf_nat_mangle_tcp_packet). Regards -- Julian Anastasov <ja@....bg> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists